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

A

ARRAY_DECLARATOR - Static variable in interface jparse.JavaTokenTypes
 
ARRAY_INIT - Static variable in interface jparse.JavaTokenTypes
 
ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
ArithmeticAST - class jparse.expr.ArithmeticAST.
An AST node that represents an arithmetic expression
ArithmeticAST(Token) - Constructor for class jparse.expr.ArithmeticAST
Create a new arithmetic expression AST
ArrayInitAST - class jparse.expr.ArrayInitAST.
An AST node that represents an array initializer
ArrayInitAST(Token) - Constructor for class jparse.expr.ArrayInitAST
Create a new array initializer AST
AssignAST - class jparse.expr.AssignAST.
An AST node that represents an assignment
AssignAST(Token) - Constructor for class jparse.expr.AssignAST
Create a new assignment AST
addAnonymous(String, TypeAST) - Method in class jparse.TypeAST
Add an anonymous inner class to the list
addConstructor(ConstrAST) - Method in class jparse.TypeAST
Add a constructor to the list for this type
addInner(TypeAST) - Method in class jparse.TypeAST
Add an inner class to the list
addLabel(String, JavaAST) - Method in class jparse.SymbolTable
Add a labeled statement to the symbol table
addMeth(MethAST) - Method in class jparse.SymbolTable
Add a method symbol to the symbol table
addVar(VarAST) - Method in class jparse.SymbolTable
Add a variable symbol to the symbol table
additiveExpression() - Method in class jparse.JavaParser
 
andExpression() - Method in class jparse.JavaParser
 
anon - Variable in class jparse.TypeAST
The count of anonymous inner classes
anonCheckSuper() - Method in class jparse.SourceType
Check whether this anonymous class is really extending a superclass, or if it is implementing an interface
anonymous - Variable in class jparse.SourceType
true if this is an anonymous class
anonymous - Variable in class jparse.expr.NewAST
If this is a new anonymous type, this is the AST for the anonymous class
anonymousClassBlock(IdentifierAST) - Method in class jparse.JavaParser
 
arithType(Type, Type) - Static method in class jparse.Type
Determine the type of the result of arithmetic on two types, using the rules for Java type promotion
arrayInitializer() - Method in class jparse.JavaParser
 
assignmentExpression() - Method in class jparse.JavaParser
 

B

BAND - Static variable in interface jparse.JavaTokenTypes
 
BAND_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
BNOT - Static variable in interface jparse.JavaTokenTypes
 
BOR - Static variable in interface jparse.JavaTokenTypes
 
BOR_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
BSR - Static variable in interface jparse.JavaTokenTypes
 
BSR_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
BXOR - Static variable in interface jparse.JavaTokenTypes
 
BXOR_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
BitwiseAST - class jparse.expr.BitwiseAST.
An AST node that represents a bitwise expression
BitwiseAST(Token) - Constructor for class jparse.expr.BitwiseAST
Create a new bitwise expression AST
BooleanAST - class jparse.expr.BooleanAST.
An AST node that represents a boolean expression
BooleanAST(Token) - Constructor for class jparse.expr.BooleanAST
Create a new boolean expression AST
BooleanLiteralAST - class jparse.expr.BooleanLiteralAST.
An AST node that represents a literal boolean
BooleanLiteralAST(Token) - Constructor for class jparse.expr.BooleanLiteralAST
Create a new literal boolean AST
BreakAST - class jparse.stmt.BreakAST.
An AST node that represents a break statement
BreakAST(Token) - Constructor for class jparse.stmt.BreakAST
Create a new break statement AST
base - Variable in class jparse.expr.IndexAST
The base of the index expression (i.e., the value being indexed)
baseType - Variable in class jparse.expr.ArrayInitAST
The base type of the array being initialized
bestMatch(Constructor) - Method in class jparse.CompiledConstructor
Find the best match, given two matching constructors
bestMatch(Method) - Method in class jparse.CompiledMethod
Find the best match, given two matching methods
bestMatch(Constructor) - Method in class jparse.ConstrAST
Find the best match, given two matching constructors
bestMatch(Constructor) - Method in interface jparse.Constructor
Find the best match, given two matching constructors
bestMatch(Method) - Method in class jparse.MethAST
Find the best match, given two matching methods
bestMatch(Method) - Method in interface jparse.Method
Find the best match, given two matching methods
block - Variable in class jparse.stmt.TryAST
The try block
body - Variable in class jparse.ConstrAST
The body of the constructor
body - Variable in class jparse.MethAST
The body of the method
body - Variable in class jparse.stmt.CatchAST
The catch body
body - Variable in class jparse.stmt.SynchronizedAST
The statement
booleanType - Static variable in class jparse.Type
The boolean type
brackets - Variable in class jparse.expr.VarAST
Any trailing array brackets on the declaration
breakTarget - Variable in class jparse.CompileContext
The current targets for break statements; i.e., the closest enclosing for, while, do-while, or switch statements.
breakTarget() - Method in class jparse.CompileContext
Get the current break target
buf - Variable in class jparse.LineReader
The underlying BufferedReader used to fetch lines from the file
buildTokenTypeASTClassMap() - Method in class jparse.JavaParser
 
builtInType() - Method in class jparse.JavaParser
 
builtInTypeSpec() - Method in class jparse.JavaParser
 
byteType - Static variable in class jparse.Type
The byte type

C

CASE_GROUP - Static variable in interface jparse.JavaTokenTypes
 
CHAR_LITERAL - Static variable in interface jparse.JavaTokenTypes
 
COLON - Static variable in interface jparse.JavaTokenTypes
 
COMMA - Static variable in interface jparse.JavaTokenTypes
 
CONCATENATION - Static variable in interface jparse.JavaTokenTypes
 
CONCAT_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
CONST - Static variable in interface jparse.JavaTokenTypes
 
CONSTRUCTOR_CALL - Static variable in interface jparse.JavaTokenTypes
 
CTOR_DEF - Static variable in interface jparse.JavaTokenTypes
 
CaseGroupAST - class jparse.stmt.CaseGroupAST.
An AST node that represents a "case group"; i.e., a code block that starts with one or more case foo: or default: labels
CaseGroupAST() - Constructor for class jparse.stmt.CaseGroupAST
Create a new case group AST
CatchAST - class jparse.stmt.CatchAST.
An AST node that represents a catch clause
CatchAST(Token) - Constructor for class jparse.stmt.CatchAST
Create a new catch clause AST
CharLiteralAST - class jparse.expr.CharLiteralAST.
An AST node that represents a literal character
CharLiteralAST(Token) - Constructor for class jparse.expr.CharLiteralAST
Create a new literal character AST
ClassAST - class jparse.stmt.ClassAST.
An AST node that represents a type definition statement
ClassAST(TypeAST) - Constructor for class jparse.stmt.ClassAST
Create a new type definition statement AST
CompileContext - class jparse.CompileContext.
Information about the compilation context so that individual AST nodes can set up needed values
CompileContext() - Constructor for class jparse.CompileContext
 
CompiledConstructor - class jparse.CompiledConstructor.
Information on a Java constructor defined in a Java class file
CompiledConstructor(Constructor) - Constructor for class jparse.CompiledConstructor
Create a new CompiledConstructor object
CompiledMethod - class jparse.CompiledMethod.
Information on a Java method defined in a Java class file
CompiledMethod(Method) - Constructor for class jparse.CompiledMethod
Create a new CompiledMethod object
CompiledType - class jparse.CompiledType.
Information on a Java type defined in a Java class file.
CompiledType(Class) - Constructor for class jparse.CompiledType
Create a new CompiledType object
CompiledType(CompiledType, int) - Constructor for class jparse.CompiledType
Create a new CompiledType object by modifying the dimension of another CompiledType object
CompoundAST - class jparse.stmt.CompoundAST.
An AST node that represents a compound statement
CompoundAST(Token) - Constructor for class jparse.stmt.CompoundAST
Create a new compound statement AST
ConditionalAST - class jparse.expr.ConditionalAST.
An AST node that represents a conditional expression
ConditionalAST(Token) - Constructor for class jparse.expr.ConditionalAST
Create a new conditional expression AST
ConstrAST - class jparse.ConstrAST.
An AST node that represents a constructor definition
ConstrAST() - Constructor for class jparse.ConstrAST
Create a default constructor
ConstrAST(ModifierAST, JavaAST, JavaAST, CompoundAST) - Constructor for class jparse.ConstrAST
Create a new constructor AST
Constructor - interface jparse.Constructor.
Information on a Java constructor.
ContinueAST - class jparse.stmt.ContinueAST.
An AST node that represents a continue statement
ContinueAST(Token) - Constructor for class jparse.stmt.ContinueAST
Create a new continue statement AST
cacheLine - Variable in class jparse.LineReader
The cache line we are currently reading
casesGroup() - Method in class jparse.JavaParser
 
castExpr - Variable in class jparse.expr.TypecastAST
The expression to cast
castType - Variable in class jparse.expr.TypecastAST
The type to cast to
catchClause - Variable in class jparse.stmt.TryAST
The catch clauses
charType - Static variable in class jparse.Type
The char type
classBlock() - Method in class jparse.JavaParser
 
classDefinition(ModifierAST) - Method in class jparse.JavaParser
 
classPath - Static variable in class jparse.Type
The classpath to use for finding classes
classTypeSpec() - Method in class jparse.JavaParser
 
close() - Method in class jparse.LineReader
Close the stream.
closed - Variable in class jparse.LineReader
An indication of whether this stream has been closed
commaInitializer() - Method in class jparse.JavaParser
 
compareTo(MethAST) - Method in class jparse.MethAST
Compares this method with another for order, where the order is based on the method names
compareTo(IdentifierAST) - Method in class jparse.expr.IdentifierAST
Compares this identifier with another for order.
compilationUnit() - Method in class jparse.JavaParser
 
compoundStatement() - Method in class jparse.JavaParser
 
computeControl() - Method in class jparse.stmt.BreakAST
 
computeControl() - Method in class jparse.stmt.CaseGroupAST
 
computeControl() - Method in class jparse.stmt.CatchAST
 
computeControl() - Method in class jparse.stmt.ClassAST
 
computeControl() - Method in class jparse.stmt.CompoundAST
 
computeControl() - Method in class jparse.stmt.ContinueAST
 
computeControl() - Method in class jparse.stmt.DeclarationAST
 
computeControl() - Method in class jparse.stmt.DoWhileAST
 
computeControl() - Method in class jparse.stmt.EmptyAST
 
computeControl() - Method in class jparse.stmt.ExpressionAST
 
computeControl() - Method in class jparse.stmt.ForAST
 
computeControl() - Method in class jparse.stmt.IfElseAST
 
computeControl() - Method in class jparse.stmt.LabelAST
 
computeControl() - Method in class jparse.stmt.ReturnAST
 
computeControl() - Method in class jparse.stmt.StatementAST
Compute the list of points to which control might flow after this statement
computeControl() - Method in class jparse.stmt.SwitchAST
 
computeControl() - Method in class jparse.stmt.SynchronizedAST
 
computeControl() - Method in class jparse.stmt.ThrowAST
 
computeControl() - Method in class jparse.stmt.TryAST
 
computeControl() - Method in class jparse.stmt.WhileAST
 
computeExceptions() - Method in class jparse.ConstrAST
Returns an array of Type objects that represent the types of the exceptions declared to be thrown by this constructor.
computeExceptions() - Method in class jparse.MethAST
Returns an array of Type objects that represent the types of the exceptions declared to be thrown by this method.
computeExceptions() - Method in class jparse.expr.ArithmeticAST
 
computeExceptions() - Method in class jparse.expr.ArrayInitAST
 
computeExceptions() - Method in class jparse.expr.AssignAST
 
computeExceptions() - Method in class jparse.expr.BitwiseAST
 
computeExceptions() - Method in class jparse.expr.BooleanAST
 
