Alphabetical Index

_ A B C D E F G H I J K L M N O P R S T U V W X

_

_DEFAULT - static field in class bsh.ParserConstants

A

absoluteClassCache - field in class bsh.BshClassManager
Global cache for things we know are classes.
absoluteNonClasses - field in class bsh.BshClassManager
Global cache for things we know are *not* classes.
ABSTRACT - static field in class bsh.ParserConstants
actionPerformed(ActionEvent) - method in class bsh.util.JConsole
add(bsh.NameSource) - method in class bsh.util.NameCompletionTable
Add a NameSource which is monitored for names.
Add a NameCompletionTable, which is more optimized than the more general NameSource
add(String) - method in class bsh.classpath.BshClassPath.AmbiguousName
add(URL) - method in class bsh.classpath.BshClassPath
add(URL[]) - method in class bsh.classpath.BshClassPath
add_escapes(String) - method in class bsh.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addClassPath(URL) - method in class bsh.BshClassManager
addClassPath(URL) - method in class bsh.classpath.ClassManagerImpl
Add the specified BshClassPath as a component of our path.
addEscapes(String) - static method in class bsh.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
AdditiveExpression() - method in class bsh.Parser
addModifier(int,String) - method in class bsh.Modifiers
Implements NameSource Add a listener who is notified upon changes to names in this space.
Implements NameSource Add a listener who is notified upon changes to names in this space.
addURL(URL) - method in class bsh.classpath.BshClassLoader
Method to adjust line and column numbers for the start of a token.
AdjustBuffSize() - method in class bsh.JavaCharStream
AllocationExpression() - method in class bsh.Parser
AmbiguousName() - method in class bsh.Parser
ANDASSIGN - static field in class bsh.ParserConstants
ANDASSIGNX - static field in class bsh.ParserConstants
AndExpression() - method in class bsh.Parser
ArgumentList() - method in class bsh.Parser
Arguments() - method in class bsh.Parser
ArrayDimensions() - method in class bsh.Parser
ArrayInitializer() - method in class bsh.Parser
ASSIGN - static field in class bsh.ParserConstants
Assignment() - method in class bsh.Parser
AssignmentOperator() - method in class bsh.Parser
AWTConsole - class bsh.util.AWTConsole
An old AWT based console for BeanShell.
AWTConsole() - constructor for class bsh.util.AWTConsole
AWTConsole(InputStream,OutputStream) - constructor for class bsh.util.AWTConsole
AWTDemoApplet - class bsh.util.AWTDemoApplet
Run bsh as an applet for demo purposes.
A lightweight console applet for remote display of a Beanshell session.

B

backup(int) - method in class bsh.JavaCharStream
BANG - static field in class bsh.ParserConstants
An implementation that works with JDK 1.1
Construct a basic BasicBshIterator
beginColumn - field in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - field in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - method in class bsh.JavaCharStream
binaryOperation(Object,Object,int) - static method in class bsh.Primitive
Perform a binary operation on two Primitives or wrapper types.
Bind a This reference to a parent's namespace with the specified declaring interpreter.
BIT_AND - static field in class bsh.ParserConstants
BIT_ANDX - static field in class bsh.ParserConstants
BIT_OR - static field in class bsh.ParserConstants
BIT_ORX - static field in class bsh.ParserConstants
Block() - method in class bsh.Parser
The overridden read method in this class will not throw "Broken pipe" IOExceptions; It will simply wait for new writers and data.
BlockStatement() - method in class bsh.Parser
BOOL_AND - static field in class bsh.ParserConstants
BOOL_ANDX - static field in class bsh.ParserConstants
BOOL_OR - static field in class bsh.ParserConstants
BOOL_ORX - static field in class bsh.ParserConstants
BOOLEAN - static field in class bsh.ParserConstants
BooleanLiteral() - method in class bsh.Parser
booleanValue() - method in class bsh.Primitive
boxType(Class) - static method in class bsh.Primitive
Get the corresponding java.lang wrapper class for the primitive TYPE class.
BREAK - static field in class bsh.ParserConstants
BreakStatement() - method in class bsh.Parser
bsh - package
bsh.classpath - package
bsh.reflect - package
bsh.util - package
BshCanvas - class bsh.util.BshCanvas
Scriptable Canvas with buffered graphics.
BshCanvas() - constructor for class bsh.util.BshCanvas
BshCanvas(bsh.This) - constructor for class bsh.util.BshCanvas
BshClassLoader - class bsh.classpath.BshClassLoader
One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
BshClassLoader(bsh.BshClassManager) - constructor for class bsh.classpath.BshClassLoader
For use by children
BshClassLoader(bsh.BshClassManager,URL[]) - constructor for class bsh.classpath.BshClassLoader
BshClassManager manages all classloading in BeanShell.
BshClassPath - class bsh.classpath.BshClassPath
A BshClassPath encapsulates knowledge about a class path of URLs.
BshClassPath(String) - constructor for class bsh.classpath.BshClassPath
BshClassPath(String,URL[]) - constructor for class bsh.classpath.BshClassPath
BSHFormalComment(int) - constructor for class bsh.BSHFormalComment
BshIterator - interface bsh.BshIterator
An interface implemented by classes wrapping instances of iterators, enumerations, collections, etc.
BshMethod - class bsh.BshMethod
This represents an instance of a bsh method declaration in a particular namespace.
* This file is part of the BeanShell Java Scripting distribution.
bubbleSort(String[]) - static method in class bsh.StringUtil
bufcolumn - field in class bsh.JavaCharStream
buffer - field in class bsh.JavaCharStream
bufline - field in class bsh.JavaCharStream
bufpos - field in class bsh.JavaCharStream
BYTE - static field in class bsh.ParserConstants

C

