All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

AbruptCompletionException(). Constructor for class edu.mit.ai.psg.jevaES.AbruptCompletionException
add(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
and(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

B

beginColumn. Variable in class edu.mit.ai.psg.jevaES.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. Variable in class edu.mit.ai.psg.jevaES.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.
binaryCombine(Token, Object, Object). Method in class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
binaryCombine -- combine two values, implemented in subclasses
binaryCombineBitwiseTypes(Token, Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
binaryCombineNumericTypes(Token, Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
binaryCombineTypes(Token, Class, Class). Method in class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
binaryCombineTypes -- Class of result of combining two types; implemented in subclasses
binaryPromoteType(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.6.2 Binary Numeric Promotion]
bitwiseComplement(Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
BreakException(). Constructor for class edu.mit.ai.psg.jevaES.BreakException
BreakException(String). Constructor for class edu.mit.ai.psg.jevaES.BreakException

C

canNarrowPrimitive(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.1.3 Narrowing Primitive Conversions]
canNarrowPrimitiveConstant(Class, Class, ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.2, 15.24]
check if expr is integer constant that fits in char, short, or byte.
canNarrowReference(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.1.5 Narrowing Reference Conversions]
(does not check for methods that differ only in return type)
canWidenPrimitive(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.1.2 Widening Primitive Conversions]
canWidenReference(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.1.4 Widening Reference Conversions]
castPrimitive(Class, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
checkCastTypes(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
check for impermissible casts [JavaLangSpec1.0 sec 5.4 Casting Conversion]
checkPackageNames. Static variable in class edu.mit.ai.psg.jevaES.JevaES
Option: check spelling of package names against directory names; turn off if security prevents access to filesystem
ClassPathMethods(). Constructor for class edu.mit.ai.psg.jevaES.ClassPathMethods
clearCaches(). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
clear caches.
computeIsConstant(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Compute whether this expression is a constant.
computeIsConstant(IEnv). Method in class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
computeType(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Compute the static type of the expression.
computeType(IEnv). Method in class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
ContinueException(). Constructor for class edu.mit.ai.psg.jevaES.ContinueException
ContinueException(String). Constructor for class edu.mit.ai.psg.jevaES.ContinueException
currentToken. Variable in class edu.mit.ai.psg.jevaES.ParseException
This is the last token that has been consumed successfully.

D

defaultEnv. Static variable in class edu.mit.ai.psg.jevaES.EvalMethods
defaultValue(Class). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
divide(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
dotsToSeparators(String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
for example, if separator char is '/', then converts "java.io.File" to "java/io/File".
dotsToSeparators(String, char). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
dump(String). Method in class edu.mit.ai.psg.jevaES.SimpleNode

E

endColumn. Variable in class edu.mit.ai.psg.jevaES.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. Variable in class edu.mit.ai.psg.jevaES.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.
equals(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
error. Variable in class edu.mit.ai.psg.jevaES.TerminateEvalException
eval(ExpressionNode). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
eval(ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
eval(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Evaluate this Expression.
eval(IEnv). Method in class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
eval(IEnv). Method in class edu.mit.ai.psg.jevaES.StatementNode
Evaluate this Statement.
eval(StatementNode). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
eval(StatementNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
EvalException(). Constructor for class edu.mit.ai.psg.jevaES.EvalException
EvalMethods(). Constructor for class edu.mit.ai.psg.jevaES.EvalMethods
evalToStore(IEnv). Method in interface edu.mit.ai.psg.jevaES.IStoreNode
evalToStore(IStoreNode). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
evalToStore(IStoreNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
expectedTokenSequences. Variable in class edu.mit.ai.psg.jevaES.ParseException
Each entry in this array is an array of integers.
ExpressionNode(int). Constructor for class edu.mit.ai.psg.jevaES.ExpressionNode
Creates an ExpressionNode with the given JevaESParseTreeConstants ID
extendEnv(boolean, Class, String, Object, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Extend an env with a new local named value (may specify if final).
extendEnv(Class, String, Object, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Extend an env with a new local named value (that is not final).

F

findBytecodesInClassPath(String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
findInClassPath(Vector, String, String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
findSourceInClassPath(String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
classfilename should end in appropriate suffix, .java or .class, and should already have package "."'s converted to java.io.File.separator.

G

getBeginToken(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
getClassPathStrings(). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
getCopyright(). Static method in class edu.mit.ai.psg.jevaES.JevaES
getEndToken(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
getLabel(). Method in class edu.mit.ai.psg.jevaES.BreakException
getLabel(). Method in class edu.mit.ai.psg.jevaES.ContinueException
getMessage(). Method in class edu.mit.ai.psg.jevaES.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getNext(). Method in class edu.mit.ai.psg.jevaES.EnvBase
getNext(). Method in interface edu.mit.ai.psg.jevaES.IEnv
get next env frame; used by lookup methods
getNoWarranty(). Static method in class edu.mit.ai.psg.jevaES.JevaES
getThrown(). Method in class edu.mit.ai.psg.jevaES.ThrowException
getType(). Method in interface edu.mit.ai.psg.jevaES.IStore
getType(ExpressionNode). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
getType(ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
getType(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Return the static type of the expression.
getValue(). Method in interface edu.mit.ai.psg.jevaES.IStore
getValue(). Method in class edu.mit.ai.psg.jevaES.ReturnException
getValue(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Get the value of this node, evaluating the node if it's not a constant or it hasn't been evaluated yet.
getVersion(). Static method in class edu.mit.ai.psg.jevaES.JevaES
greaterThan(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
greaterThanOrEqualTo(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

I

image. Variable in class edu.mit.ai.psg.jevaES.Token
The string image of the token.
isAbstractClass(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isApplicable(Class[], Class[]). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isApplicable(Constructor, Class[]). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isApplicable(Method, Class[]). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec 15.11.2.1 Find Methods that are applicable (& accessible)]
Accessibility is not a concern, since only public methods are accessiblethrough reflection.
isAssignable(Class, ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.2 Assignment Conversion] This checks for primitive as well as reference widenings.
isBindableType(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.3 Method Invocation Conversion]
isClassType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
Class is not primitive, array, nor interface
isConstant(ExpressionNode). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
isConstant(ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.EvalMethods
isConstant(IEnv). Method in class edu.mit.ai.psg.jevaES.ExpressionNode
Is this a constant expression? Computed only once, then value cached.
isFinal(). Method in interface edu.mit.ai.psg.jevaES.IStore
isFinalClass(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isImplementation(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isIntegralType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
primitive integer types of various sizes (byte, short, int, long)
isIntExpression(ExpressionNode, IEnv). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
Check that array dims/indexes are int [JavaLangSpec1.0 sec15.9, 15.12]
isMoreSpecific(Constructor, Constructor). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isMoreSpecific(Method, Method). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec 15.11.2.2 Choose Most Specific Method]
Assumes method name matches
isNumericType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
primitive numeric types
isNumericValue(Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
isReferenceType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isSubclass(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
isSubinterface(Class, Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods

J

jjtAddChild(Node, int). Method in interface edu.mit.ai.psg.jevaES.Node
This method tells the node to add its argument to the node's list of children.
jjtAddChild(Node, int). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtClose(). Method in interface edu.mit.ai.psg.jevaES.Node
This method is called after all the child nodes have been added.
jjtClose(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtGetChild(int). Method in interface edu.mit.ai.psg.jevaES.Node
This method returns a child node.
jjtGetChild(int). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtGetNumChildren(). Method in interface edu.mit.ai.psg.jevaES.Node
Return the number of children the node has.
jjtGetNumChildren(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtGetParent(). Method in interface edu.mit.ai.psg.jevaES.Node
jjtGetParent(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtOpen(). Method in interface edu.mit.ai.psg.jevaES.Node
This method is called after the node has been made the current node.
jjtOpen(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
jjtSetParent(Node). Method in interface edu.mit.ai.psg.jevaES.Node
This pair of methods are used to inform the node of its parent.
jjtSetParent(Node). Method in class edu.mit.ai.psg.jevaES.SimpleNode

K

kind. Variable in class edu.mit.ai.psg.jevaES.Token
An integer that describes the kind of this token.

L

leftShift(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
lessThan(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
lessThanOrEqualTo(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
lookup(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookup(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
lookup local variables, parameters, fields
lookupClass(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookupClass(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
find root class with this name; nested classes found from parent
lookupInClass(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookupInClass(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
ditto in class, used for checking if a field name is in use.
lookupInMethod(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookupInMethod(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
lookup restricted to locals and parameters of a method, used for checking if a local variable name is already in use.
lookupLabel(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookupLabel(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
return true if label found; stops at method or initializer boundary.
lookupPackage(String). Method in class edu.mit.ai.psg.jevaES.EnvBase
lookupPackage(String). Method in interface edu.mit.ai.psg.jevaES.IEnv
find root package with this name; sub-packages found from parent

M

makeArrayType(Class, int). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
makeDefaultEnv(). Static method in class edu.mit.ai.psg.jevaES.JevaES
Return a new default environment.
multiply(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

N

nameToPrimitiveType(String). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
Get primitive type from its name, e.g., for "long" return long.class
negate(Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
newToken(int). Static method in class edu.mit.ai.psg.jevaES.Token
Returns a new Token object, by default.
next. Variable in class edu.mit.ai.psg.jevaES.Token
A reference to the next regular (non-special) token from the input stream.
node. Variable in class edu.mit.ai.psg.jevaES.TerminateEvalException
notEquals(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

O

or(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

P

parseEvalStreamExpression(InputStream). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java expression from stream.
parseEvalStreamExpression(InputStream, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java expression from stream in environment env.
parseEvalStreamStatement(InputStream). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java statement from stream.
parseEvalStreamStatement(InputStream, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java statement from stream.
parseEvalStringExpression(String). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java expression from string s.
parseEvalStringExpression(String, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate a single top-level java expression from string s in environment env.
parseEvalStringStatement(String). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate one top-level (no free local vars) Java statement from string s.
parseEvalStringStatement(String, IEnv). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse and evaluate one top-level (no free local vars) Java statement from string s.
ParseException(). Constructor for class edu.mit.ai.psg.jevaES.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String). Constructor for class edu.mit.ai.psg.jevaES.ParseException
ParseException(Token, int[][], String[]). Constructor for class edu.mit.ai.psg.jevaES.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
parseStreamExpression(InputStream). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse one top-level (no free local vars) Java expression from stream.
parseStreamStatement(InputStream). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse one top-level (no free local vars) Java statement from stream.
parseStringExpression(String). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse one top-level (no free local vars) Java expression in string s.
parseStringStatement(String). Static method in class edu.mit.ai.psg.jevaES.JevaES
Parse one top-level (no free local vars) Java statement in string s.
print(PrintWriter). Method in class edu.mit.ai.psg.jevaES.SimpleNode
Print tokens of parsed node's syntax, including children, to stream.
print(PrintWriter, boolean). Method in class edu.mit.ai.psg.jevaES.SimpleNode
printToString(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
Print tokens of parsed node's syntax, including children, to string.
printToString(boolean). Method in class edu.mit.ai.psg.jevaES.SimpleNode

R

remainder(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
ReturnException(). Constructor for class edu.mit.ai.psg.jevaES.ReturnException
ReturnException(Object). Constructor for class edu.mit.ai.psg.jevaES.ReturnException
rightSignedShift(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
rightUnsignedShift(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

S

setBeginToken(Token). Method in class edu.mit.ai.psg.jevaES.SimpleNode
Called by the parser to set the first token of the parsed syntax
setEndToken(Token). Method in class edu.mit.ai.psg.jevaES.SimpleNode
Called by the parser to set the last+1 token of the parsed syntax
setValue(Object). Method in interface edu.mit.ai.psg.jevaES.IStore
SimpleNode(int). Constructor for class edu.mit.ai.psg.jevaES.SimpleNode
specialToken. Variable in class edu.mit.ai.psg.jevaES.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
StatementNode(int). Constructor for class edu.mit.ai.psg.jevaES.StatementNode
Creates an StatementNode with the given JevaESParseTreeConstants ID
subtract(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations

T

ThrowException(Throwable). Constructor for class edu.mit.ai.psg.jevaES.ThrowException
Token(). Constructor for class edu.mit.ai.psg.jevaES.Token
tokenImage. Variable in class edu.mit.ai.psg.jevaES.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
toPrimitiveType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
Get primitive type associated with wrapper, e.g., for a new Long(0) return long.class
toSourceString(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
Return source code declaration string for class even if it is an array, e.g., "int[][]" instead of "[[I", which is what type.getName() returns
toString(). Method in class edu.mit.ai.psg.jevaES.EnvBase
toString(). Method in class edu.mit.ai.psg.jevaES.SimpleNode
toString(). Method in class edu.mit.ai.psg.jevaES.TerminateEvalException
toString(). Method in class edu.mit.ai.psg.jevaES.Token
Returns the image.
toString(String). Method in class edu.mit.ai.psg.jevaES.SimpleNode

U

unaryPlus(Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
unaryPromoteToInt(Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations
unaryPromoteType(Class). Static method in class edu.mit.ai.psg.jevaES.TypeMethods
[JavaLangSpec1.0 sec 5.6.1 Unary Numeric Promotion]

V

verifyPackageNameFromClassPath(String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods
If JevaES.checkPackageNames == true, then verify there is a file system directory or zipfile directory in the classpath which corresponds to the package name.
verifyPackageNameFromClassPath(Vector, String). Static method in class edu.mit.ai.psg.jevaES.ClassPathMethods

X

xor(Object, Object). Static method in class edu.mit.ai.psg.jevaES.PrimitiveOperations