computeExceptions() - Method in class jparse.expr.BooleanLiteralAST
 
computeExceptions() - Method in class jparse.expr.CharLiteralAST
 
computeExceptions() - Method in class jparse.expr.ConditionalAST
 
computeExceptions() - Method in class jparse.expr.ExpressionAST
Compute the checked exception types that might be thrown by this expression
computeExceptions() - Method in class jparse.expr.FloatLiteralAST
 
computeExceptions() - Method in class jparse.expr.IdentifierAST
 
computeExceptions() - Method in class jparse.expr.IndexAST
 
computeExceptions() - Method in class jparse.expr.InitializerAST
 
computeExceptions() - Method in class jparse.expr.ListAST
 
computeExceptions() - Method in class jparse.expr.MethodCallAST
 
computeExceptions() - Method in class jparse.expr.NewAST
 
computeExceptions() - Method in class jparse.expr.NullLiteralAST
 
computeExceptions() - Method in class jparse.expr.NumLiteralAST
 
computeExceptions() - Method in class jparse.expr.ParenthesizedAST
 
computeExceptions() - Method in class jparse.expr.ShiftAST
 
computeExceptions() - Method in class jparse.expr.StringLiteralAST
 
computeExceptions() - Method in class jparse.expr.ThisLiteralAST
 
computeExceptions() - Method in class jparse.expr.TypeAST
 
computeExceptions() - Method in class jparse.expr.TypecastAST
 
computeExceptions() - Method in class jparse.expr.UnaryArithAST
 
computeExceptions() - Method in class jparse.expr.VarAST
 
computeExceptions() - Method in class jparse.stmt.BreakAST
 
computeExceptions() - Method in class jparse.stmt.CaseGroupAST
 
computeExceptions() - Method in class jparse.stmt.CatchAST
 
computeExceptions() - Method in class jparse.stmt.ClassAST
 
computeExceptions() - Method in class jparse.stmt.CompoundAST
 
computeExceptions() - Method in class jparse.stmt.ContinueAST
 
computeExceptions() - Method in class jparse.stmt.DeclarationAST
 
computeExceptions() - Method in class jparse.stmt.DoWhileAST
 
computeExceptions() - Method in class jparse.stmt.EmptyAST
 
computeExceptions() - Method in class jparse.stmt.ExpressionAST
 
computeExceptions() - Method in class jparse.stmt.ForAST
 
computeExceptions() - Method in class jparse.stmt.IfElseAST
 
computeExceptions() - Method in class jparse.stmt.LabelAST
 
computeExceptions() - Method in class jparse.stmt.ReturnAST
 
computeExceptions() - Method in class jparse.stmt.StatementAST
Compute the checked exception types that might be thrown by this statement
computeExceptions() - Method in class jparse.stmt.SwitchAST
 
computeExceptions() - Method in class jparse.stmt.SynchronizedAST
 
computeExceptions() - Method in class jparse.stmt.ThrowAST
 
computeExceptions() - Method in class jparse.stmt.TryAST
 
computeExceptions() - Method in class jparse.stmt.WhileAST
 
computeType() - Method in class jparse.expr.ArithmeticAST
 
computeType() - Method in class jparse.expr.ArrayInitAST
 
computeType() - Method in class jparse.expr.AssignAST
 
computeType() - Method in class jparse.expr.BitwiseAST
 
computeType() - Method in class jparse.expr.BooleanAST
 
computeType() - Method in class jparse.expr.BooleanLiteralAST
 
computeType() - Method in class jparse.expr.CharLiteralAST
 
computeType() - Method in class jparse.expr.ConditionalAST
 
computeType() - Method in class jparse.expr.ExpressionAST
Compute the type of this expression
computeType() - Method in class jparse.expr.FloatLiteralAST
 
computeType() - Method in class jparse.expr.IdentifierAST
 
computeType() - Method in class jparse.expr.IndexAST
 
computeType() - Method in class jparse.expr.InitializerAST
 
computeType() - Method in class jparse.expr.ListAST
 
computeType() - Method in class jparse.expr.MethodCallAST
 
computeType() - Method in class jparse.expr.NewAST
 
computeType() - Method in class jparse.expr.NullLiteralAST
 
computeType() - Method in class jparse.expr.NumLiteralAST
 
computeType() - Method in class jparse.expr.ParenthesizedAST
 
computeType() - Method in class jparse.expr.ShiftAST
 
computeType() - Method in class jparse.expr.StringLiteralAST
 
computeType() - Method in class jparse.expr.ThisLiteralAST
 
computeType() - Method in class jparse.expr.TypeAST
 
computeType() - Method in class jparse.expr.TypecastAST
 
computeType() - Method in class jparse.expr.UnaryArithAST
 
computeType() - Method in class jparse.expr.VarAST
 
computeValue() - Method in class jparse.expr.ArithmeticAST
 
computeValue() - Method in class jparse.expr.ArrayInitAST
 
computeValue() - Method in class jparse.expr.AssignAST
 
computeValue() - Method in class jparse.expr.BitwiseAST
 
computeValue() - Method in class jparse.expr.BooleanAST
 
computeValue() - Method in class jparse.expr.BooleanLiteralAST
 
computeValue() - Method in class jparse.expr.CharLiteralAST
 
computeValue() - Method in class jparse.expr.ConditionalAST
 
computeValue() - Method in class jparse.expr.ExpressionAST
Compute the constant value of this expression, if any
computeValue() - Method in class jparse.expr.FloatLiteralAST
 
computeValue() - Method in class jparse.expr.IdentifierAST
 
computeValue() - Method in class jparse.expr.IndexAST
 
computeValue() - Method in class jparse.expr.InitializerAST
 
computeValue() - Method in class jparse.expr.ListAST
 
computeValue() - Method in class jparse.expr.MethodCallAST
 
computeValue() - Method in class jparse.expr.NewAST
 
computeValue() - Method in class jparse.expr.NullLiteralAST
 
computeValue() - Method in class jparse.expr.NumLiteralAST
 
computeValue() - Method in class jparse.expr.ParenthesizedAST
 
computeValue() - Method in class jparse.expr.ShiftAST
 
computeValue() - Method in class jparse.expr.StringLiteralAST
 
computeValue() - Method in class jparse.expr.ThisLiteralAST
 
computeValue() - Method in class jparse.expr.TypeAST
 
computeValue() - Method in class jparse.expr.TypecastAST
 
computeValue() - Method in class jparse.expr.UnaryArithAST
 
computeValue() - Method in class jparse.expr.VarAST
 
cond - Variable in class jparse.stmt.DoWhileAST
The condition test
cond - Variable in class jparse.stmt.ForAST
The condition test
cond - Variable in class jparse.stmt.WhileAST
The condition test
condition - Variable in class jparse.stmt.IfElseAST
The conditional
conditionPart - Variable in class jparse.expr.ConditionalAST
The "condition" part of the conditional
conditionalExpression() - Method in class jparse.JavaParser
 
constant() - Method in class jparse.JavaParser
 
constrs - Variable in class jparse.CompiledType
The constructor objects in this class, in no particular order
constrs - Variable in class jparse.SourceType
The constructors for this class
constructors - Variable in class jparse.TypeAST
The constructors for this type
context - Static variable in class jparse.JavaAST
The current compilation context
continueTarget - Variable in class jparse.CompileContext
The current targets for continue statements; i.e., the closest enclosing for, while, or do-while statements.
continueTarget() - Method in class jparse.CompileContext
Get the current continue target
control - Variable in class jparse.stmt.StatementAST
The points to which control might flow from this statement
currFile - Static variable in class jparse.FileAST
The file currently being evaluated
currSymTable - Static variable in class jparse.JavaAST
The current symbol table under construction
currType - Static variable in class jparse.TypeAST
The type currently being parsed

D

DEC - Static variable in interface jparse.JavaTokenTypes
 
DIV - Static variable in interface jparse.JavaTokenTypes
 
DIV_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
DOT - Static variable in interface jparse.JavaTokenTypes
 
DeclarationAST - class jparse.stmt.DeclarationAST.
An AST node that represents a variable declaration statement
DeclarationAST(ModifierAST, TypeAST, AST) - Constructor for class jparse.stmt.DeclarationAST
Create a new declaration statement AST
DoWhileAST - class jparse.stmt.DoWhileAST.
An AST node that represents a do-while statement
DoWhileAST(Token) - Constructor for class jparse.stmt.DoWhileAST
Create a new do-while statement AST
decl - Variable in class jparse.VarList
The list of variables that are declared
declType - Variable in class jparse.expr.VarAST
The declared type of this variable
declaration() - Method in class jparse.JavaParser
 
declaratorBrackets() - Method in class jparse.JavaParser
 
demangle(String) - Static method in class jparse.Type
Demangle an internal JVM fully qualified name to a Java source fully qualified name
dim - Variable in class jparse.SourceType
The dimension of the array represented by this type.
dim - Variable in class jparse.expr.ArrayInitAST
The dimension of this array initializer
dimensions - Variable in class jparse.expr.NewAST
If this is a new array expression, this is the number of dimensions in the array
doubleType - Static variable in class jparse.Type
The double type
dump() - Method in class jparse.CompiledType
 
dump() - Method in class jparse.SourceType
 
dump() - Method in class jparse.Type
Dump information about this type to standard error

E

ELIST - Static variable in interface jparse.JavaTokenTypes
 
EMPTY_STAT - Static variable in interface jparse.JavaTokenTypes
 
EOF - Static variable in interface jparse.JavaTokenTypes
 
EQUAL - Static variable in interface jparse.JavaTokenTypes
 
ESC - Static variable in interface jparse.JavaTokenTypes
 
EXPONENT - Static variable in interface jparse.JavaTokenTypes
 
EXPRESSION_STAT - Static variable in interface jparse.JavaTokenTypes
 
EXTENDS_CLAUSE - Static variable in interface jparse.JavaTokenTypes
 
EmptyAST - class jparse.stmt.EmptyAST.
An AST node that represents an empty statement
EmptyAST(Token) - Constructor for class jparse.stmt.EmptyAST
Create a new empty statement AST
ExpressionAST - class jparse.expr.ExpressionAST.
An AST node that represents an expression
ExpressionAST() - Constructor for class jparse.expr.ExpressionAST
Create a new expression AST
ExpressionAST(Token) - Constructor for class jparse.expr.ExpressionAST
Create a new expression AST
ExpressionAST - class jparse.stmt.ExpressionAST.
An AST node that represents an expression statement
ExpressionAST(ExpressionAST) - Constructor for class jparse.stmt.ExpressionAST
Create a new expression statement AST
elsePart - Variable in class jparse.expr.ConditionalAST
The "else" part of the conditional
elseStmt - Variable in class jparse.stmt.IfElseAST
The "else" statement
equalityExpression() - Method in class jparse.JavaParser
 
exactMatch(Method) - Method in class jparse.CompiledMethod
 
exactMatch(Method) - Method in class jparse.MethAST
 
exactMatch(Method) - Method in interface jparse.Method
Determine whether two methods are exact matches: i.e., whether the names are the same, they take the same number of parameters, and all the parameter types are exactly equal.
exceptNames - Variable in class jparse.ConstrAST
The names of the exception types thrown by this constructor
exceptNames - Variable in class jparse.MethAST
The names of the exception types thrown by this method
exceptions - Variable in class jparse.ConstrAST
The checked exceptions this constructor might throw
exceptions - Variable in class jparse.MethAST
The checked exceptions this method might throw
exceptions - Variable in class jparse.expr.ExpressionAST
The checked exceptions this expression might throw
exceptions - Variable in class jparse.stmt.StatementAST
The checked exceptions this statement might throw
exclusiveOrExpression() - Method in class jparse.JavaParser
 