Cache info about whether name is a class or not.
Cache a resolved (possibly overloaded) method based on the argument types used to invoke it, subject to classloader change.
CallStack - class bsh.CallStack
A stack of NameSpaces representing the call path.
CallStack() - constructor for class bsh.CallStack
CallStack(bsh.NameSpace) - constructor for class bsh.CallStack
canGenerateInterfaces() - static method in class bsh.Capabilities
canonicalizeClassName(String) - static method in class bsh.classpath.BshClassPath
Create a proper class name from a messy thing.
The map of extended features supported by the runtime in which we live.
CASE - static field in class bsh.ParserConstants
CastExpression() - method in class bsh.Parser
CastLookahead() - method in class bsh.Parser
castToType(Class,int) - method in class bsh.Primitive
Cast this bsh.Primitive value to a new bsh.Primitive value This is usually a numeric type cast.
CATCH - static field in class bsh.ParserConstants
CHAR - static field in class bsh.ParserConstants
CHARACTER_LITERAL - static field in class bsh.ParserConstants
CLASS - static field in class bsh.Modifiers
CLASS - static field in class bsh.ParserConstants
ClassBrowser - class bsh.util.ClassBrowser
A simple class browser for the BeanShell desktop.
ClassBrowser() - constructor for class bsh.util.ClassBrowser
ClassBrowser(bsh.BshClassManager) - constructor for class bsh.util.ClassBrowser
ClassDeclaration() - method in class bsh.Parser
classExists(String) - method in class bsh.BshClassManager
classExists(String) - static method in class bsh.Capabilities
Use direct Class.forName() to test for the existence of a class.
Load the specified class by name, taking into account added classpath and reloaded classes, etc.
classForName(String) - method in class bsh.classpath.ClassManagerImpl
ClassGeneratorUtil utilizes the ASM (www.objectweb.org) bytecode generator by Eric Bruneton in order to generate class "stubs" for BeanShell at runtime.
* This file is part of the BeanShell Java Scripting distribution.
ClassIdentifier(Class) - constructor for class bsh.ClassIdentifier
classLoaderChanged() - method in class bsh.classpath.ClassManagerImpl
Clear global class cache and notify namespaces to clear their class caches.
classLoaderChanged() - method in class bsh.NameSpace
Clear all cached classes and names
ClassManagerImpl - class bsh.classpath.ClassManagerImpl
Manage all classloading in BeanShell.
ClassManagerImpl() - constructor for class bsh.classpath.ClassManagerImpl
Used by BshClassManager singleton constructor
classMapping(String) - method in class bsh.classpath.BshClassPath.MappingFeedback
Provide feedback on the progress of mapping the classpath
classPathChanged() - method in class bsh.classpath.BshClassPath
classPathChanged() - method in class bsh.util.ClassBrowser
classPathChanged() - method in class bsh.classpath.ClassPathListener
* This file is part of the BeanShell Java Scripting distribution.
ClassPathListener - interface bsh.classpath.ClassPathListener
* This file is part of the BeanShell Java Scripting distribution.
clear() - method in class bsh.CallStack
clear() - method in class bsh.ExternalNameSpace
Clear all variables, methods, and imports from this namespace and clear all values from the external map (via Map clear()).
clear() - method in class bsh.NameSpace
Clear all variables, methods, and imports from this namespace.
clearCaches() - method in class bsh.BshClassManager
Clear the caches in BshClassManager
close() - method in class bsh.util.JConsole.BlockingPipedInputStream
cmUnavailable() - static method in class bsh.BshClassManager
The default CollectionManager (which remains Java 1.1 compatible) supports iteration over objects of type: Enumeration, Vector, String, StringBuffer and array.
COLON - static field in class bsh.ParserConstants
column - field in class bsh.JavaCharStream
COMMA - static field in class bsh.ParserConstants
completeName(String) - method in class bsh.util.NameCompletion
Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names.
completeName(String) - method in class bsh.util.NameCompletionTable
Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names.
ConditionalAndExpression() - method in class bsh.Parser
ConditionalExpression() - method in class bsh.Parser
ConditionalOrExpression() - method in class bsh.Parser
Console - class bsh.Console
Console startup class.
The capabilities of a minimal console for BeanShell.
CONST - static field in class bsh.ParserConstants
A ConstructorArgs object holds evaluated arguments for a constructor call as well as the index of a possible alternate selector to invoke.
CONTINUE - static field in class bsh.ParserConstants
ContinueStatement() - method in class bsh.Parser
copy() - method in class bsh.CallStack
Occasionally we need to freeze the callstack for error reporting purposes, etc.
Create a new instance of the class manager.
Create an enumeration over the given object
curChar - field in class bsh.ParserTokenManager
currentToken - field in class bsh.ParseException
This is the last token that has been consumed successfully.

D

DEBUG - static field in class bsh.Interpreter
debug(String) - static method in class bsh.Interpreter
Print a debug message on debug stream associated with this interpreter only if debugging is turned on.
debugStream - field in class bsh.ParserTokenManager
DECIMAL_LITERAL - static field in class bsh.ParserConstants
DECR - static field in class bsh.ParserConstants
DEFAULT - static field in class bsh.ClassGeneratorUtil.ConstructorArgs
A ConstructorArgs which calls the default constructor
DEFAULT - static field in class bsh.ParserConstants
defineClass(String,byte[]) - method in class bsh.classpath.ClassManagerImpl
Get the BeanShell classloader.
Flag the class name as being in the process of being defined.
definingClasses - field in class bsh.BshClassManager
* This file is part of the BeanShell Java Scripting distribution.
depth() - method in class bsh.CallStack
DIGIT - static field in class bsh.ParserConstants
disable_tracing() - method in class bsh.Parser
A classloader which can load one or more classes from specified sources.
DO - static field in class bsh.ParserConstants
Done() - method in class bsh.JavaCharStream
Indicate that the specified class name has been defined and may be loaded normally.
DoStatement() - method in class bsh.Parser
doSuperImport() - method in class bsh.BshClassManager
Support for "import *;" Hide details in here as opposed to NameSpace.
doSuperImport() - method in class bsh.classpath.ClassManagerImpl
Support for "import *;" Hide details in here as opposed to NameSpace.
doSuperImport() - method in class bsh.NameSpace
Perform "import *;" causing the entire classpath to be mapped.
DOT - static field in class bsh.ParserConstants
DOUBLE - static field in class bsh.ParserConstants
driveToClass(String) - method in class bsh.util.ClassBrowser
dump(PrintWriter) - method in class bsh.BshClassManager
dump(PrintWriter) - method in class bsh.classpath.ClassManagerImpl

E

ELSE - static field in class bsh.ParserConstants
EmptyStatement() - method in class bsh.Parser
enable_tracing() - method in class bsh.Parser
endClassMapping() - method in class bsh.classpath.BshClassPath.MappingFeedback
endColumn - field in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - field in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endSplashScreen() - static method in class bsh.util.Util
EnhancedForStatement() - method in class bsh.Parser
ENUM - static field in class bsh.ParserConstants
EOF - static field in class bsh.ParserConstants
eol - field in class bsh.ParseException
The end of line string for this machine.
EQ - static field in class bsh.ParserConstants
EqualityExpression() - method in class bsh.Parser
equals(Object) - method in class bsh.Primitive
Primitives compare equal with other Primitives containing an equal wrapped value.
error(Object) - method in class bsh.util.AWTConsole
error(Object) - method in class bsh.ConsoleInterface
error(Object) - method in class bsh.Interpreter
Print an error message in a standard format on the output stream associated with this interpreter.
error(Object) - method in class bsh.util.JConsole
This is the general signature for evaluation of a node.
eval(Reader) - method in class bsh.Interpreter
Evaluate the inputstream in this interpreter's global namespace.
Spawn a non-interactive local interpreter to evaluate text in the specified namespace.
eval(String) - method in class bsh.Interpreter
Evaluate the string in this interpreter's global namespace.
Evaluate the string in the specified namespace.
eval(String,String) - static method in class bsh.Remote
Evaluate text in the interpreter at url, returning a possible integer return value.
EvalError - class bsh.EvalError
EvalError indicates that we cannot continue evaluating the script or the script has thrown an exception.
evalOnly - field in class bsh.Interpreter
ExclusiveOrExpression() - method in class bsh.Parser
ExpandBuff(boolean) - method in class bsh.JavaCharStream
Each entry in this array is an array of integers.
EXPONENT - static field in class bsh.ParserConstants
Expression() - method in class bsh.Parser
EXTENDS - static field in class bsh.ParserConstants
An external classloader supplied by the setClassLoader() command.
A namespace which maintains an external map of values held in variables in its scope.
ExternalNameSpace() - constructor for class bsh.ExternalNameSpace