exists(String) - Static method in class jparse.Type
Determine whether a fully qualified name corresponds to a class
explodeString(String, char, ArrayList) - Static method in class jparse.Type
Break up a string by finding the location of a certain character, and add the constituent parts to a list, if they are not already there
expr - Variable in class jparse.stmt.ReturnAST
The expression to return
expr - Variable in class jparse.stmt.SwitchAST
The expression to switch on
expression() - Method in class jparse.JavaParser
 
expression - Variable in class jparse.stmt.ExpressionAST
The expression
expressionList() - Method in class jparse.JavaParser
 

F

FILE - Static variable in interface jparse.JavaTokenTypes
 
FLOAT_SUFFIX - Static variable in interface jparse.JavaTokenTypes
 
FOR_CONDITION - Static variable in interface jparse.JavaTokenTypes
 
FOR_INIT - Static variable in interface jparse.JavaTokenTypes
 
FOR_ITERATOR - Static variable in interface jparse.JavaTokenTypes
 
FileAST - class jparse.FileAST.
An AST node that represents the contents of a file
FileAST(File) - Constructor for class jparse.FileAST
Create a new file AST node
FloatLiteralAST - class jparse.expr.FloatLiteralAST.
An AST node that represents a literal floating point number
FloatLiteralAST(Token) - Constructor for class jparse.expr.FloatLiteralAST
Create a new literal floating point number AST
ForAST - class jparse.stmt.ForAST.
An AST node that represents a for statement
ForAST(Token) - Constructor for class jparse.stmt.ForAST
Create a new for statement AST
field() - Method in class jparse.JavaParser
 
field - Variable in class jparse.expr.VarAST
true if this is a field (static or instance variable); false if this is a local variable (including parameters)
file - Variable in class jparse.JavaParser
The file to read from.
file - Variable in class jparse.SourceType
The AST representing the file containing this parsed type
finallyClause - Variable in class jparse.stmt.TryAST
The finally clause
findFile(String, boolean) - Static method in class jparse.Type
Find a file in the classpath.
floatType - Static variable in class jparse.Type
The float type
forClass(Class) - Static method in class jparse.Type
Find a type based on a class.
forCond() - Method in class jparse.JavaParser
 
forInit() - Method in class jparse.JavaParser
 
forIter() - Method in class jparse.JavaParser
 
forName(String) - Static method in class jparse.Type
Find a type based on its name.

G

GE - Static variable in interface jparse.JavaTokenTypes
 
GOTO - Static variable in interface jparse.JavaTokenTypes
 
GT - Static variable in interface jparse.JavaTokenTypes
 
getArrayType() - Method in class jparse.CompiledType
 
getArrayType() - Method in class jparse.SourceType
 
getArrayType() - Method in class jparse.Type
Get the type that corresponds to an array of this type
getBase() - Method in class jparse.expr.IndexAST
Get the base of this index expression; i.e., the value being indexed
getBody() - Method in class jparse.ConstrAST
Get the code for the body of this constructor
getBody() - Method in class jparse.MethAST
Get the code for the body of this method
getBody() - Method in class jparse.stmt.CatchAST
Get the body of the catch clause
getBody() - Method in class jparse.stmt.DoWhileAST
Get the body of the loop
getBody() - Method in class jparse.stmt.ForAST
Get the body of the for loop
getBody() - Method in class jparse.stmt.SynchronizedAST
Get the body of the synchronized statement
getBody() - Method in class jparse.stmt.WhileAST
Get the body of the loop
getBrackets() - Method in class jparse.expr.VarAST
Get the brackets modifying the type name, if those brackets follow the variable name
getCaseGroups() - Method in class jparse.stmt.SwitchAST
Get the case groups within the switch statement
getCastExpression() - Method in class jparse.expr.TypecastAST
Get the expression to be typecast
getCatchClauses() - Method in class jparse.stmt.TryAST
Get the list of catch clauses for this try
getClasses() - Method in class jparse.CompiledType
 
getClasses() - Method in class jparse.SourceType
 
getClasses() - Method in class jparse.Type
Returns an array containing Type objects representing all the classes and interfaces that are members of this type.
getComponentType() - Method in class jparse.CompiledType
 
getComponentType() - Method in class jparse.SourceType
 
getComponentType() - Method in class jparse.Type
Get the component type of an array, or return null if this type does not represent an array
getCondition() - Method in class jparse.expr.ConditionalAST
Get the condition part of this conditional expression
getCondition() - Method in class jparse.stmt.DoWhileAST
Get the condition for the loop
getCondition() - Method in class jparse.stmt.ForAST
Get the condition clause of the for loop
getCondition() - Method in class jparse.stmt.IfElseAST
Get the condition of the if statement
getCondition() - Method in class jparse.stmt.WhileAST
Get the condition for the loop
getConstructor(Type[], Type) - Method in class jparse.CompiledType
 
getConstructor(Type[], Type) - Method in class jparse.SourceType
 
getConstructor(Type[], Type) - Method in class jparse.Type
Get an object representing the constructor for this class with the specified parameter types
getConstructor() - Method in class jparse.expr.MethodCallAST
Get the constructor that will actually be called
getDeclaringClass() - Method in class jparse.CompiledConstructor
Returns the Type object representing the class or interface that declares the constructor represented by this object.
getDeclaringClass() - Method in class jparse.CompiledMethod
Returns the Type object representing the class or interface that declares the method represented by this object.
getDeclaringClass() - Method in class jparse.CompiledType
 
getDeclaringClass() - Method in class jparse.ConstrAST
Returns the Type object representing the class or interface that declares the constructor represented by this object.
getDeclaringClass() - Method in interface jparse.Constructor
Returns the Type object representing the class or interface that declares the constructor represented by this object.
getDeclaringClass() - Method in class jparse.MethAST
Returns the Type object representing the class or interface that declares the method represented by this object.
getDeclaringClass() - Method in interface jparse.Method
Returns the Type object representing the class or interface that declares the method represented by this object.
getDeclaringClass() - Method in class jparse.SourceType
 
getDeclaringClass() - Method in class jparse.Type
If this is an inner class, return the outer class.
getDimensions() - Method in class jparse.expr.NewAST
Get the number of dimensions in the array to create
getElse() - Method in class jparse.expr.ConditionalAST
Get the else part of this conditional expression
getElse() - Method in class jparse.stmt.IfElseAST
Get the else part of the if statement
getExceptionTypes() - Method in class jparse.CompiledConstructor
Returns an array of Type objects that represent the types of the exceptions declared to be thrown by this constructor.
getExceptionTypes() - Method in class jparse.CompiledMethod
 
getExceptionTypes() - Method in class jparse.ConstrAST
Get the checked exception types that might be thrown by this constructor
getExceptionTypes() - Method in interface jparse.HasExceptions
Returns an array of Type objects that represent the types of the checked exceptions that might be thrown by this Java entity.
getExceptionTypes() - Method in class jparse.MethAST
 
getExceptionTypes() - Method in interface jparse.Method
Returns an array of Type objects that represent the types of the exceptions declared to be thrown by this method.
getExceptionTypes() - Method in class jparse.expr.ExpressionAST
Get the checked exception types that might be thrown by this expression
getExceptionTypes() - Method in class jparse.stmt.StatementAST
Get the checked exception types that might be thrown by this statement
getExpression() - Method in class jparse.stmt.ExpressionAST
Get the expression part of this statement
getExpression() - Method in class jparse.stmt.SwitchAST
Get the expression that is switched on
getFinallyClause() - Method in class jparse.stmt.TryAST
Get the finally clause for this try, if any
getIncrement() - Method in class jparse.stmt.ForAST
Get the increment clause of the for loop
getIndex() - Method in class jparse.expr.IndexAST
Get the index of this index expression
getInit() - Method in class jparse.stmt.ForAST
Get the initialization clause of the for loop
getInitializer() - Method in class jparse.expr.VarAST
Get the initializer for this variable
getInitializers() - Method in class jparse.expr.ArrayInitAST
Get the list of initializers
getInner(String) - Method in class jparse.CompiledType
 
getInner(String) - Method in class jparse.SourceType
 
getInner(String) - Method in class jparse.Type
Get an inner class with a specified name.
getInterfaces() - Method in class jparse.CompiledType
 
getInterfaces() - Method in class jparse.SourceType
 
getInterfaces() - Method in class jparse.Type
Get the interfaces implemented by this type (if it is a class) or extended by this type (if it is an interface)
getLabel(String) - Method in class jparse.SymbolTable
Find a labeled statement in the symbol table
getLabel() - Method in class jparse.stmt.BreakAST
Get the label to break to
getLabel() - Method in class jparse.stmt.ContinueAST
Get the label at which control should continue
getLeft() - Method in class jparse.expr.ArithmeticAST
Get the left-hand-side of this arithmetic expression
getLeft() - Method in class jparse.expr.AssignAST
Get the left-hand-side of this assignment expression
getLeft() - Method in class jparse.expr.BitwiseAST
Get the left-hand-side of this bitwise expression
getLeft() - Method in class jparse.expr.BooleanAST
Get the left-hand-side of this boolean expression
getLeft() - Method in class jparse.expr.ShiftAST
Get the left-hand-side of this shift expression
getLine(int) - Method in class jparse.LineReader
Get a particular line from the file
getList() - Method in class jparse.expr.ListAST
Get the list of expressions
getList() - Method in class jparse.stmt.CaseGroupAST
Get the list of statements in this group
getList() - Method in class jparse.stmt.CompoundAST
Get the list of statements in this compound statement
getLock() - Method in class jparse.stmt.SynchronizedAST
Get the object on which to acquire a lock
getMembers() - Method in class jparse.TypeAST
Get the members of this type
getMeth(String, Type[], Type) - Method in class jparse.SymbolTable
Find a method symbol in the symbol table
getMethod(String, Type[], Type) - Method in class jparse.CompiledType
 
getMethod(String, Type[], Type) - Method in class jparse.SourceType
 
getMethod(String, Type[], Type) - Method in class jparse.Type
Get an object representing a method in this class with the specified parameter types
getMethod() - Method in class jparse.expr.MethodCallAST
Get the method that will actually be called
getMethodName() - Method in class jparse.expr.MethodCallAST
Get the name of the method to call
getMethods() - Method in class jparse.CompiledType
 
getMethods() - Method in class jparse.SourceType
 
getMethods() - Method in class jparse.Type
Returns an array containing Method objects representing all the methods that are members of this type.
getMeths(String, Type[], Type) - Method in class jparse.CompiledType
 
getMeths(String, Type[], Type) - Method in class jparse.SourceType
 
getMeths(String, Type[], Type) - Method in class jparse.SymbolTable
Retrieve all matching methods
getMeths() - Method in class jparse.SymbolTable
Retrieve all methods defined by this symbol table
getMeths(String, Type[], Type) - Method in class jparse.Type
Retrieve matching methods
getModifiers() - Method in class jparse.CompiledConstructor
Returns the Java language modifiers for the constructor represented by this object, as an integer.
getModifiers() - Method in class jparse.CompiledMethod
Returns the Java language modifiers for the method represented by this object, as an integer.
getModifiers() - Method in class jparse.CompiledType
 
getModifiers() - Method in class jparse.ConstrAST
Returns the Java language modifiers for the constructor represented by this object, as an integer.
getModifiers() - Method in interface jparse.Constructor
Returns the Java language modifiers for the constructor represented by this object, as an integer.
getModifiers() - Method in class jparse.MethAST
Returns the Java language modifiers for the method represented by this object, as an integer.
getModifiers() - Method in interface jparse.Method
Returns the Java language modifiers for the method represented by this object, as an integer.
getModifiers() - Method in class jparse.ParameterAST
Get the modifiers for this variable
getModifiers() - Method in class jparse.SourceType
 
getModifiers() - Method in class jparse.Type
Get the modifiers for this class, encoded as per The Java Virtual Machine Specification, table 4.1.
getModifiers() - Method in class jparse.expr.VarAST
Get the modifiers for this variable
getModifiers() - Method in class jparse.stmt.DeclarationAST
Get the modifiers for this declaration
getName() - Method in class jparse.CompiledConstructor
Return the name of this constructor
getName() - Method in class jparse.CompiledMethod
Return the name of this method
getName() - Method in class jparse.CompiledType
 
getName() - Method in class jparse.MethAST
Returns the name of the method represented by this MethAST object, as a String.
getName() - Method in interface jparse.Method
Return the name of this method
getName() - Method in class jparse.SourceType
 
getName() - Method in class jparse.Type
Get the fully qualified name of a type
getName() - Method in class jparse.expr.IdentifierAST
Extract the full name of this identifier, even if is is a dotted name
getObject() - Method in class jparse.expr.MethodCallAST
Get the object on which the method call will be made
getOperand() - Method in class jparse.expr.UnaryArithAST
Get the operand of this operator
getPackage() - Method in class jparse.CompiledType
 
getPackage() - Method in class jparse.SourceType
 
getPackage() - Method in class jparse.Type
Get the package in which the type definition resides
getParamName() - Method in class jparse.ParameterAST
Get the parameter name and trailing brackets
getParameter() - Method in class jparse.stmt.CatchAST
Get the parameter to the catch clause
getParameterTypes() - Method in class jparse.CompiledConstructor
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this constructor.
getParameterTypes() - Method in class jparse.CompiledMethod
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this method.
getParameterTypes() - Method in class jparse.ConstrAST
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this constructor.
getParameterTypes() - Method in interface jparse.Constructor
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this constructor.
getParameterTypes() - Method in class jparse.MethAST
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this method.
getParameterTypes() - Method in interface jparse.Method
Returns an array of Type objects that represent the formal parameter types, in declaration order, of this method.
getParameters() - Method in class jparse.ConstrAST
Get the formal parameters of this constructor
getParameters() - Method in class jparse.MethAST
Get the formal parameters of this method
getParameters() - Method in class jparse.expr.MethodCallAST
Get the parameters to the method
getParameters() - Method in class jparse.expr.NewAST
Get the parameters to the object constructor
getParenExpression() - Method in class jparse.expr.ParenthesizedAST
Get the expression in the parentheses
getReturnType() - Method in class jparse.CompiledMethod
Returns a Type object that represents the formal return type of this method.
getReturnType() - Method in class jparse.MethAST
Returns a Type object that represents the formal return type of this method.
getReturnType() - Method in interface jparse.Method
Returns a Type object that represents the formal return type of this method.
getReturnValue() - Method in class jparse.stmt.ReturnAST
Get the expression that is evaluated to produce the return value
getRight() - Method in class jparse.expr.ArithmeticAST
Get the right-hand-side of this arithmetic expression
getRight() - Method in class jparse.expr.AssignAST
Get the right-hand-side of this assignment expression
getRight() - Method in class jparse.expr.BitwiseAST
Get the right-hand-side of this bitwise expression
getRight() - Method in class jparse.expr.BooleanAST
Get the right-hand-side of this boolean expression
getRight() - Method in class jparse.expr.InitializerAST
Get the right-hand-side of this initializer
getRight() - Method in class jparse.expr.ShiftAST
Get the right-hand-side of this shift expression
getStatement() - Method in class jparse.stmt.LabelAST
Get the statement that is labeled
getSuperclass() - Method in class jparse.CompiledType
 
getSuperclass() - Method in class jparse.SourceType
 
getSuperclass() - Method in class jparse.Type
Get the supertype of this Type object
getSuperclass() - Method in class jparse.TypeAST
Get the name of the superclass of this class
getThen() - Method in class jparse.expr.ConditionalAST
Get the then part of this conditional expression
getThen() - Method in class jparse.stmt.IfElseAST
Get the then part of the if statement
getThrowable() - Method in class jparse.stmt.ThrowAST
Get the object to throw
getTryBlock() - Method in class jparse.stmt.TryAST
Get the try block
getType(String) - Method in class jparse.FileAST
Find a type with the given name, using the import list for this file
getTypeDef() - Method in class jparse.stmt.ClassAST
Get the type definition for this class
getTypeName() - Method in class jparse.ParameterAST
Get the name of the declared type for this variable
getTypeName() - Method in class jparse.expr.NewAST
Get the name of the type to instantiate
getTypeName() - Method in class jparse.expr.TypecastAST
Get the name of the type to cast to
getTypeName() - Method in class jparse.expr.VarAST
Get the name of the declared type for this variable
getTypeName() - Method in class jparse.stmt.DeclarationAST
Get the type name for this declaration
getTypes() - Method in class jparse.expr.ListAST
Get a list of all the types in this expression list (used for parameter lists)
getValue() - Method in class jparse.expr.ExpressionAST
Get the constant value of this expression, if it has one, or null if it does not
getVar(String) - Method in class jparse.SymbolTable
Find a variable symbol in the symbol table
getVarList() - Method in class jparse.expr.ArithmeticAST
 
getVarList() - Method in class jparse.expr.ArrayInitAST
 
getVarList() - Method in class jparse.expr.AssignAST
 
getVarList() - Method in class jparse.expr.BitwiseAST
 
getVarList() - Method in class jparse.expr.BooleanAST
 
getVarList() - Method in class jparse.expr.BooleanLiteralAST
 
getVarList() - Method in class jparse.expr.CharLiteralAST
 
getVarList() - Method in class jparse.expr.ConditionalAST
 
getVarList() - Method in class jparse.expr.ExpressionAST
Get the list of variables read and written by this expression
getVarList() - Method in class jparse.expr.FloatLiteralAST
 
getVarList() - Method in class jparse.expr.IdentifierAST
 
getVarList() - Method in class jparse.expr.IndexAST
 
getVarList() - Method in class jparse.expr.InitializerAST
 
getVarList() - Method in class jparse.expr.ListAST
 
getVarList() - Method in class jparse.expr.MethodCallAST
 
getVarList() - Method in class jparse.expr.NewAST
 
getVarList() - Method in class jparse.expr.NullLiteralAST
 
getVarList() - Method in class jparse.expr.NumLiteralAST
 
getVarList() - Method in class jparse.expr.ParenthesizedAST
 
getVarList() - Method in class jparse.expr.ShiftAST
 
getVarList() - Method in class jparse.expr.StringLiteralAST
 
getVarList() - Method in class jparse.expr.ThisLiteralAST
 
getVarList() - Method in class jparse.expr.TypeAST
 
getVarList() - Method in class jparse.expr.TypecastAST
 
getVarList() - Method in class jparse.expr.UnaryArithAST
 
getVarList() - Method in class jparse.expr.VarAST
 
getVarList() - Method in class jparse.stmt.BreakAST
 
getVarList() - Method in class jparse.stmt.CaseGroupAST
 
getVarList() - Method in class jparse.stmt.CatchAST
 
getVarList() - Method in class jparse.stmt.ClassAST
 
getVarList() - Method in class jparse.stmt.CompoundAST
 
getVarList() - Method in class jparse.stmt.ContinueAST
 
getVarList() - Method in class jparse.stmt.DeclarationAST
 
getVarList() - Method in class jparse.stmt.DoWhileAST
 
getVarList() - Method in class jparse.stmt.EmptyAST
 
getVarList() - Method in class jparse.stmt.ExpressionAST
 
getVarList() - Method in class jparse.stmt.ForAST
 
getVarList() - Method in class jparse.stmt.IfElseAST
 
getVarList() - Method in class jparse.stmt.LabelAST
 
getVarList() - Method in class jparse.stmt.ReturnAST
 
getVarList() - Method in class jparse.stmt.StatementAST
Get the list of variables read, written, and declared by this statement
getVarList() - Method in class jparse.stmt.SwitchAST
 
getVarList() - Method in class jparse.stmt.SynchronizedAST
 
getVarList() - Method in class jparse.stmt.ThrowAST
 
getVarList() - Method in class jparse.stmt.TryAST
 
getVarList() - Method in class jparse.stmt.WhileAST
 
getVariables() - Method in class jparse.stmt.DeclarationAST
Get the variables declared in this declaration
groupList - Variable in class jparse.stmt.SwitchAST
The list of cases groups Each cases group is a block of code separated by case or default labels.

H

HEX_DIGIT - Static variable in interface jparse.JavaTokenTypes
 
HasExceptions - interface jparse.HasExceptions.
An interface indicating that the object represents an exception-throwing Java entity
handler() - Method in class jparse.JavaParser
 

I

IDENT - Static variable in interface jparse.JavaTokenTypes
 
IMPLEMENTS_CLAUSE - Static variable in interface jparse.JavaTokenTypes
 
INC - Static variable in interface jparse.JavaTokenTypes
 
INDEX_OP - Static variable in interface jparse.JavaTokenTypes
 
INSTANCE_INIT - Static variable in interface jparse.JavaTokenTypes
 
IdentifierAST - class jparse.expr.IdentifierAST.
An AST node that represents an identifier
IdentifierAST() - Constructor for class jparse.expr.IdentifierAST
Create a new identifier AST
IdentifierAST(Token) - Constructor for class jparse.expr.IdentifierAST
Create a new identifier AST
IfElseAST - class jparse.stmt.IfElseAST.
An AST node that represents an if-else statement
IfElseAST(Token) - Constructor for class jparse.stmt.IfElseAST
Create a new if-else statement AST
IndexAST - class jparse.expr.IndexAST.
An AST node that represents an index expression
IndexAST(Token) - Constructor for class jparse.expr.IndexAST
Create a new index expression AST
InitializerAST - class jparse.expr.InitializerAST.
An AST node that represents a variable initializer
InitializerAST(Token) - Constructor for class jparse.expr.InitializerAST
Create a new initializer AST
identifier() - Method in class jparse.JavaParser
 
identifierStar() - Method in class jparse.JavaParser
 
implementsClause() - Method in class jparse.JavaParser
 
implementsInterface(Type) - Method in class jparse.Type
Determine whether this type implements an interface
importDefinition() - Method in class jparse.JavaParser
 
imports - Variable in class jparse.FileAST
The import statements for this file
inclusiveOrExpression() - Method in class jparse.JavaParser
 
incr - Variable in class jparse.stmt.ForAST
The increment
index - Variable in class jparse.expr.IndexAST
The index
init - Variable in class jparse.stmt.ForAST
The initializer, either a DeclarationAST or a ListAST
initializer() - Method in class jparse.JavaParser
 
initializer - Variable in class jparse.expr.VarAST
The initializer (if any) for this variable
initializers - Variable in class jparse.expr.ArrayInitAST
The list of initializers
inner - Variable in class jparse.CompiledType
The inner classes and interfaces of this class, in no particular order
inner - Variable in class jparse.SourceType
The inner classes and interfaces of this type
inner - Variable in class jparse.TypeAST
The inner classes of this class
input - Variable in class jparse.JavaParser
The reader used by the lexer.
intType - Static variable in class jparse.Type
The int type
interfaceDefinition(ModifierAST) - Method in class jparse.JavaParser
 
interfaceExtends() - Method in class jparse.JavaParser
 
interfaces - Variable in class jparse.SourceType
The interfaces this class implements, or this interface extends
interfaces - Variable in class jparse.TypeAST
The interfaces implemented by this class or the superinterfaces of this interface
isAbstract() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the abstract modifier
isAccessible(Type) - Method in class jparse.CompiledMethod
 
isAccessible(Type) - Method in class jparse.MethAST
 
isAccessible(Type) - Method in interface jparse.Method
Determines whether the method is accessible to a given caller
isArray() - Method in class jparse.CompiledType
 
isArray() - Method in class jparse.SourceType
 
isArray() - Method in class jparse.Type
Determine whether this type represents an array type
isAssignableFrom(Type) - Method in class jparse.CompiledType
 