F

FALSE - static field in class bsh.ParserConstants
FIELD - static field in class bsh.Modifiers
FillBuff() - method in class bsh.JavaCharStream
FINAL - static field in class bsh.ParserConstants
FINALLY - static field in class bsh.ParserConstants
findClass(String) - method in class bsh.classpath.BshClassLoader
Find the correct source for the class...
findClass(String) - method in class bsh.classpath.DiscreteFilesClassLoader
FLOAT - static field in class bsh.ParserConstants
FLOATING_POINT_LITERAL - static field in class bsh.ParserConstants
FOR - static field in class bsh.ParserConstants
ForInit() - method in class bsh.Parser
FORMAL_COMMENT - static field in class bsh.ParserConstants
FormalComment() - method in class bsh.Parser
FormalParameter() - method in class bsh.Parser
FormalParameters() - method in class bsh.Parser
ForStatement() - method in class bsh.Parser
ForUpdate() - method in class bsh.Parser

G

GE - static field in class bsh.ParserConstants
generateClass() - method in class bsh.ClassGeneratorUtil
Generate the class bytecode for this class.
Parse the BSHBlock for the class definition and generate the class.
Parse the BSHBlock for for the class definition and generate the class using ClassGenerator.
Generates the code to reify the arguments of the given method.
generateParseException() - method in class bsh.Parser
Generates the code to unreify the result of the given method.
get() - method in class bsh.classpath.BshClassPath.AmbiguousName
get(int) - method in class bsh.CallStack
zero based.
get(String) - method in class bsh.Interpreter
Get the value of the name.
Resolve name to an object through this namespace.
getAllNames() - method in class bsh.classpath.BshClassPath
getAllNames() - method in class bsh.NameSource
getAllNames() - method in class bsh.NameSpace
Implements NameSource
getAllNamesAux(Vector) - method in class bsh.NameSpace
Helper for implementing NameSource
getBaseLoader() - method in class bsh.classpath.ClassManagerImpl
getBeginColumn() - method in class bsh.JavaCharStream
getBeginLine() - method in class bsh.JavaCharStream
getBootClassPath() - static method in class bsh.classpath.BshClassPath
Get the boot path including the lib/rt.jar if possible.
getBufferedGraphics() - method in class bsh.util.BshCanvas
Get a buffered (persistent) image for drawing on this component
getClass(String) - method in class bsh.NameSpace
Load a class through this namespace taking into account imports.
This method is a temporary workaround used with definingClass.
getClassesForPackage(String) - method in class bsh.classpath.BshClassPath
Return the set of class names in the specified package including all component paths.
getClassGenerator() - static method in class bsh.ClassGenerator
getClassManager() - method in class bsh.Interpreter
Get the class manager associated with this interpreter (the BshClassManager of this interpreter's global namespace).
getClassManager() - method in class bsh.NameSpace
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassNameByUnqName(String) - method in class bsh.classpath.BshClassPath
Support for super import "*"; Get the full name associated with the unqualified name in this classpath.
getClassNameByUnqName(String) - method in class bsh.classpath.ClassManagerImpl
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassPath() - method in class bsh.classpath.ClassManagerImpl
Get the full blown classpath.
getClassSource(String) - method in class bsh.classpath.BshClassPath
Return the source of the specified class which may lie in component path.
getCode(String) - method in class bsh.classpath.BshClassPath.DirClassSource
getCode(String) - method in class bsh.classpath.BshClassPath.GeneratedClassSource
getCode(String) - method in class bsh.classpath.BshClassPath.JarClassSource
getCollectionManager() - static method in class bsh.CollectionManager
getColumn() - method in class bsh.JavaCharStream
A command is a scripted method or compiled command class implementing a specified method signature.
Evaluate the arguments (if any) for the constructor specified by the constructor index.
getDeclaredVariables() - method in class bsh.NameSpace
getDefaultValue(Class) - static method in class bsh.Primitive
Get the appropriate default value per JLS 4.5.4
getDir() - method in class bsh.classpath.BshClassPath.DirClassSource
getEndColumn() - method in class bsh.JavaCharStream
getEndLine() - method in class bsh.JavaCharStream
getErr() - method in class bsh.util.AWTConsole
getErr() - method in class bsh.ConsoleInterface
getErr() - method in class bsh.Interpreter
Get the error output stream associated with this interpreter.
getErr() - method in class bsh.util.JConsole
getErrorLineNumber() - method in class bsh.EvalError
getErrorLineNumber() - method in class bsh.ParseException
getErrorSourceFile() - method in class bsh.EvalError
getErrorSourceFile() - method in class bsh.ParseException
getErrorText() - method in class bsh.EvalError
getErrorText() - method in class bsh.ParseException
getFullPath() - method in class bsh.classpath.BshClassPath
Get the full path including component paths.
Get the top level namespace or this namespace if we are the top.
GetImage() - method in class bsh.JavaCharStream
getImportedVar(String) - method in class bsh.NameSpace
getIn() - method in class bsh.util.AWTConsole
getIn() - method in class bsh.ConsoleInterface
getIn() - method in class bsh.Interpreter
Get the input stream associated with this interpreter.
getIn() - method in class bsh.util.JConsole
getInputStream() - method in class bsh.util.JConsole
getInterface(Class) - method in class bsh.Interpreter
Get a reference to the interpreter (global namespace), cast to the specified interface type.
getInterface(Class) - method in class bsh.This
Get a version of this scripted object implementing the specified interface.
getInterface(Class) - method in class bsh.XThis
Get dynamic proxy for interface, caching those it creates.
getInterface(Class[]) - method in class bsh.This
Get a version of this scripted object implementing the specified interfaces.
getInterface(Class[]) - method in class bsh.XThis
Get dynamic proxy for interface, caching those it creates.
getInvocationLine() - method in class bsh.NameSpace
getInvocationText() - method in class bsh.NameSpace
getLine() - method in class bsh.JavaCharStream
getMap() - method in class bsh.ExternalNameSpace
Get the map view of this namespace.
Add any matching names to list (including any from other tables)
getMessage() - method in class bsh.EvalError
getMessage() - method in class bsh.ParseException
getMessage() - method in class bsh.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage(boolean) - method in class bsh.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMethod(String,Class[]) - method in class bsh.NameSpace
Get the bsh method matching the specified signature declared in this name space or a parent.
getMethodNames() - method in class bsh.NameSpace
Get the names of methods declared in this namespace.
getMethods() - method in class bsh.NameSpace
Get the methods defined in this namespace.
getModifiers() - method in class bsh.BshMethod
getModifiers() - method in class bsh.Variable
getName() - method in class bsh.BshMethod
getName() - method in class bsh.NameSpace
The name of this namespace.
getName() - method in class bsh.Variable
getNameSpace() - method in class bsh.Interpreter
Get the global namespace of this interpreter.
getNameSpace() - method in class bsh.This
getNextToken() - method in class bsh.Parser
getNextToken() - method in class bsh.ParserTokenManager
getOut() - method in class bsh.util.AWTConsole
getOut() - method in class bsh.ConsoleInterface
getOut() - method in class bsh.Interpreter
Get the outptut stream associated with this interpreter.
getOut() - method in class bsh.util.JConsole
getPackagesSet() - method in class bsh.classpath.BshClassPath
Get a list of all of the known packages
getParameterNames() - method in class bsh.BshMethod
getParameterTypes() - method in class bsh.BshMethod
Get the argument types of this method.
Get the argument types of this method.
getParent() - method in class bsh.Interpreter
Get the parent Interpreter of this interpreter, if any.
getParent() - method in class bsh.NameSpace
Get the parent namespace.
getPathComponents() - method in class bsh.classpath.BshClassPath
Get the path components including any component paths.
getReflectManager() - static method in class bsh.ReflectManager
Return the singleton bsh ReflectManager.
Return a previously cached resolved method.
getResource(String) - method in class bsh.BshClassManager
Get a resource URL using the BeanShell classpath
getResource(String) - method in class bsh.classpath.ClassManagerImpl
Get a resource URL using the BeanShell classpath
Get a resource stream using the BeanShell classpath
getResourceAsStream(String) - method in class bsh.classpath.ClassManagerImpl
Get a resource stream using the BeanShell classpath
getReturnType() - method in class bsh.BshMethod
Get the return type of the method.
Get the return type of the method.
getScriptStackTrace() - method in class bsh.EvalError
getShowResults() - method in class bsh.Interpreter
Show on/off verbose printing status for the show() command.
getSourceFileInfo() - method in class bsh.Interpreter
Specify the source of the text from which this interpreter is reading.
getStrictJava() - method in class bsh.Interpreter
GetSuffix(int) - method in class bsh.JavaCharStream
getSuper(bsh.Interpreter) - method in class bsh.NameSpace
Get the parent namespace' This reference or this namespace' This reference if we are the top.
getTarget() - method in class bsh.TargetError
getTargetClass() - method in class bsh.ClassIdentifier
getToken(int) - method in class bsh.Parser
getType() - method in class bsh.Primitive
Get the corresponding Java primitive TYPE class for this Primitive.
getType() - method in class bsh.Variable
A type of null means loosely typed variable
getTypeDescriptor() - method in class bsh.Variable
getURL() - method in class bsh.classpath.BshClassPath.JarClassSource
getUserClassPath() - static method in class bsh.classpath.BshClassPath
A BshClassPath initialized to the user path from java.class.path
getUserClassPathComponents() - static method in class bsh.classpath.BshClassPath
getValue() - method in class bsh.Primitive
Return the primitive value stored in its java.lang wrapper class
getVariable(String) - method in class bsh.NameSpace
Get the specified variable in this namespace or a parent namespace.
Get the specified variable in this namespace.
Locate a variable and return the Variable object with optional recursion through parent name spaces.
getVariableNames() - method in class bsh.NameSpace
Get the names of variables defined in this namespace.
GEX - static field in class bsh.ParserConstants
GOTO - static field in class bsh.ParserConstants
GT - static field in class bsh.ParserConstants
GTX - static field in class bsh.ParserConstants
Additional capabilities of an interactive console for BeanShell.

H

HASH_BANG_COMMENT - static field in class bsh.ParserConstants
hashCode() - method in class bsh.Primitive
The hash of the Primitive is tied to the hash of the wrapped value but shifted so that they are not the same.
hasModifier(String) - method in class bsh.BshMethod
hasModifier(String) - method in class bsh.Modifiers
hasModifier(String) - method in class bsh.Variable
hasNext() - method in class bsh.BshIterator
Returns true if and only if there are more objects available via the next() method
Returns true if and only if there are more objects available via the next() method
hasSuperImport() - method in class bsh.BshClassManager
A "super import" ("import *") operation has been performed.
hasSuperImport() - method in class bsh.classpath.ClassManagerImpl
A "super import" ("import *") operation has been performed.
haveAccessibility() - static method in class bsh.Capabilities
If accessibility is enabled determine if the accessibility mechanism exists and if we have the optional bsh package to use it.
haveSwing() - static method in class bsh.Capabilities
HEX_LITERAL - static field in class bsh.ParserConstants
HOOK - static field in class bsh.ParserConstants
Httpd - class bsh.util.Httpd
A very simple httpd that supports the remote server mode.
Httpd(int) - constructor for class bsh.util.Httpd

I

IDENTIFIER - static field in class bsh.ParserConstants
This is a helper method for working inside of bsh scripts and commands.
IF - static field in class bsh.ParserConstants
IfStatement() - method in class bsh.Parser
image - field in class bsh.Token
The string image of the token.
IMPLEMENTS - static field in class bsh.ParserConstants
IMPORT - static field in class bsh.ParserConstants
importClass(String) - method in class bsh.NameSpace
Import a class name.
importCommands(String) - method in class bsh.NameSpace
Import scripted or compiled BeanShell commands in the following package in the classpath.
ImportDeclaration() - method in class bsh.Parser
importedClasses - field in class bsh.NameSpace
importObject(Object) - method in class bsh.NameSpace
Import a compiled Java object's methods and variables into this namespace.
importPackage(String) - method in class bsh.NameSpace
subsequent imports override earlier ones
importStatic(Class) - method in class bsh.NameSpace
inBuf - field in class bsh.JavaCharStream
InclusiveOrExpression() - method in class bsh.Parser
INCR - static field in class bsh.ParserConstants
init() - method in class bsh.util.AWTDemoApplet
init() - method in class bsh.util.AWTRemoteApplet
init() - method in class bsh.util.ClassBrowser
init() - method in class bsh.util.JDemoApplet
init() - method in class bsh.util.JRemoteApplet
Initialize an instance of the class.
inNativeCode() - method in class bsh.TargetError
Return true if the TargetError was generated from native code.
input_stream - field in class bsh.ParserTokenManager
inputStream - field in class bsh.JavaCharStream
INSTANCEOF - static field in class bsh.ParserConstants
InstanceOfExpression() - method in class bsh.Parser
insureInitialized() - method in class bsh.classpath.BshClassPath
If the claspath map is not initialized, do it now.
insureInitialized(boolean) - method in class bsh.classpath.BshClassPath
INT - static field in class bsh.ParserConstants
INTEGER_LITERAL - static field in class bsh.ParserConstants
interactive - field in class bsh.Interpreter
INTERFACE - static field in class bsh.ParserConstants
The BeanShell script interpreter.
Interpreter() - constructor for class bsh.Interpreter
Create an interpreter for evaluation only.
Construct a new interactive interpreter attached to the specified console.
Construct a new interactive interpreter attached to the specified console using the specified parent namespace.
The main constructor.
An internal error in the interpreter has occurred.
InterpreterError(String) - constructor for class bsh.InterpreterError
intValue() - method in class bsh.Primitive
Invoke the declared method with the specified arguments and interpreter reference.
Invoke the bsh method with the specified args, interpreter ref, and callstack.
invokeMain(Class,String[]) - static method in class bsh.Interpreter
invokeMethod(String,Object[]) - method in class bsh.This
Invoke specified method as from outside java code, using the declaring interpreter and current namespace.
Invoke a method in this namespace with the specified args and interpreter reference.
This method simply delegates to This.invokeMethod();

Invoke a method in this namespace with the specified args, interpreter reference, callstack, and caller info.
Invoke a super.method() style superclass method on an object instance.
isArchiveFileName(String) - static method in class bsh.classpath.BshClassPath
isClassFileName(String) - static method in class bsh.classpath.BshClassPath
isMap(Object) - method in class bsh.CollectionManager
isNumber() - method in class bsh.Primitive
Determine if this primitive is a numeric type.
isWrapperType(Class) - static method in class bsh.Primitive

J

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JAVACODE - static field in class bsh.NameSpace
JConsole - class bsh.util.JConsole
A JFC/Swing based console for the BeanShell desktop.
JConsole() - constructor for class bsh.util.JConsole
JConsole(InputStream,OutputStream) - constructor for class bsh.util.JConsole
JDemoApplet - class bsh.util.JDemoApplet
Run bsh as an applet for demo purposes.
jj_nt - field in class bsh.Parser
jjFillToken() - method in class bsh.ParserTokenManager
jjstrLiteralImages - static field in class bsh.ParserTokenManager
JJTALLOCATIONEXPRESSION - static field in class bsh.ParserTreeConstants
JJTAMBIGUOUSNAME - static field in class bsh.ParserTreeConstants
JJTARGUMENTS - static field in class bsh.ParserTreeConstants
JJTARRAYDIMENSIONS - static field in class bsh.ParserTreeConstants
JJTARRAYINITIALIZER - static field in class bsh.ParserTreeConstants
JJTASSIGNMENT - static field in class bsh.ParserTreeConstants
JJTBINARYEXPRESSION - static field in class bsh.ParserTreeConstants
JJTBLOCK - static field in class bsh.ParserTreeConstants
JJTCASTEXPRESSION - static field in class bsh.ParserTreeConstants
JJTCLASSDECLARATION - static field in class bsh.ParserTreeConstants
JJTENHANCEDFORSTATEMENT - static field in class bsh.ParserTreeConstants
JJTFORMALCOMMENT - static field in class bsh.ParserTreeConstants
JJTFORMALPARAMETER - static field in class bsh.ParserTreeConstants
JJTFORMALPARAMETERS - static field in class bsh.ParserTreeConstants
JJTFORSTATEMENT - static field in class bsh.ParserTreeConstants
JJTIFSTATEMENT - static field in class bsh.ParserTreeConstants
JJTIMPORTDECLARATION - static field in class bsh.ParserTreeConstants
JJTLITERAL - static field in class bsh.ParserTreeConstants
JJTMETHODDECLARATION - static field in class bsh.ParserTreeConstants
JJTMETHODINVOCATION - static field in class bsh.ParserTreeConstants
jjtNodeName - static field in class bsh.ParserTreeConstants
JJTPACKAGEDECLARATION - static field in class bsh.ParserTreeConstants
JJTPRIMARYEXPRESSION - static field in class bsh.ParserTreeConstants
JJTPRIMARYSUFFIX - static field in class bsh.ParserTreeConstants
JJTPRIMITIVETYPE - static field in class bsh.ParserTreeConstants
jjtree - field in class bsh.Parser
JJTRETURNSTATEMENT - static field in class bsh.ParserTreeConstants
JJTRETURNTYPE - static field in class bsh.ParserTreeConstants
JJTSWITCHLABEL - static field in class bsh.ParserTreeConstants
JJTSWITCHSTATEMENT - static field in class bsh.ParserTreeConstants
JJTTERNARYEXPRESSION - static field in class bsh.ParserTreeConstants
JJTTHROWSTATEMENT - static field in class bsh.ParserTreeConstants
JJTTRYSTATEMENT - static field in class bsh.ParserTreeConstants
JJTTYPE - static field in class bsh.ParserTreeConstants
JJTUNARYEXPRESSION - static field in class bsh.ParserTreeConstants
JJTVARIABLEDECLARATOR - static field in class bsh.ParserTreeConstants
JJTVOID - static field in class bsh.ParserTreeConstants
JJTWHILESTATEMENT - static field in class bsh.ParserTreeConstants
JRemoteApplet - class bsh.util.JRemoteApplet
A lightweight console applet for remote display of a Beanshell session.

K

keyPressed(KeyEvent) - method in class bsh.util.AWTConsole
keyPressed(KeyEvent) - method in class bsh.util.JConsole
keyReleased(KeyEvent) - method in class bsh.util.AWTConsole
keyReleased(KeyEvent) - method in class bsh.util.JConsole
keyTyped(KeyEvent) - method in class bsh.util.AWTConsole
keyTyped(KeyEvent) - method in class bsh.util.JConsole
kind - field in class bsh.Token
An integer that describes the kind of this token.

L

LabeledStatement() - method in class bsh.Parser
LBRACE - static field in class bsh.ParserConstants
LBRACKET - static field in class bsh.ParserConstants
LE - static field in class bsh.ParserConstants
LETTER - static field in class bsh.ParserConstants
LEX - static field in class bsh.ParserConstants
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - static field in class bsh.ParserTokenManager
line - field in class bsh.JavaCharStream
Line() - method in class bsh.Parser
Literal() - method in class bsh.Parser
loadClass(String,boolean) - method in class bsh.classpath.BshClassLoader
This modification allows us to reload classes which are in the Java VM user classpath.
loadDefaultImports() - method in class bsh.NameSpace
Import standard packages.
LOCALSCOPING - static field in class bsh.Interpreter
LONG - static field in class bsh.ParserConstants
lookingAhead - field in class bsh.Parser
LPAREN - static field in class bsh.ParserConstants
LSHIFT - static field in class bsh.ParserConstants
LSHIFTASSIGN - static field in class bsh.ParserConstants
LSHIFTASSIGNX - static field in class bsh.ParserConstants
LSHIFTX - static field in class bsh.ParserConstants
LT - static field in class bsh.ParserConstants
LTX - static field in class bsh.ParserConstants

M

main(args[]) - static method in class bsh.util.AWTConsole
main(args[]) - static method in class bsh.Console
main(args[]) - static method in class bsh.Remote
main(argv[]) - static method in class bsh.util.Httpd
main(String[]) - static method in class bsh.classpath.BshClassPath
main(String[]) - static method in class bsh.util.ClassBrowser
main(String[]) - static method in class bsh.Interpreter
Run the text only interpreter on the command line or specify a file.
main(String[]) - static method in class bsh.Parser
maxCommonPrefix(String,String) - static method in class bsh.StringUtil
maxNextCharInd - field in class bsh.JavaCharStream
METHOD - static field in class bsh.Modifiers
MethodDeclaration() - method in class bsh.Parser
MethodInvocation() - method in class bsh.Parser
methodString(String,Class[]) - static method in class bsh.StringUtil
MINUS - static field in class bsh.ParserConstants
MINUSASSIGN - static field in class bsh.ParserConstants
MOD - static field in class bsh.ParserConstants
MODASSIGN - static field in class bsh.ParserConstants
Modifiers - class bsh.Modifiers
Modifiers(int,boolean) - method in class bsh.Parser
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
mouseClicked(MouseEvent) - method in class bsh.util.JConsole
mouseEntered(MouseEvent) - method in class bsh.util.JConsole
mouseExited(MouseEvent) - method in class bsh.util.JConsole
mousePressed(MouseEvent) - method in class bsh.util.JConsole
mouseReleased(MouseEvent) - method in class bsh.util.JConsole
MULTI_LINE_COMMENT - static field in class bsh.ParserConstants
MultiplicativeExpression() - method in class bsh.Parser

N

NameCompletion - interface bsh.util.NameCompletion
The interface for name completion.
NameCompletionTable is a utility that implements simple name completion for a collection of names, NameSources, and other NameCompletionTables.
NameCompletionTable() - constructor for class bsh.util.NameCompletionTable
NameList() - method in class bsh.Parser
NameSource - interface bsh.NameSource
This interface supports name completion, which is used primarily for command line tools, etc.
NameSpace - class bsh.NameSpace
A namespace in which methods, variables, and imports (class names) live.
NameSpace(bsh.NameSpace,String) - constructor for class bsh.NameSpace
nameSpaceChanged() - method in class bsh.NameSpace
Clear all cached classes and names
NATIVE - static field in class bsh.ParserConstants
NE - static field in class bsh.ParserConstants
NEW - static field in class bsh.ParserConstants
newToken(int) - static method in class bsh.Token
Returns a new Token object, by default.
next - field in class bsh.Token
A reference to the next regular (non-special) token from the input stream.
next() - method in class bsh.BshIterator
Fetch the next object in the iteration
Fetch the next object in the iteration
nextCharBuf - field in class bsh.JavaCharStream
nextCharInd - field in class bsh.JavaCharStream
noClassDefFound(String,Error) - static method in class bsh.BshClassManager
Annotate the NoClassDefFoundError with some info about the class we were trying to load.
NONPRINTABLE - static field in class bsh.ParserConstants
normalizeClassName(Class) - static method in class bsh.StringUtil
Hack - The real method is in Reflect.java which is not public.
NULL - static field in class bsh.ParserConstants
NULL - static field in class bsh.Primitive
NullLiteral() - method in class bsh.Parser
numberValue() - method in class bsh.Primitive

O

OCTAL_LITERAL - static field in class bsh.ParserConstants
ORASSIGN - static field in class bsh.ParserConstants
ORASSIGNX - static field in class bsh.ParserConstants

P

PACKAGE - static field in class bsh.ParserConstants
PackageDeclaration() - method in class bsh.Parser
paintComponent(Graphics) - method in class bsh.util.BshCanvas
This exception is thrown when parse errors are encountered.
ParseException() - constructor for class bsh.ParseException
The following constructors are for use by you for whatever purpose you can think of.
This constructor is used by the method "generateParseException" in the generated parser.
ParseException(String) - constructor for class bsh.ParseException
Parser - class bsh.Parser
This is the BeanShell parser.
Parser(bsh.ParserTokenManager) - constructor for class bsh.Parser
Parser(java.io.InputStream) - constructor for class bsh.Parser
Parser(java.io.Reader) - constructor for class bsh.Parser
pathToFile(String) - method in class bsh.Interpreter
Localize a path to the file name based on the bsh.cwd interpreter working directory.
Perform a plain Class.forName() or call the externally provided classloader.
PLUS - static field in class bsh.ParserConstants
PLUSASSIGN - static field in class bsh.ParserConstants
pop() - method in class bsh.CallStack
popNode() - method in class bsh.Parser
PostfixExpression() - method in class bsh.Parser
PreDecrementExpression() - method in class bsh.Parser
PreIncrementExpression() - method in class bsh.Parser
prependMessage(String) - method in class bsh.EvalError
Prepend the message if it is non-null.
prevCharIsCR - field in class bsh.JavaCharStream
prevCharIsLF - field in class bsh.JavaCharStream
PrimaryExpression() - method in class bsh.Parser
PrimaryPrefix() - method in class bsh.Parser
PrimarySuffix() - method in class bsh.Parser
Primitive - class bsh.Primitive
Wrapper for primitive types in Bsh.
Primitive(boolean) - constructor for class bsh.Primitive
Primitive(byte) - constructor for class bsh.Primitive
Primitive(char) - constructor for class bsh.Primitive
Primitive(double) - constructor for class bsh.Primitive
Primitive(float) - constructor for class bsh.Primitive
Primitive(int) - constructor for class bsh.Primitive
Primitive(long) - constructor for class bsh.Primitive
Primitive(Object) - constructor for class bsh.Primitive
Primitive(short) - constructor for class bsh.Primitive
PrimitiveType() - method in class bsh.Parser
print(Icon) - method in class bsh.util.JConsole
print(Object) - method in class bsh.util.AWTConsole
print(Object) - method in class bsh.ConsoleInterface
print(Object) - method in class bsh.Interpreter
print(Object) - method in class bsh.util.JConsole
print(Object,Color) - method in class bsh.util.AWTConsole
print(Object,Color) - method in class bsh.util.GUIConsoleInterface
print(Object,Color) - method in class bsh.util.JConsole
print(Object,Font) - method in class bsh.util.JConsole
print(Object,Font,Color) - method in class bsh.util.JConsole
print(Object,String,int,Color) - method in class bsh.util.JConsole
println() - method in class bsh.util.JConsole
Prints "\\n" (i.e.
println(Icon) - method in class bsh.util.JConsole
println(Object) - method in class bsh.util.AWTConsole
println(Object) - method in class bsh.ConsoleInterface
println(Object) - method in class bsh.Interpreter
println(Object) - method in class bsh.util.JConsole
printStackTrace() - method in class bsh.TargetError
Generate a printable string showing the wrapped target exception.
PRIVATE - static field in class bsh.ParserConstants
PROTECTED - static field in class bsh.ParserConstants
prune() - method in class bsh.NameSpace
Used for serialization
PUBLIC - static field in class bsh.ParserConstants
push(bsh.NameSpace) - method in class bsh.CallStack
Place an unwrapped value in the external map.

R

RBRACE - static field in class bsh.ParserConstants
RBRACKET - static field in class bsh.ParserConstants
read() - method in class bsh.util.JConsole.BlockingPipedInputStream
ReadByte() - method in class bsh.JavaCharStream
readBytesFromFile(File,String) - static method in class bsh.classpath.BshClassPath.DirClassSource
readChar() - method in class bsh.JavaCharStream
redirectOutputToFile(String) - static method in class bsh.Interpreter
ReflectManager is a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
This is the implementation of: ReflectManager - a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
ReInit(java.io.InputStream) - method in class bsh.Parser
ReInit(java.io.Reader) - method in class bsh.Parser
RelationalExpression() - method in class bsh.Parser
reloadAllClasses() - method in class bsh.BshClassManager
Overlay the entire path with a new class loader.
reloadAllClasses() - method in class bsh.classpath.ClassManagerImpl
Overlay the entire path with a new class loader.
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
reloadClasses(String[]) - method in class bsh.classpath.ClassManagerImpl
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
Reload all classes in the specified package: e.g.
reloadPackage(String) - method in class bsh.classpath.ClassManagerImpl
Reload all classes in the specified package: e.g.
Remote - class bsh.Remote
Remote executor class.
removeInnerClassNames(Collection) - static method in class bsh.classpath.BshClassPath
Return a new collection without any inner class names
requestFocus() - method in class bsh.util.JConsole
reset() - method in class bsh.BshClassManager
Clear all loaders and start over.
reset() - method in class bsh.classpath.ClassManagerImpl
Clear all classloading behavior and class caches and reset to initial state.
Caches for resolved object and static methods.
reThrow(String) - method in class bsh.EvalError
Re-throw the error, prepending the specified message.
RETURN - static field in class bsh.ParserConstants
ReturnStatement() - method in class bsh.Parser
ReturnType() - method in class bsh.Parser
RMSetAccessible(Object) - static method in class bsh.ReflectManager
Reflect Manager Set Accessible.
RPAREN - static field in class bsh.ParserConstants
RSIGNEDSHIFT - static field in class bsh.ParserConstants
RSIGNEDSHIFTASSIGN - static field in class bsh.ParserConstants
RSIGNEDSHIFTASSIGNX - static field in class bsh.ParserConstants
RSIGNEDSHIFTX - static field in class bsh.ParserConstants
run() - method in class bsh.util.AWTConsole
run() - method in class bsh.util.Httpd
run() - method in class bsh.Interpreter
Run interactively.
run() - method in class bsh.util.JConsole
run() - method in class bsh.util.Sessiond
run() - method in class bsh.This
RUNSIGNEDSHIFT - static field in class bsh.ParserConstants
RUNSIGNEDSHIFTASSIGN - static field in class bsh.ParserConstants
RUNSIGNEDSHIFTASSIGNX - static field in class bsh.ParserConstants
RUNSIGNEDSHIFTX - static field in class bsh.ParserConstants

S

SEMICOLON - static field in class bsh.ParserConstants
Sessiond - class bsh.util.Sessiond
BeanShell remote session server.
Sessiond(bsh.NameSpace,int) - constructor for class bsh.util.Sessiond
set(int,bsh.NameSpace) - method in class bsh.CallStack
This is kind of crazy, but used by the setNameSpace command.
set(String,boolean) - method in class bsh.Interpreter
set(String,double) - method in class bsh.Interpreter
set(String,float) - method in class bsh.Interpreter
set(String,int) - method in class bsh.Interpreter
set(String,long) - method in class bsh.Interpreter
set(String,Object) - method in class bsh.Interpreter
Assign the value to the name.
setAccessibility(boolean) - static method in class bsh.Capabilities
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setAccessible(Object) - method in class bsh.reflect.ReflectManagerImpl
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setBounds(int,int,int,int) - method in class bsh.util.BshCanvas
setCaretPosition(int) - method in class bsh.util.AWTConsole
Set an external class loader.
Set an external class loader to be used as the base classloader for BeanShell.
setClassPath(URL[]) - method in class bsh.BshClassManager
Set a new base classpath and create a new base classloader.
setClassPath(URL[]) - method in class bsh.classpath.ClassManagerImpl
Set a new base classpath and create a new base classloader.
Explicitly set a class source.
Attach a console Note: this method is incomplete.
setErr(PrintStream) - method in class bsh.Interpreter
Used to add source file info to exception
setExitOnEOF(boolean) - method in class bsh.Interpreter
Specify whether, in interactive mode, the interpreter exits Java upon end of input.
setFont(Font) - method in class bsh.util.JConsole
setFrame(JFrame) - method in class bsh.util.ClassBrowser
setFrame(JInternalFrame) - method in class bsh.util.ClassBrowser
Change the parent of the class instance namespace.
Change the parent of the class instance namespace.
setMap(Map) - method in class bsh.ExternalNameSpace
Set the external Map which to which this namespace synchronizes.
setMessage(String) - method in class bsh.EvalError
Note: this is primarily for internal use.
setName(String) - method in class bsh.NameSpace
Set the global namespace for this interpreter.
setOut(PrintStream) - method in class bsh.Interpreter
setParent(bsh.NameSpace) - method in class bsh.NameSpace
setPath(URL[]) - method in class bsh.classpath.BshClassPath
setRetainComments(boolean) - method in class bsh.Parser
setShowResults(boolean) - method in class bsh.Interpreter
Turn on/off the verbose printing of results as for the show() command.
setStrictJava(boolean) - method in class bsh.Interpreter
Set strict Java mode on or off.
Declare a variable in the local scope and set its initial value.
setValue(Object,int) - method in class bsh.Variable
Set the value of the typed variable.
Set the variable through this namespace.
e.g.
setWaitFeedback(boolean) - method in class bsh.util.JConsole
e.g.
ShiftExpression() - method in class bsh.Parser
SHORT - static field in class bsh.ParserConstants
SINGLE_LINE_COMMENT - static field in class bsh.ParserConstants
SLASH - static field in class bsh.ParserConstants
SLASHASSIGN - static field in class bsh.ParserConstants
source(String) - method in class bsh.Interpreter
Read text from fileName and eval it.
Read text from fileName and eval it.
specialConstructor - field in class bsh.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - field in class bsh.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
split(String,String) - static method in class bsh.StringUtil
splitClassname(String) - static method in class bsh.classpath.BshClassPath
Split class name into package and name
STAR - static field in class bsh.ParserConstants
STARASSIGN - static field in class bsh.ParserConstants
startClassMapping() - method in class bsh.classpath.BshClassPath.MappingFeedback
startSplashScreen() - static method in class bsh.util.Util
Statement() - method in class bsh.Parser
StatementExpression() - method in class bsh.Parser
StatementExpressionList() - method in class bsh.Parser
STATIC - static field in class bsh.ParserConstants
staticFlag - static field in class bsh.JavaCharStream
STRICTFP - static field in class bsh.ParserConstants
STRING_LITERAL - static field in class bsh.ParserConstants
* This file is part of the BeanShell Java Scripting distribution.
swap(bsh.NameSpace) - method in class bsh.CallStack
Swap in the value as the new top of the stack and return the old value.
SWITCH - static field in class bsh.ParserConstants
SwitchLabel() - method in class bsh.Parser
SwitchStatement() - method in class bsh.Parser
SwitchTo(int) - method in class bsh.ParserTokenManager
SYNCHRONIZED - static field in class bsh.ParserConstants
SynchronizedStatement() - method in class bsh.Parser

T

t - field in class bsh.UtilTargetError
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script).
text - field in class bsh.BSHFormalComment
This - class bsh.This
'This' is the type of bsh scripted objects.
This(bsh.NameSpace,bsh.Interpreter) - constructor for class bsh.This
THROW - static field in class bsh.ParserConstants
THROWS - static field in class bsh.ParserConstants
ThrowStatement() - method in class bsh.Parser
TILDE - static field in class bsh.ParserConstants
toArray() - method in class bsh.CallStack
Re-throw as an eval error, prefixing msg to the message and specifying the node.
Override toEvalError to throw TargetError type.
toFront() - method in class bsh.util.ClassBrowser
Token - class bsh.Token
Describes the input token stream.
token - field in class bsh.Parser
token_source - field in class bsh.Parser
tokenImage - field in class bsh.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - static field in class bsh.ParserConstants
TokenMgrError() - constructor for class bsh.TokenMgrError
TokenMgrError(String,int) - constructor for class bsh.TokenMgrError
top() - method in class bsh.CallStack
toString() - method in class bsh.util.AWTConsole
toString() - method in class bsh.classpath.BshClassPath
toString() - method in class bsh.classpath.BshClassPath.DirClassSource
toString() - method in class bsh.classpath.BshClassPath.JarClassSource
toString() - method in class bsh.BshMethod
toString() - method in class bsh.CallStack
toString() - method in class bsh.ClassIdentifier
toString() - method in class bsh.classpath.DiscreteFilesClassLoader
toString() - method in class bsh.EvalError
Print the error with line number and stack trace.
toString() - method in class bsh.util.JConsole
toString() - method in class bsh.Modifiers
toString() - method in class bsh.NameSpace
toString() - method in class bsh.ParseException
toString() - method in class bsh.Primitive
toString() - method in class bsh.TargetError
toString() - method in class bsh.This
toString() - method in class bsh.Token
Returns the image.
toString() - method in class bsh.Variable
toString() - method in class bsh.XThis
TRACE - static field in class bsh.Interpreter
TRANSIENT - static field in class bsh.ParserConstants
TRUE - static field in class bsh.ParserConstants
TRY - static field in class bsh.ParserConstants
TryStatement() - method in class bsh.Parser
Type() - method in class bsh.Parser
type(int,char,int) - method in class bsh.util.AWTConsole
TypedVariableDeclaration() - method in class bsh.Parser
Declared a typed variable.

U

UnaryExpression() - method in class bsh.Parser
unaryOperation(bsh.Primitive,int) - static method in class bsh.Primitive
An attempt was made to use an unavailable capability supported by an optional package.
Unavailable(String) - constructor for class bsh.Capabilities.Unavailable
unboxType(Class) - static method in class bsh.Primitive
Get the corresponding primitive TYPE class for the java.lang wrapper class type.
unset(String) - method in class bsh.Interpreter
Unassign the variable name.
unsetVariable(String) - method in class bsh.NameSpace
Remove the variable from the namespace.
unwrap(Object) - static method in class bsh.Primitive
Unwrap primitive values and map voids to nulls.
unwrap(Object[]) - static method in class bsh.Primitive
Unwrap a variable to its value.
Util - class bsh.util.Util
Misc utilities for the bsh.util package.
UtilEvalError is an error corresponding to an EvalError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilEvalError() - constructor for class bsh.UtilEvalError
UtilEvalError(String) - constructor for class bsh.UtilEvalError
UtilTargetError is an error corresponding to a TargetError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilTargetError(Throwable) - constructor for class bsh.UtilTargetError

V

Variable - class bsh.Variable
VariableDeclarator() - method in class bsh.Parser
VariableInitializer() - method in class bsh.Parser
VERSION - static field in class bsh.Interpreter
VOID - static field in class bsh.ParserConstants
VOID - static field in class bsh.Primitive
VOID means "no type".
VoidLiteral() - method in class bsh.Parser
VOLATILE - static field in class bsh.ParserConstants

W

WHILE - static field in class bsh.ParserConstants
WhileStatement() - method in class bsh.Parser
wrap(Object,Class) - static method in class bsh.Primitive
Wrap primitive values (as indicated by type param) and nulls in the Primitive class.
wrap(Object[],Class[]) - static method in class bsh.Primitive

X

XOR - static field in class bsh.ParserConstants
XORASSIGN - static field in class bsh.ParserConstants
Extended form of print target error.
XThis - class bsh.XThis
XThis is a dynamically loaded extension which extends This.java and adds support for the generalized interface proxy mechanism introduced in JDK1.3.
XThis(bsh.NameSpace,bsh.Interpreter) - constructor for class bsh.XThis

B) 2000-2005 pat@pat.net :-)