isAssignableFrom(Type) - Method in class jparse.SourceType
 
isAssignableFrom(Type) - Method in class jparse.Type
Determine whether this type, as a formal parameter, can have a value of type type assigned to it as an actual parameter.
isField - Variable in class jparse.CompileContext
Whether the current construct is a field (top-level construct in a class), or not.
isField() - Method in class jparse.expr.VarAST
Determine whether this variable is a field (static or instance variable) or a local variable or parameter
isFinal() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the final modifier
isInner() - Method in class jparse.CompiledType
 
isInner() - Method in class jparse.SourceType
 
isInner() - Method in class jparse.Type
Determine whether this type is an inner class
isInterface() - Method in class jparse.CompiledType
 
isInterface() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the interface modifier
isInterface() - Method in class jparse.SourceType
 
isInterface() - Method in class jparse.Type
Determine whether this type represents an interface
isMethod - Variable in class jparse.expr.IdentifierAST
true if this is a method name
isNative() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the native modifier
isPrimitive() - Method in class jparse.CompiledType
 
isPrimitive() - Method in class jparse.SourceType
 
isPrimitive() - Method in class jparse.Type
Determine whether this type represents a Java primitive type
isPrivate() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the private modifier
isProtected() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the protected modifier
isPublic() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the public modifier
isStatic() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the static modifier
isStrict() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the strictfp modifier
isSynchronized() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the synchronized modifier
isTransient() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the transient modifier
isVolatile() - Method in class jparse.ModifierAST
Determine whether this set of modifiers includes the volatile modifier

J

JavaAST - class jparse.JavaAST.
An AST node that is a superclass for all Java AST types.
JavaAST() - Constructor for class jparse.JavaAST
Create a new Java AST
JavaAST(SymbolTable) - Constructor for class jparse.JavaAST
Create a new Java AST with an existing symbol table
JavaAST(Token) - Constructor for class jparse.JavaAST
Create a new Java AST from a token
JavaAST(Token, SymbolTable) - Constructor for class jparse.JavaAST
Create a new Java AST from a token, with an existing symbol table
JavaLexer - class jparse.JavaLexer.
 
JavaLexer(InputStream) - Constructor for class jparse.JavaLexer
 
JavaLexer(Reader) - Constructor for class jparse.JavaLexer
 
JavaLexer(InputBuffer) - Constructor for class jparse.JavaLexer
 
JavaLexer(LexerSharedInputState) - Constructor for class jparse.JavaLexer
 
JavaParser - class jparse.JavaParser.
A Java 1.2 parser.
JavaParser(TokenBuffer, int) - Constructor for class jparse.JavaParser
 
JavaParser(TokenBuffer) - Constructor for class jparse.JavaParser
 
JavaParser(TokenStream, int) - Constructor for class jparse.JavaParser
 
JavaParser(TokenStream) - Constructor for class jparse.JavaParser
 
JavaParser(ParserSharedInputState) - Constructor for class jparse.JavaParser
 
JavaTokenTypes - interface jparse.JavaTokenTypes.
 
jparse - package jparse
Provides the main classes that parse and evaluate Java programs.
jparse.expr - package jparse.expr
Provides classes that represent Java expressions.
jparse.stmt - package jparse.stmt
Provides classes that represent Java statements.

L

LABELED_STAT - Static variable in interface jparse.JavaTokenTypes
 
LAND - Static variable in interface jparse.JavaTokenTypes
 
LBRACK - Static variable in interface jparse.JavaTokenTypes
 
LCURLY - Static variable in interface jparse.JavaTokenTypes
 
LE - Static variable in interface jparse.JavaTokenTypes
 
LINE_CACHE_SIZE - Static variable in class jparse.LineReader
The maximum number of lines of the file to keep in the cache
LITERAL_abstract - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_boolean - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_break - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_byte - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_case - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_catch - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_char - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_class - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_continue - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_default - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_do - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_double - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_else - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_extends - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_false - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_final - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_finally - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_float - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_for - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_if - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_implements - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_import - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_instanceof - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_int - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_interface - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_long - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_native - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_new - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_null - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_package - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_private - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_protected - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_public - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_return - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_short - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_static - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_strictfp - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_super - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_switch - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_synchronized - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_this - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_throw - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_throws - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_transient - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_true - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_try - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_void - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_volatile - Static variable in interface jparse.JavaTokenTypes
 
LITERAL_while - Static variable in interface jparse.JavaTokenTypes
 
LNOT - Static variable in interface jparse.JavaTokenTypes
 
LOR - Static variable in interface jparse.JavaTokenTypes
 
LPAREN - Static variable in interface jparse.JavaTokenTypes
 
LT - Static variable in interface jparse.JavaTokenTypes
 
LabelAST - class jparse.stmt.LabelAST.
An AST node that represents a labeled statement
LabelAST(Token) - Constructor for class jparse.stmt.LabelAST
Create a new labeled statement AST
LineReader - class jparse.LineReader.
A file reader that can give you a numbered line as a string.
LineReader(String) - Constructor for class jparse.LineReader
Create a new LineReader
LineReader(File) - Constructor for class jparse.LineReader
Create a new LineReader
LineReader(FileDescriptor) - Constructor for class jparse.LineReader
Create a new LineReader
LineReader(FileReader) - Constructor for class jparse.LineReader
Internal filling of the line cache when a LineReader is first created
ListAST - class jparse.expr.ListAST.
An AST node that represents an expression list
ListAST(AST) - Constructor for class jparse.expr.ListAST
Create a new expression list AST
label - Variable in class jparse.stmt.BreakAST
The break label
label - Variable in class jparse.stmt.ContinueAST
The continue label
labelMap - Variable in class jparse.SymbolTable
The mapping from label names to AST nodes representing the labeled statement
labeled - Variable in class jparse.stmt.LabelAST
The labeled statement
left - Variable in class jparse.expr.ArithmeticAST
The left expression
left - Variable in class jparse.expr.BitwiseAST
The left expression
left - Variable in class jparse.expr.BooleanAST
The left expression
left - Variable in class jparse.expr.ShiftAST
The left expression
lhs - Variable in class jparse.expr.AssignAST
The left-hand side of the assignment
lineCache - Variable in class jparse.LineReader
The line cache
lineDone() - Method in class jparse.LineReader
Called when a line has been read completely.
lineNumber - Variable in class jparse.LineReader
The line number (in the file) of the first line in the cache
linePos - Variable in class jparse.LineReader
The position in the first line in the cache to read next
list - Variable in class jparse.expr.ListAST
The list of expressions
lock - Variable in class jparse.stmt.SynchronizedAST
The object to lock
logicalAndExpression() - Method in class jparse.JavaParser
 
logicalOrExpression() - Method in class jparse.JavaParser
 
longType - Static variable in class jparse.Type
The long type

M

METHOD_CALL - Static variable in interface jparse.JavaTokenTypes
 
METHOD_DEF - Static variable in interface jparse.JavaTokenTypes
 
MINUS - Static variable in interface jparse.JavaTokenTypes
 
MINUS_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
ML_COMMENT - Static variable in interface jparse.JavaTokenTypes
 
MOD - Static variable in interface jparse.JavaTokenTypes
 
MODIFIERS - Static variable in interface jparse.JavaTokenTypes
 
MOD_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
MethAST - class jparse.MethAST.
An AST node that represents a method definition
MethAST(ModifierAST, TypeAST, IdentifierAST, JavaAST, JavaAST, JavaAST, CompoundAST) - Constructor for class jparse.MethAST
Create a new method AST
Method - interface jparse.Method.
Information on a Java method.
MethodCallAST - class jparse.expr.MethodCallAST.
An AST node that represents a method call
MethodCallAST(Token) - Constructor for class jparse.expr.MethodCallAST
Create a new method call AST
ModifierAST - class jparse.ModifierAST.
An AST node that represents a (possibly empty) set of modifiers
ModifierAST(int) - Constructor for class jparse.ModifierAST
Create a new modifier AST node
mASSIGN(boolean) - Method in class jparse.JavaLexer
 
mBAND(boolean) - Method in class jparse.JavaLexer
 
mBAND_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mBNOT(boolean) - Method in class jparse.JavaLexer
 
mBOR(boolean) - Method in class jparse.JavaLexer
 
mBOR_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mBSR(boolean) - Method in class jparse.JavaLexer
 
mBSR_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mBXOR(boolean) - Method in class jparse.JavaLexer
 
mBXOR_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mCHAR_LITERAL(boolean) - Method in class jparse.JavaLexer
 
mCOLON(boolean) - Method in class jparse.JavaLexer
 
mCOMMA(boolean) - Method in class jparse.JavaLexer
 
mDEC(boolean) - Method in class jparse.JavaLexer
 
mDIV(boolean) - Method in class jparse.JavaLexer
 
mDIV_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mEQUAL(boolean) - Method in class jparse.JavaLexer
 
mESC(boolean) - Method in class jparse.JavaLexer
 
mEXPONENT(boolean) - Method in class jparse.JavaLexer
 
mFLOAT_SUFFIX(boolean) - Method in class jparse.JavaLexer
 
mGE(boolean) - Method in class jparse.JavaLexer
 
mGT(boolean) - Method in class jparse.JavaLexer
 
mHEX_DIGIT(boolean) - Method in class jparse.JavaLexer
 
mIDENT(boolean) - Method in class jparse.JavaLexer
 
mINC(boolean) - Method in class jparse.JavaLexer
 
mLAND(boolean) - Method in class jparse.JavaLexer
 
mLBRACK(boolean) - Method in class jparse.JavaLexer
 
mLCURLY(boolean) - Method in class jparse.JavaLexer
 
mLE(boolean) - Method in class jparse.JavaLexer
 
mLNOT(boolean) - Method in class jparse.JavaLexer
 
mLOR(boolean) - Method in class jparse.JavaLexer
 
mLPAREN(boolean) - Method in class jparse.JavaLexer
 
mLT(boolean) - Method in class jparse.JavaLexer
 
mMINUS(boolean) - Method in class jparse.JavaLexer
 
mMINUS_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mML_COMMENT(boolean) - Method in class jparse.JavaLexer
 
mMOD(boolean) - Method in class jparse.JavaLexer
 
mMOD_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mNOT_EQUAL(boolean) - Method in class jparse.JavaLexer
 
mNUM_INT(boolean) - Method in class jparse.JavaLexer
 
mPLUS(boolean) - Method in class jparse.JavaLexer
 
mPLUS_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mQUESTION(boolean) - Method in class jparse.JavaLexer
 
mRBRACK(boolean) - Method in class jparse.JavaLexer
 
mRCURLY(boolean) - Method in class jparse.JavaLexer
 
mRPAREN(boolean) - Method in class jparse.JavaLexer
 
mSEMI(boolean) - Method in class jparse.JavaLexer
 
mSL(boolean) - Method in class jparse.JavaLexer
 
mSL_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mSL_COMMENT(boolean) - Method in class jparse.JavaLexer
 
mSR(boolean) - Method in class jparse.JavaLexer
 
mSR_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mSTAR(boolean) - Method in class jparse.JavaLexer
 
mSTAR_ASSIGN(boolean) - Method in class jparse.JavaLexer
 
mSTRING_LITERAL(boolean) - Method in class jparse.JavaLexer
 
mVOCAB(boolean) - Method in class jparse.JavaLexer
 
mWS(boolean) - Method in class jparse.JavaLexer
 
mangle(String) - Static method in class jparse.Type
Mangle a Java source fully qualified name to an internal JVM fully qualified name.
map - Variable in class jparse.FileAST
A mapping from class names to types, in the context of the import list for this file
map - Static variable in class jparse.Type
A mapping from fully qualified names to Type objects
mark(int) - Method in class jparse.LineReader
Mark the present position in the stream.
markLineNumber - Variable in class jparse.LineReader
The line number of the current mark
markLinePos - Variable in class jparse.LineReader
The column number of the current mark
markSupported() - Method in class jparse.LineReader
Tell whether this stream supports the mark() operation, which it does
match(Type[], Type) - Method in class jparse.CompiledConstructor
Determines whether this constructor matches the parameters given by a caller
match(String, Type[], Type) - Method in class jparse.CompiledMethod
Determines whether this method matches the parameters given by a caller
match(Type[], Type) - Method in class jparse.CompiledMethod
Determines whether this method matches the parameters given by a caller
match(Type[], Type) - Method in class jparse.ConstrAST
Determines whether this constructor matches the parameters given by a caller
match(Type[], Type) - Method in interface jparse.Constructor
Determines whether this constructor matches the parameters given by a caller
match(String, Type[], Type) - Method in class jparse.MethAST
Determines whether this method matches the parameters given by a caller
match(Type[], Type) - Method in class jparse.MethAST
Determines whether this method matches the parameters given by a caller
match(String, Type[], Type) - Method in interface jparse.Method
Determines whether this method matches the parameters given by a caller
match(Type[], Type) - Method in interface jparse.Method
Determines whether this method matches the parameters given by a caller
mergeTypeLists(Type[], Type[]) - Static method in class jparse.Type
Merge two lists of types, removing duplicates and subclasses
method - Variable in class jparse.expr.MethodCallAST
The name of the method to call
methodName - Variable in class jparse.MethAST
The name of the method
methods - Variable in class jparse.SymbolTable
An alphabetical list of methods (methods with the same name are in no particular order)
meths - Variable in class jparse.CompiledType
The method objects in this class, in no particular order
mk_tokenSet_0() - Static method in class jparse.JavaLexer
 
mk_tokenSet_0() - Static method in class jparse.JavaParser
 
mk_tokenSet_1() - Static method in class jparse.JavaLexer
 
mk_tokenSet_1() - Static method in class jparse.JavaParser
 
mk_tokenSet_10() - Static method in class jparse.JavaParser
 
mk_tokenSet_11() - Static method in class jparse.JavaParser
 
mk_tokenSet_12() - Static method in class jparse.JavaParser
 
mk_tokenSet_13() - Static method in class jparse.JavaParser
 
mk_tokenSet_14() - Static method in class jparse.JavaParser
 
mk_tokenSet_15() - Static method in class jparse.JavaParser
 
mk_tokenSet_16() - Static method in class jparse.JavaParser
 
mk_tokenSet_17() - Static method in class jparse.JavaParser
 
mk_tokenSet_18() - Static method in class jparse.JavaParser
 
mk_tokenSet_19() - Static method in class jparse.JavaParser
 
mk_tokenSet_2() - Static method in class jparse.JavaLexer
 
mk_tokenSet_2() - Static method in class jparse.JavaParser
 
mk_tokenSet_20() - Static method in class jparse.JavaParser
 
mk_tokenSet_21() - Static method in class jparse.JavaParser
 
mk_tokenSet_22() - Static method in class jparse.JavaParser
 
mk_tokenSet_23() - Static method in class jparse.JavaParser
 
mk_tokenSet_24() - Static method in class jparse.JavaParser
 
mk_tokenSet_25() - Static method in class jparse.JavaParser
 
mk_tokenSet_26() - Static method in class jparse.JavaParser
 
mk_tokenSet_27() - Static method in class jparse.JavaParser
 
mk_tokenSet_28() - Static method in class jparse.JavaParser
 
mk_tokenSet_29() - Static method in class jparse.JavaParser
 
mk_tokenSet_3() - Static method in class jparse.JavaLexer
 
mk_tokenSet_3() - Static method in class jparse.JavaParser
 
mk_tokenSet_30() - Static method in class jparse.JavaParser
 
mk_tokenSet_31() - Static method in class jparse.JavaParser
 
mk_tokenSet_32() - Static method in class jparse.JavaParser
 
mk_tokenSet_33() - Static method in class jparse.JavaParser
 
mk_tokenSet_34() - Static method in class jparse.JavaParser
 
mk_tokenSet_35() - Static method in class jparse.JavaParser
 
mk_tokenSet_36() - Static method in class jparse.JavaParser
 
mk_tokenSet_37() - Static method in class jparse.JavaParser
 
mk_tokenSet_38() - Static method in class jparse.JavaParser
 
mk_tokenSet_39() - Static method in class jparse.JavaParser
 
mk_tokenSet_4() - Static method in class jparse.JavaLexer
 
mk_tokenSet_4() - Static method in class jparse.JavaParser
 
mk_tokenSet_40() - Static method in class jparse.JavaParser
 
mk_tokenSet_41() - Static method in class jparse.JavaParser
 
mk_tokenSet_42() - Static method in class jparse.JavaParser
 
mk_tokenSet_43() - Static method in class jparse.JavaParser
 
mk_tokenSet_44() - Static method in class jparse.JavaParser
 
mk_tokenSet_45() - Static method in class jparse.JavaParser
 
mk_tokenSet_46() - Static method in class jparse.JavaParser
 
mk_tokenSet_47() - Static method in class jparse.JavaParser
 
mk_tokenSet_48() - Static method in class jparse.JavaParser
 
mk_tokenSet_49() - Static method in class jparse.JavaParser
 
mk_tokenSet_5() - Static method in class jparse.JavaLexer
 
mk_tokenSet_5() - Static method in class jparse.JavaParser
 
mk_tokenSet_50() - Static method in class jparse.JavaParser
 
mk_tokenSet_51() - Static method in class jparse.JavaParser
 
mk_tokenSet_52() - Static method in class jparse.JavaParser
 
mk_tokenSet_53() - Static method in class jparse.JavaParser
 
mk_tokenSet_54() - Static method in class jparse.JavaParser
 
mk_tokenSet_55() - Static method in class jparse.JavaParser
 
mk_tokenSet_56() - Static method in class jparse.JavaParser
 
mk_tokenSet_57() - Static method in class jparse.JavaParser
 
mk_tokenSet_58() - Static method in class jparse.JavaParser
 
mk_tokenSet_59() - Static method in class jparse.JavaParser
 
mk_tokenSet_6() - Static method in class jparse.JavaLexer
 
mk_tokenSet_6() - Static method in class jparse.JavaParser
 
mk_tokenSet_60() - Static method in class jparse.JavaParser
 
mk_tokenSet_61() - Static method in class jparse.JavaParser
 
mk_tokenSet_62() - Static method in class jparse.JavaParser
 
mk_tokenSet_63() - Static method in class jparse.JavaParser
 
mk_tokenSet_7() - Static method in class jparse.JavaParser
 
mk_tokenSet_8() - Static method in class jparse.JavaParser
 
mk_tokenSet_9() - Static method in class jparse.JavaParser
 
modifier() - Method in class jparse.JavaParser
 
modifiers - Variable in class jparse.ConstrAST
The modifiers for this constructor
modifiers() - Method in class jparse.JavaParser
 
modifiers - Variable in class jparse.MethAST
The modifiers for this method
modifiers - Variable in class jparse.SourceType
The modifiers for this class
modifiers - Variable in class jparse.TypeAST
The modifiers for this type
modifiers - Variable in class jparse.stmt.DeclarationAST
The modifiers for this declaration
mods - Variable in class jparse.CompileContext
The current modifiers
mods - Variable in class jparse.ModifierAST
The modifier values represented by this modifier AST
mods - Variable in class jparse.ParameterAST
The modifiers for this parameter
mods - Variable in class jparse.expr.VarAST
The modifiers for this variable
multiplicativeExpression() - Method in class jparse.JavaParser
 

N

NOT_EQUAL - Static variable in interface jparse.JavaTokenTypes
 
NULL_TREE_LOOKAHEAD - Static variable in interface jparse.JavaTokenTypes
 
NUM_FLOAT - Static variable in interface jparse.JavaTokenTypes
 
NUM_INT - Static variable in interface jparse.JavaTokenTypes
 
NewAST - class jparse.expr.NewAST.
An AST node that represents a "new" expression
NewAST(Token) - Constructor for class jparse.expr.NewAST
Create a new "new" expression AST
NullLiteralAST - class jparse.expr.NullLiteralAST.
An AST node that represents a the literal null
NullLiteralAST(Token) - Constructor for class jparse.expr.NullLiteralAST
Create a new literal null AST
NumLiteralAST - class jparse.expr.NumLiteralAST.
An AST node that represents a literal number
NumLiteralAST(Token) - Constructor for class jparse.expr.NumLiteralAST
Create a new literal number AST
name - Variable in class jparse.TypeAST
The fully qualified name of this type
name - Variable in class jparse.expr.IdentifierAST
The full name of this identifier
negative - Variable in class jparse.CompileContext
The current sign of a number being read, true for negative or false for positive.
newArrayDeclarator() - Method in class jparse.JavaParser
 
newExpression() - Method in class jparse.JavaParser
 
next - Variable in class jparse.stmt.StatementAST
The next statement in a sequential list of statements
nextControlPoints() - Method in class jparse.stmt.StatementAST
Get the list of points to which control might pass after executing this statement.
nextStmt - Variable in class jparse.CompileContext
The next statement in sequence after the current one
nextToken() - Method in class jparse.JavaLexer
 
noTypes - Static variable in class jparse.JavaAST
An empty array of types, for use in parameter and exception lists when there are none; avoids creating new arrays when it is unnecessary without resorting to lots of null checks
noVal - Static variable in class jparse.expr.ExpressionAST
A dummy object used to determine when the value has been computed
nonconstant - Static variable in class jparse.expr.ExpressionAST
A dummy object that indicates that an expression is not constant
nonlocal - Static variable in class jparse.stmt.StatementAST
A special member of the StatementAST class which is used to indicate that control passes out of the current method due to a throw or return.

O

OBJBLOCK - Static variable in interface jparse.JavaTokenTypes
 
object - Variable in class jparse.expr.MethodCallAST
The object on which to call
objectType - Static variable in class jparse.Type
The object type
operand - Variable in class jparse.expr.UnaryArithAST
The expression on which to perform this unary operation
outer - Variable in class jparse.SourceType
For inner classes, a pointer to the enclosing class.
outer - Variable in class jparse.TypeAST
The outer class for this type

P

PARAMETERS - Static variable in interface jparse.JavaTokenTypes
 
PARAMETER_DEF - Static variable in interface jparse.JavaTokenTypes
 
PAREN_EXPR - Static variable in interface jparse.JavaTokenTypes
 
PLUS - Static variable in interface jparse.JavaTokenTypes
 
PLUS_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
POST_DEC - Static variable in interface jparse.JavaTokenTypes
 
POST_INC - Static variable in interface jparse.JavaTokenTypes
 
ParameterAST - class jparse.ParameterAST.
An AST node that represents a formal parameter
ParameterAST(ModifierAST, TypeAST, VarAST) - Constructor for class jparse.ParameterAST
Create a new parameter AST
ParenthesizedAST - class jparse.expr.ParenthesizedAST.
An AST node that represents a parenthesized expression
ParenthesizedAST(Token) - Constructor for class jparse.expr.ParenthesizedAST
Create a new parenthesized expression AST
packageDefinition() - Method in class jparse.JavaParser
 
param - Variable in class jparse.stmt.CatchAST
The catch parameter
paramNames - Variable in class jparse.ConstrAST
The names of the parameter for this constructor
paramNames - Variable in class jparse.MethAST
The names of the parameters for this method
paramTypes - Variable in class jparse.ConstrAST
The parameter types for this constructor
paramTypes - Variable in class jparse.MethAST
The parameter types for this method
parameterDeclaration() - Method in class jparse.JavaParser
 
parameterDeclarationList() - Method in class jparse.JavaParser
 
parameters - Variable in class jparse.expr.MethodCallAST
The parameters of the call
parameters - Variable in class jparse.expr.NewAST
The parameters, for an object constructor
parent - Variable in class jparse.SourceType
The parent type
parent - Variable in class jparse.SymbolTable
The symbol table for the enclosing scope
parenthesized - Variable in class jparse.expr.ParenthesizedAST
The parenthesized expression
parseComplete() - Method in class jparse.ConstrAST
 
parseComplete() - Method in class jparse.FileAST
 
parseComplete() - Method in class jparse.JavaAST
Compute any derived attributes that must be evaluated after the initial parse.
parseComplete() - Method in class jparse.MethAST
 
parseComplete() - Method in class jparse.ParameterAST
 
parseComplete() - Method in class jparse.TypeAST
 
parseComplete() - Method in class jparse.expr.ArithmeticAST
 
parseComplete() - Method in class jparse.expr.ArrayInitAST
 
parseComplete() - Method in class jparse.expr.AssignAST
 
parseComplete() - Method in class jparse.expr.BitwiseAST
 
parseComplete() - Method in class jparse.expr.BooleanAST
 
parseComplete() - Method in class jparse.expr.ConditionalAST
 
parseComplete() - Method in class jparse.expr.FloatLiteralAST
 
parseComplete() - Method in class jparse.expr.IndexAST
 
parseComplete() - Method in class jparse.expr.InitializerAST
 
parseComplete() - Method in class jparse.expr.ListAST
 
parseComplete() - Method in class jparse.expr.MethodCallAST
Set the method call values
parseComplete() - Method in class jparse.expr.NewAST
 
parseComplete() - Method in class jparse.expr.NumLiteralAST
 
parseComplete() - Method in class jparse.expr.ParenthesizedAST
 
parseComplete() - Method in class jparse.expr.ShiftAST
 
parseComplete() - Method in class jparse.expr.TypecastAST
 
parseComplete() - Method in class jparse.expr.UnaryArithAST
 
parseComplete() - Method in class jparse.expr.VarAST
 
parseComplete() - Method in class jparse.stmt.BreakAST
 
parseComplete() - Method in class jparse.stmt.CaseGroupAST
Set the statement list for this CaseGroupAST
parseComplete() - Method in class jparse.stmt.CatchAST
 
parseComplete() - Method in class jparse.stmt.ClassAST
 
parseComplete() - Method in class jparse.stmt.CompoundAST
Set the statement list for this CompoundAST
parseComplete() - Method in class jparse.stmt.ContinueAST
 
parseComplete() - Method in class jparse.stmt.DeclarationAST
 
parseComplete() - Method in class jparse.stmt.DoWhileAST
 
parseComplete() - Method in class jparse.stmt.ExpressionAST
 
parseComplete() - Method in class jparse.stmt.ForAST
 
parseComplete() - Method in class jparse.stmt.IfElseAST
 
parseComplete() - Method in class jparse.stmt.LabelAST
 
parseComplete() - Method in class jparse.stmt.ReturnAST
 
parseComplete() - Method in class jparse.stmt.StatementAST
 
parseComplete() - Method in class jparse.stmt.SwitchAST
 
parseComplete() - Method in class jparse.stmt.SynchronizedAST
 
parseComplete() - Method in class jparse.stmt.ThrowAST
 
parseComplete() - Method in class jparse.stmt.TryAST
Set the instance variables
parseComplete() - Method in class jparse.stmt.WhileAST
 
parseFile(String) - Static method in class jparse.Type
Parse a Java input file and build an AST representing it
parseFile(File) - Static method in class jparse.Type
Parse a Java input file and build an AST representing it
parsedMap - Static variable in class jparse.Type
A mapping from File objects to FileAST objects
pkg - Variable in class jparse.FileAST
The package for this file, or null for the default package
pkgMap - Static variable in class jparse.Type
A mapping from package names to File objects
popBreak() - Method in class jparse.CompileContext
Pop a break target off of the stack
popContinue() - Method in class jparse.CompileContext
Pop a continue (and break) target off of the stack
postfixExpression() - Method in class jparse.JavaParser
 
primaryExpression() - Method in class jparse.JavaParser
 
print(PrintWriter) - Method in class jparse.JavaAST
Print a representation of this AST node, and its following hidden tokens
printHiddenAfter(PrintWriter) - Method in class jparse.JavaAST
Print any hidden tokens after this AST node
printHiddenBefore(PrintWriter) - Method in class jparse.JavaAST
Print any hidden tokens before this AST node
pushBreak(JavaAST) - Method in class jparse.CompileContext
Push a new break target onto the stack
pushContinue(JavaAST) - Method in class jparse.CompileContext
Push a new continue (and break) target onto the stack

Q

QUESTION - Static variable in interface jparse.JavaTokenTypes
 

R

RBRACK - Static variable in interface jparse.JavaTokenTypes
 
RCURLY - Static variable in interface jparse.JavaTokenTypes
 
RPAREN - Static variable in interface jparse.JavaTokenTypes
 
ReturnAST - class jparse.stmt.ReturnAST.
An AST node that represents a return statement
ReturnAST(Token) - Constructor for class jparse.stmt.ReturnAST
Create a new return statement AST
read() - Method in class jparse.LineReader
Read a single character.
read(char[], int, int) - Method in class jparse.LineReader
Read characters into a portion of an array.
read - Variable in class jparse.VarList
The list of variables whose values are read
ready() - Method in class jparse.LineReader
Tell whether this stream is ready to be read
relationalExpression() - Method in class jparse.JavaParser
 
removeCaughtException(Type[]) - Method in class jparse.stmt.CatchAST
Remove the exception caught by this catch clause from a list of exceptions.
reportError(RecognitionException) - Method in class jparse.JavaParser
Report an error to the user in the format used by Sun's javac
reportError(String) - Method in class jparse.JavaParser
Report an error to the user in the format used by Sun's javac
reset() - Method in class jparse.LineReader
Reset the stream to the most recent mark.
retrieveType() - Method in class jparse.TypeAST
Retrieve the type represented by this AST node
retrieveType() - Method in class jparse.expr.ExpressionAST
Retrieve the type of this expression
returnBrackets - Variable in class jparse.MethAST
Any brackets to add onto the return type
returnName - Variable in class jparse.MethAST
The name of the return type for this method
returnType - Variable in class jparse.MethAST
The return type for this method
rhs - Variable in class jparse.expr.AssignAST
The right-hand side of the assignment
rhs - Variable in class jparse.expr.InitializerAST
The right-hand side of the initialization
right - Variable in class jparse.expr.ArithmeticAST
The right expression
right - Variable in class jparse.expr.BitwiseAST
The right expression
right - Variable in class jparse.expr.BooleanAST
The right expression
right - Variable in class jparse.expr.ShiftAST
The right expression

S

SEMI - Static variable in interface jparse.JavaTokenTypes
 
SL - Static variable in interface jparse.JavaTokenTypes
 
SLIST - Static variable in interface jparse.JavaTokenTypes
 
SL_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
SL_COMMENT - Static variable in interface jparse.JavaTokenTypes
 
SR - Static variable in interface jparse.JavaTokenTypes
 
SR_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
STAR - Static variable in interface jparse.JavaTokenTypes
 
STAR_ASSIGN - Static variable in interface jparse.JavaTokenTypes
 
STRING_LITERAL - Static variable in interface jparse.JavaTokenTypes
 
ShiftAST - class jparse.expr.ShiftAST.
An AST node that represents a shift expression
ShiftAST(Token) - Constructor for class jparse.expr.ShiftAST
Create a new shift expression AST
SourceType - class jparse.SourceType.
Information on a Java type defined in a Java source file.
SourceType(TypeAST) - Constructor for class jparse.SourceType
Create a new SourceType object
SourceType(SourceType, int) - Constructor for class jparse.SourceType
Create a new SourceType object by modifying the dimension of another SourceType object
StatementAST - class jparse.stmt.StatementAST.
An AST node that represents a statement
StatementAST() - Constructor for class jparse.stmt.StatementAST
Create a new statement AST
StatementAST(Token) - Constructor for class jparse.stmt.StatementAST
Create a new statement AST
StringLiteralAST - class jparse.expr.StringLiteralAST.
An AST node that represents a literal string
StringLiteralAST(Token) - Constructor for class jparse.expr.StringLiteralAST
Create a new literal string AST
SwitchAST - class jparse.stmt.SwitchAST.
An AST node that represents a switch statement
SwitchAST(Token) - Constructor for class jparse.stmt.SwitchAST
Create a new switch statement AST
SymbolTable - class jparse.SymbolTable.
A mapping from names to definitions of those names (AST nodes)
SymbolTable() - Constructor for class jparse.SymbolTable
Create a new SymbolTable
SynchronizedAST - class jparse.stmt.SynchronizedAST.
An AST node that represents a synchronized block
SynchronizedAST(Token) - Constructor for class jparse.stmt.SynchronizedAST
Create a new synchronized statement AST
setEnclosingType(TypeAST) - Method in class jparse.SymbolTable
Set the enclosing type for this symbol table
setFileAndReader(File, LineReader) - Method in class jparse.JavaParser
Set file to read from, and the reader to use for fetching lines from that file
setInfo(String, String, TypeAST, ModifierAST) - Method in class jparse.TypeAST
Set the name and outer class for this type
setInitialHiddenToken(CommonHiddenStreamToken) - Method in class jparse.FileAST
Set the initial hidden token for the file.
setInterface() - Method in class jparse.ModifierAST
Identify this set of modifiers as belonging to an interface
setInterfaceMethod() - Method in class jparse.ModifierAST
Identify this as modifiers for an interface method
setMethod() - Method in class jparse.expr.IdentifierAST
Identify this as a method name
setName(String) - Method in class jparse.expr.IdentifierAST
Set the name of this identifier
shiftExpression() - Method in class jparse.JavaParser
 
shortType - Static variable in class jparse.Type
The short type
statement() - Method in class jparse.JavaParser
 
stmt - Variable in class jparse.stmt.DoWhileAST
The statement
stmt - Variable in class jparse.stmt.ForAST
The statement
stmt - Variable in class jparse.stmt.WhileAST
The statement
stmtList - Variable in class jparse.stmt.CaseGroupAST
The statement list
stmtList - Variable in class jparse.stmt.CompoundAST
The statement list
stringType - Static variable in class jparse.Type
The string type
superClassClause() - Method in class jparse.JavaParser
 
superClassOf(Type) - Method in class jparse.Type
Determine whether this type is a superclass of another type
superInterfaceOf(Type) - Method in class jparse.Type
Determine whether this type is a superinterface of another type
superclass - Variable in class jparse.TypeAST
The superclass of this class
symTable - Variable in class jparse.JavaAST
The symbols in the context of this AST node

T

TYPE - Static variable in interface jparse.JavaTokenTypes
 
TYPECAST - Static variable in interface jparse.JavaTokenTypes
 
TYPE_STAT - Static variable in interface jparse.JavaTokenTypes
 
ThisLiteralAST - class jparse.expr.ThisLiteralAST.
An AST node that represents the literal this
ThisLiteralAST(Token) - Constructor for class jparse.expr.ThisLiteralAST
Create a new literal this AST
ThrowAST - class jparse.stmt.ThrowAST.
An AST node that represents a throw statement
ThrowAST(Token) - Constructor for class jparse.stmt.ThrowAST
Create a new throw statement AST
TryAST - class jparse.stmt.TryAST.
An AST node that represents a try-catch-finally statement
TryAST(Token) - Constructor for class jparse.stmt.TryAST
Create a new try-catch-finally statement AST
Type - class jparse.Type.
Information on a Java type.
Type() - Constructor for class jparse.Type
 
TypeAST - class jparse.TypeAST.
An AST node that represents a type.
TypeAST() - Constructor for class jparse.TypeAST
Create a new Type AST
TypeAST(String) - Constructor for class jparse.TypeAST
Create a new Type AST
TypeAST(Token) - Constructor for class jparse.TypeAST
Create a new Type AST
TypeAST - class jparse.expr.TypeAST.
An AST node that represents a type expression
TypeAST(String) - Constructor for class jparse.expr.TypeAST
Create a new type expression AST
TypecastAST - class jparse.expr.TypecastAST.
An AST node that represents a typecast
TypecastAST(Token) - Constructor for class jparse.expr.TypecastAST
Create a new typecast AST
theClass - Variable in class jparse.CompiledType
The class object wrapped by this CompiledType object
theCons - Variable in class jparse.expr.NewAST
The constructor being accessed by this use of new
theConstructor - Variable in class jparse.CompiledConstructor
The constructor object wrapped by this CompiledConstructor object
theConstructor - Variable in class jparse.expr.MethodCallAST
The constructor that this call is calling (for constructor calls)
theFile - Variable in class jparse.FileAST
The file that was parsed to create this AST
theMethod - Variable in class jparse.CompiledMethod
The method object wrapped by this CompiledMethod object
theMethod - Variable in class jparse.expr.MethodCallAST
The method that this call is calling (for method calls)
theType - Variable in class jparse.SourceType
The AST representing this parsed type
thenPart - Variable in class jparse.expr.ConditionalAST
The "then" part of the conditional
thenStmt - Variable in class jparse.stmt.IfElseAST
The "then" statement
throwable - Variable in class jparse.stmt.ThrowAST
The object to throw
throwsClause() - Method in class jparse.JavaParser
 
toString() - Method in class jparse.CompiledConstructor
Return a string describing this CompiledConstructor
toString() - Method in class jparse.CompiledMethod
Return a string describing this CompiledMethod
toString() - Method in class jparse.CompiledType
 
toString() - Method in class jparse.ConstrAST
Return a string describing this ConstrAST
toString() - Method in class jparse.FileAST
 
toString() - Method in class jparse.MethAST
Return a string describing this MethAST
toString() - Method in class jparse.ModifierAST
Return a string representation of this set of modifiers
toString() - Method in class jparse.ParameterAST
 
toString() - Method in class jparse.SourceType
Return a string representation of the type
toString() - Method in class jparse.SymbolTable
 
toString() - Method in class jparse.TypeAST
 
toString() - Method in class jparse.expr.IdentifierAST
 
toString() - Method in class jparse.expr.ListAST
 
toString() - Method in class jparse.expr.MethodCallAST
 
toString() - Method in class jparse.expr.TypecastAST
 
toString() - Method in class jparse.expr.VarAST
 
topLevel - Variable in class jparse.JavaAST
The top-level node for this file
tryBlock() - Method in class jparse.JavaParser
 
type - Variable in class jparse.CompileContext
The current variable or array base type
type() - Method in class jparse.JavaParser
 
type - Variable in class jparse.SymbolTable
The type (class or interface) in which the symbols in this table are defined
type - Variable in class jparse.TypeAST
The type object corresponding to this AST
type - Variable in class jparse.expr.ExpressionAST
The type of this expression
type - Variable in class jparse.stmt.ClassAST
The class definition
typeAST - Variable in class jparse.JavaAST
The type (class or interface) containing this AST node
typeAST - Variable in class jparse.ParameterAST
The declared type of this parameter
typeDefinition() - Method in class jparse.JavaParser
 
typeName - Variable in class jparse.expr.NewAST
The type to instantiate
typeSpec() - Method in class jparse.JavaParser
 
typeSpec - Variable in class jparse.stmt.DeclarationAST
The type for this declaration
types - Variable in class jparse.FileAST
The top-level class and interface definitions for this file
types - Variable in class jparse.expr.ListAST
The types of the expressions in this expression list

U

UNARY_MINUS - Static variable in interface jparse.JavaTokenTypes
 
UNARY_PLUS - Static variable in interface jparse.JavaTokenTypes
 
UnaryArithAST - class jparse.expr.UnaryArithAST.
An AST node that represents a unary arithmetic expression
UnaryArithAST(Token) - Constructor for class jparse.expr.UnaryArithAST
Create a new unary arithmetic expression AST
unaryExpression() - Method in class jparse.JavaParser
 
unaryExpressionNotPlusMinus() - Method in class jparse.JavaParser
 

V

VARIABLE_DEF - Static variable in interface jparse.JavaTokenTypes
 
VARIABLE_DEFS - Static variable in interface jparse.JavaTokenTypes
 
VOCAB - Static variable in interface jparse.JavaTokenTypes
 
VarAST - class jparse.expr.VarAST.
An AST node that represents a variable definition or formal parameter
VarAST(Token) - Constructor for class jparse.expr.VarAST
Create a new variable AST
VarList - class jparse.VarList.
A list of variables whose values are read by an expression or statement, whose values are written by an expression or statement, or which are declared by a statement
VarList() - Constructor for class jparse.VarList
Create an empty list of variables
VarList(VarAST) - Constructor for class jparse.VarList
Create a new list of variables from a single variable
VarList(VarAST[]) - Constructor for class jparse.VarList
Create a new list of variables from an array of declarations
VarList(VarList, VarAST) - Constructor for class jparse.VarList
Create a new list of variables by adding a declaration to an existing list
VarList(VarList, VarList) - Constructor for class jparse.VarList
Create a new list of variables by merging two other lists
VarList(VarList, VarList, boolean) - Constructor for class jparse.VarList
Create a new list of variables by merging two other lists, and optionally changing reads to writes for the first list
VarList(VarList, VarList, VarList) - Constructor for class jparse.VarList
Create a new list of variables by merging three other lists
VarList(VarList[]) - Constructor for class jparse.VarList
Create a new list of variables by merging an array of lists
validLines - Variable in class jparse.LineReader
The number of valid cache lines
value - Variable in class jparse.expr.ExpressionAST
The constant value of this expression (possibly wrapped), or null if the expression is not constant
var - Variable in class jparse.ParameterAST
The parameter name and trailing brackets
varInitializer() - Method in class jparse.JavaParser
 
varMap - Variable in class jparse.SymbolTable
The mapping from variable names to AST nodes representing the definitions of those variables
varType(String) - Method in class jparse.CompiledType
 
varType(String) - Method in class jparse.SourceType
 
varType(String, String) - Static method in class jparse.Type
Determine the type of a variable in some class
varType(String) - Method in class jparse.Type
Determine the type of a (static or instance) variable
variableDeclarator() - Method in class jparse.JavaParser
 
variableDefinitions() - Method in class jparse.JavaParser
 
variables - Variable in class jparse.stmt.DeclarationAST
The variables declared in this declaration
voidType - Static variable in class jparse.Type
The void type

W

WS - Static variable in interface jparse.JavaTokenTypes
 
WhileAST - class jparse.stmt.WhileAST.
An AST node that represents a while statement
WhileAST(Token) - Constructor for class jparse.stmt.WhileAST
Create a new while statement AST
write - Variable in class jparse.VarList
The list of variables whose values are written

_

_tokenNames - Static variable in class jparse.JavaParser
 
_tokenSet_0 - Static variable in class jparse.JavaLexer
 
_tokenSet_0 - Static variable in class jparse.JavaParser
 
_tokenSet_1 - Static variable in class jparse.JavaLexer
 
_tokenSet_1 - Static variable in class jparse.JavaParser
 
_tokenSet_10 - Static variable in class jparse.JavaParser
 
_tokenSet_11 - Static variable in class jparse.JavaParser
 
_tokenSet_12 - Static variable in class jparse.JavaParser
 
_tokenSet_13 - Static variable in class jparse.JavaParser
 
_tokenSet_14 - Static variable in class jparse.JavaParser
 
_tokenSet_15 - Static variable in class jparse.JavaParser
 
_tokenSet_16 - Static variable in class jparse.JavaParser
 
_tokenSet_17 - Static variable in class jparse.JavaParser
 
_tokenSet_18 - Static variable in class jparse.JavaParser
 
_tokenSet_19 - Static variable in class jparse.JavaParser
 
_tokenSet_2 - Static variable in class jparse.JavaLexer
 
_tokenSet_2 - Static variable in class jparse.JavaParser
 
_tokenSet_20 - Static variable in class jparse.JavaParser
 
_tokenSet_21 - Static variable in class jparse.JavaParser
 
_tokenSet_22 - Static variable in class jparse.JavaParser
 
_tokenSet_23 - Static variable in class jparse.JavaParser
 
_tokenSet_24 - Static variable in class jparse.JavaParser
 
_tokenSet_25 - Static variable in class jparse.JavaParser
 
_tokenSet_26 - Static variable in class jparse.JavaParser
 
_tokenSet_27 - Static variable in class jparse.JavaParser
 
_tokenSet_28 - Static variable in class jparse.JavaParser
 
_tokenSet_29 - Static variable in class jparse.JavaParser
 
_tokenSet_3 - Static variable in class jparse.JavaLexer
 
_tokenSet_3 - Static variable in class jparse.JavaParser
 
_tokenSet_30 - Static variable in class jparse.JavaParser
 
_tokenSet_31 - Static variable in class jparse.JavaParser
 
_tokenSet_32 - Static variable in class jparse.JavaParser
 
_tokenSet_33 - Static variable in class jparse.JavaParser
 
_tokenSet_34 - Static variable in class jparse.JavaParser
 
_tokenSet_35 - Static variable in class jparse.JavaParser
 
_tokenSet_36 - Static variable in class jparse.JavaParser
 
_tokenSet_37 - Static variable in class jparse.JavaParser
 
_tokenSet_38 - Static variable in class jparse.JavaParser
 
_tokenSet_39 - Static variable in class jparse.JavaParser
 
_tokenSet_4 - Static variable in class jparse.JavaLexer
 
_tokenSet_4 - Static variable in class jparse.JavaParser
 
_tokenSet_40 - Static variable in class jparse.JavaParser
 
_tokenSet_41 - Static variable in class jparse.JavaParser
 
_tokenSet_42 - Static variable in class jparse.JavaParser
 
_tokenSet_43 - Static variable in class jparse.JavaParser
 
_tokenSet_44 - Static variable in class jparse.JavaParser
 
_tokenSet_45 - Static variable in class jparse.JavaParser
 
_tokenSet_46 - Static variable in class jparse.JavaParser
 
_tokenSet_47 - Static variable in class jparse.JavaParser
 
_tokenSet_48 - Static variable in class jparse.JavaParser
 
_tokenSet_49 - Static variable in class jparse.JavaParser
 
_tokenSet_5 - Static variable in class jparse.JavaLexer
 
_tokenSet_5 - Static variable in class jparse.JavaParser
 
_tokenSet_50 - Static variable in class jparse.JavaParser
 
_tokenSet_51 - Static variable in class jparse.JavaParser
 
_tokenSet_52 - Static variable in class jparse.JavaParser
 
_tokenSet_53 - Static variable in class jparse.JavaParser
 
_tokenSet_54 - Static variable in class jparse.JavaParser
 
_tokenSet_55 - Static variable in class jparse.JavaParser
 
_tokenSet_56 - Static variable in class jparse.JavaParser
 
_tokenSet_57 - Static variable in class jparse.JavaParser
 
_tokenSet_58 - Static variable in class jparse.JavaParser
 
_tokenSet_59 - Static variable in class jparse.JavaParser
 
_tokenSet_6 - Static variable in class jparse.JavaLexer
 
_tokenSet_6 - Static variable in class jparse.JavaParser
 
_tokenSet_60 - Static variable in class jparse.JavaParser
 
_tokenSet_61 - Static variable in class jparse.JavaParser
 
_tokenSet_62 - Static variable in class jparse.JavaParser
 
_tokenSet_63 - Static variable in class jparse.JavaParser
 
_tokenSet_7 - Static variable in class jparse.JavaParser
 
_tokenSet_8 - Static variable in class jparse.JavaParser
 
_tokenSet_9 - Static variable in class jparse.JavaParser
 

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