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

A

ABSTRACT - Static variable in interface cager.jexpr.JExprConstants
 
ADD - Static variable in class cager.jexpr.ast.UnaryExpression
 
ANDASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
ASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
AST - class cager.jexpr.ast.AST.
The base class for all AST classes.
AST() - Constructor for class cager.jexpr.ast.AST
 
AST(AST) - Constructor for class cager.jexpr.ast.AST
 
AdditiveExpression() - Method in class cager.jexpr.JExpr
 
AdjustBuffSize() - Method in class cager.jexpr.JavaCharStream
 
AllocationExpression() - Method in class cager.jexpr.JExpr
 
AndExpression() - Method in class cager.jexpr.JExpr
 
ArgumentList() - Method in class cager.jexpr.JExpr
 
ArgumentList - class cager.jexpr.ast.ArgumentList.
Not implemented.
ArgumentList() - Constructor for class cager.jexpr.ast.ArgumentList
 
Arguments() - Method in class cager.jexpr.JExpr
 
ArrayDimsAndInits() - Method in class cager.jexpr.JExpr
 
ArrayInitializer() - Method in class cager.jexpr.JExpr
 
AssignmentOperator() - Method in class cager.jexpr.JExpr
 
add(Statement) - Method in class cager.jexpr.ast.Block
Add a statement to this block's list.
add(MethodDeclaration) - Method in class cager.jexpr.ast.ClassDeclaration
 
add(FormalParameter) - Method in class cager.jexpr.ast.FormalParameters
 
add(Expression) - Method in class cager.jexpr.ast.PrimaryExpression
 
addEscapes(String) - Static method in class cager.jexpr.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
add_escapes(String) - Method in class cager.jexpr.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
adjustBeginLineColumn(int, int) - Method in class cager.jexpr.JavaCharStream
Method to adjust line and column numbers for the start of a token.

B

BANG - Static variable in interface cager.jexpr.JExprConstants
 
BIT_AND - Static variable in interface cager.jexpr.JExprConstants
 
BIT_OR - Static variable in interface cager.jexpr.JExprConstants
 
BOOLEAN - Static variable in interface cager.jexpr.JExprConstants
 
BREAK - Static variable in interface cager.jexpr.JExprConstants
 
BYTE - Static variable in interface cager.jexpr.JExprConstants
 
BeginToken() - Method in class cager.jexpr.JavaCharStream
 
BinaryExpression - class cager.jexpr.ast.BinaryExpression.
 
BinaryExpression(Expression, Operator, Expression) - Constructor for class cager.jexpr.ast.BinaryExpression
 
BinaryExpression(Expression, String, Expression) - Constructor for class cager.jexpr.ast.BinaryExpression
 
Block() - Method in class cager.jexpr.JExpr
 
Block - class cager.jexpr.ast.Block.
An AST node to represent a block of statements.
Block() - Constructor for class cager.jexpr.ast.Block
 
BlockStatement() - Method in class cager.jexpr.JExpr
 
BooleanLiteral() - Method in class cager.jexpr.JExpr
 
BreakStatement() - Method in class cager.jexpr.JExpr
 
backup(int) - Method in class cager.jexpr.JavaCharStream
 
beginColumn - Variable in class cager.jexpr.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class cager.jexpr.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
bufcolumn - Variable in class cager.jexpr.JavaCharStream
 
buffer - Variable in class cager.jexpr.JavaCharStream
 
bufline - Variable in class cager.jexpr.JavaCharStream
 
bufpos - Variable in class cager.jexpr.JavaCharStream
 

C

CASE - Static variable in interface cager.jexpr.JExprConstants
 
CATCH - Static variable in interface cager.jexpr.JExprConstants
 
CHAR - Static variable in interface cager.jexpr.JExprConstants
 
CHARACTER_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
CLASS - Static variable in interface cager.jexpr.JExprConstants
 
COLON - Static variable in interface cager.jexpr.JExprConstants
 
COMMA - Static variable in interface cager.jexpr.JExprConstants
 
CONST - Static variable in interface cager.jexpr.JExprConstants
 
CONTINUE - Static variable in interface cager.jexpr.JExprConstants
 
CastExpression() - Method in class cager.jexpr.JExpr
 
CastExpression - class cager.jexpr.ast.CastExpression.
An AST node to represent a Cast, such as (Integer)obj.
CastExpression(Type, Expression) - Constructor for class cager.jexpr.ast.CastExpression
 
CastLookahead() - Method in class cager.jexpr.JExpr
 
ClassBody() - Method in class cager.jexpr.JExpr
 
ClassBodyDeclaration() - Method in class cager.jexpr.JExpr
 
ClassDeclaration() - Method in class cager.jexpr.JExpr
 
ClassDeclaration - class cager.jexpr.ast.ClassDeclaration.
 
ClassDeclaration() - Constructor for class cager.jexpr.ast.ClassDeclaration
 
CodeGenVisitor - class cager.jexpr.visitor.CodeGenVisitor.
 
CodeGenVisitor(String) - Constructor for class cager.jexpr.visitor.CodeGenVisitor
 
CompilationUnit() - Method in class cager.jexpr.JExpr
The CompilationUnit production is the top-level production.
CompilationUnit - class cager.jexpr.ast.CompilationUnit.
 
CompilationUnit(String, ClassDeclaration) - Constructor for class cager.jexpr.ast.CompilationUnit
 
ConditionalAndExpression() - Method in class cager.jexpr.JExpr
 
ConditionalExpression() - Method in class cager.jexpr.JExpr
 
ConditionalOrExpression() - Method in class cager.jexpr.JExpr
 
ConstructorDeclaration() - Method in class cager.jexpr.JExpr
Not implemented.
ContextVisitor - class cager.jexpr.visitor.ContextVisitor.
 
ContextVisitor() - Constructor for class cager.jexpr.visitor.ContextVisitor
 
ContinueStatement() - Method in class cager.jexpr.JExpr
 
cager.jexpr - package cager.jexpr
The top-level package for JExpr.
cager.jexpr.ast - package cager.jexpr.ast
Package containing ASTs for JExpr.
cager.jexpr.visitor - package cager.jexpr.visitor
Package containing visitors for JExpr.
classDeclaration - Variable in class cager.jexpr.ast.CompilationUnit
 
column - Variable in class cager.jexpr.JavaCharStream
 
createBinaryOp(Operator, Type) - Static method in class cager.jexpr.MyInstructionFactory
Create binary operation for cases not handled by the underlying InstructionFactory.
createUnaryOp(Operator, Type) - Method in class cager.jexpr.MyInstructionFactory
 
curChar - Variable in class cager.jexpr.JExprTokenManager
 
currentToken - Variable in class cager.jexpr.ParseException
This is the last token that has been consumed successfully.

D

DECIMAL_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
DECR - Static variable in interface cager.jexpr.JExprConstants
 
DEFAULT - Static variable in interface cager.jexpr.JExprConstants
 
DIGIT - Static variable in interface cager.jexpr.JExprConstants
 
DO - Static variable in interface cager.jexpr.JExprConstants
 
DOT - Static variable in interface cager.jexpr.JExprConstants
 
DOUBLE - Static variable in interface cager.jexpr.JExprConstants
 
DoStatement() - Method in class cager.jexpr.JExpr
 
Done() - Method in class cager.jexpr.JavaCharStream
 
debugStream - Variable in class cager.jexpr.JExprTokenManager
 
disable_tracing() - Method in class cager.jexpr.JExpr
 
dump(int) - Method in class cager.jexpr.Operator
 
dump(int) - Method in class cager.jexpr.ast.AST
Dump this node and all children to System.out.
dump(int) - Method in class cager.jexpr.ast.ArgumentList
 
dump(int) - Method in class cager.jexpr.ast.BinaryExpression
 
dump(int) - Method in class cager.jexpr.ast.Block
 
dump(int) - Method in class cager.jexpr.ast.CastExpression
 
dump(int) - Method in class cager.jexpr.ast.ClassDeclaration
 
dump(int) - Method in class cager.jexpr.ast.CompilationUnit
 
dump(int) - Method in class cager.jexpr.ast.FieldSelection
 
dump(int) - Method in class cager.jexpr.ast.FormalParameter
 
dump(int) - Method in class cager.jexpr.ast.FormalParameters
 
dump(int) - Method in class cager.jexpr.ast.IdentifierExpression
 
dump(int) - Method in class cager.jexpr.ast.IfStatement
 
dump(int) - Method in class cager.jexpr.ast.KeywordExpression
 
dump(int) - Method in class cager.jexpr.ast.LiteralExpression
 
dump(int) - Method in class cager.jexpr.ast.MethodDeclaration
 
dump(int) - Method in class cager.jexpr.ast.PrimaryExpression
 
dump(int) - Method in class cager.jexpr.ast.ReturnStatement
 
dump(int) - Method in class cager.jexpr.ast.TypedAST
 
dump(int) - Method in class cager.jexpr.ast.UnaryExpression
 
dumpChildren(int) - Method in class cager.jexpr.ast.AST
 
dumpPrefix(int) - Static method in class cager.jexpr.ast.AST
 

E

E - Variable in class cager.jexpr.ast.UnaryExpression
 
E1 - Variable in class cager.jexpr.ast.BinaryExpression
 
E2 - Variable in class cager.jexpr.ast.BinaryExpression
 
ELSE - Static variable in interface cager.jexpr.JExprConstants
 
EOF - Static variable in interface cager.jexpr.JExprConstants
 
EQ - Static variable in interface cager.jexpr.JExprConstants
 
EXPONENT - Static variable in interface cager.jexpr.JExprConstants
 
EXTENDS - Static variable in interface cager.jexpr.JExprConstants
 
EmptyStatement() - Method in class cager.jexpr.JExpr
 
EqualityExpression() - Method in class cager.jexpr.JExpr
 
ExclusiveOrExpression() - Method in class cager.jexpr.JExpr
 
ExpandBuff(boolean) - Method in class cager.jexpr.JavaCharStream
 
ExplicitConstructorInvocation() - Method in class cager.jexpr.JExpr
Not implemented.
Expression() - Method in class cager.jexpr.JExpr
Parse an expression returning an AST representing that expression.
Expression - class cager.jexpr.ast.Expression.
An abstract AST class to represent a generic expression.
Expression() - Constructor for class cager.jexpr.ast.Expression
 
enable_tracing() - Method in class cager.jexpr.JExpr
 
endColumn - Variable in class cager.jexpr.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class cager.jexpr.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
eol - Variable in class cager.jexpr.ParseException
The end of line string for this machine.
equals(Object) - Method in class cager.jexpr.Identifier
 
expectedTokenSequences - Variable in class cager.jexpr.ParseException
Each entry in this array is an array of integers.

F

FALSE - Static variable in interface cager.jexpr.JExprConstants
 
FINAL - Static variable in interface cager.jexpr.JExprConstants
 
FINALLY - Static variable in interface cager.jexpr.JExprConstants
 
FLOAT - Static variable in interface cager.jexpr.JExprConstants
 
FLOATING_POINT_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
FOR - Static variable in interface cager.jexpr.JExprConstants
 
FORMAL_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
FieldDeclaration() - Method in class cager.jexpr.JExpr
Not implemented.
FieldSelection - class cager.jexpr.ast.FieldSelection.
 
FieldSelection(Identifier) - Constructor for class cager.jexpr.ast.FieldSelection
 
FillBuff() - Method in class cager.jexpr.JavaCharStream
 
ForInit() - Method in class cager.jexpr.JExpr
 
ForStatement() - Method in class cager.jexpr.JExpr
 
ForUpdate() - Method in class cager.jexpr.JExpr
 
FormalParameter() - Method in class cager.jexpr.JExpr
 
FormalParameter - class cager.jexpr.ast.FormalParameter.
 
FormalParameter(String, Type) - Constructor for class cager.jexpr.ast.FormalParameter
 
FormalParameters() - Method in class cager.jexpr.JExpr
 
FormalParameters - class cager.jexpr.ast.FormalParameters.
 
FormalParameters() - Constructor for class cager.jexpr.ast.FormalParameters
 
frameIndex - Variable in class cager.jexpr.ast.VariableDeclaration
 

G

GE - Static variable in interface cager.jexpr.JExprConstants
 
GOTO - Static variable in interface cager.jexpr.JExprConstants
 
GT - Static variable in interface cager.jexpr.JExprConstants
 
GetImage() - Method in class cager.jexpr.JavaCharStream
 
GetSuffix(int) - Method in class cager.jexpr.JavaCharStream
 
generateParseException() - Method in class cager.jexpr.JExpr
 
getBeginColumn() - Method in class cager.jexpr.JavaCharStream
 
getBeginLine() - Method in class cager.jexpr.JavaCharStream
 
getBinary(String) - Static method in class cager.jexpr.Operator
 
getBlock() - Method in class cager.jexpr.ast.MethodDeclaration
 
getChildren() - Method in class cager.jexpr.ast.AST
 
getChildren() - Method in class cager.jexpr.ast.ArgumentList
 
getChildren() - Method in class cager.jexpr.ast.BinaryExpression
 
getChildren() - Method in class cager.jexpr.ast.Block
 
getChildren() - Method in class cager.jexpr.ast.CastExpression
 
getChildren() - Method in class cager.jexpr.ast.ClassDeclaration
 
getChildren() - Method in class cager.jexpr.ast.CompilationUnit
 
getChildren() - Method in class cager.jexpr.ast.FieldSelection
 
getChildren() - Method in class cager.jexpr.ast.FormalParameter
 
getChildren() - Method in class cager.jexpr.ast.FormalParameters
 
getChildren() - Method in class cager.jexpr.ast.IdentifierExpression
 
getChildren() - Method in class cager.jexpr.ast.IfStatement
 
getChildren() - Method in class cager.jexpr.ast.KeywordExpression
 
getChildren() - Method in class cager.jexpr.ast.LiteralExpression
 
getChildren() - Method in class cager.jexpr.ast.MethodDeclaration
 
getChildren() - Method in class cager.jexpr.ast.PrimaryExpression
 
getChildren() - Method in class cager.jexpr.ast.ReturnStatement
 
getChildren() - Method in class cager.jexpr.ast.UnaryExpression
 
getColumn() - Method in class cager.jexpr.JavaCharStream
Deprecated.  
getDeclaration() - Method in class cager.jexpr.ast.IdentifierExpression
 
getElseClause() - Method in class cager.jexpr.ast.IfStatement
 
getEndColumn() - Method in class cager.jexpr.JavaCharStream
 
getEndLine() - Method in class cager.jexpr.JavaCharStream
 
getExpression() - Method in class cager.jexpr.ast.CastExpression
 
getExpression() - Method in class cager.jexpr.ast.IfStatement
 
getExpression() - Method in class cager.jexpr.ast.ReturnStatement
 
getId() - Method in class cager.jexpr.Operator
 
getImplicitCast1() - Method in class cager.jexpr.OperatorTypeInfo
TODO - document these.
getImplicitCast2() - Method in class cager.jexpr.OperatorTypeInfo
TODO - document these.
getLine() - Method in class cager.jexpr.JavaCharStream
Deprecated.  
getMessage() - Method in class cager.jexpr.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class cager.jexpr.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethod(int) - Method in class cager.jexpr.ast.ClassDeclaration
 
getMethod(String) - Method in class cager.jexpr.ast.ClassDeclaration
 
getMethods() - Method in class cager.jexpr.ast.ClassDeclaration
 
getName() - Method in class cager.jexpr.Identifier
 
getName() - Method in class cager.jexpr.Operator
 
getName() - Method in class cager.jexpr.ast.ClassDeclaration
 
getName() - Method in class cager.jexpr.ast.IdentifierExpression
 
getName() - Method in class cager.jexpr.ast.MethodDeclaration
 
getName() - Method in class cager.jexpr.ast.VariableDeclaration
 
getNextToken() - Method in class cager.jexpr.JExpr
 
getNextToken() - Method in class cager.jexpr.JExprTokenManager
 
getParameter(int) - Method in class cager.jexpr.ast.FormalParameters
 
getParameter(String) - Method in class cager.jexpr.ast.FormalParameters
 
getParameters() - Method in class cager.jexpr.ast.FieldSelection
 
getParameters() - Method in class cager.jexpr.ast.FormalParameters
 
getParameters() - Method in class cager.jexpr.ast.MethodDeclaration
 
getParent() - Method in class cager.jexpr.ast.AST
 
getResultType() - Method in class cager.jexpr.OperatorTypeInfo
 
getStatement(int) - Method in class cager.jexpr.ast.Block
Get the statement indexed by index.
getStatements() - Method in class cager.jexpr.ast.Block
Returns children as Statement[].
getThenClause() - Method in class cager.jexpr.ast.IfStatement
 
getToken(int) - Method in class cager.jexpr.JExpr
 
getType(String) - Static method in class cager.jexpr.Types
 
getType() - Method in class cager.jexpr.ast.TypedAST
 
getTypeInfo(Type, Type) - Method in class cager.jexpr.Operator
 
getTypeInfo(Type) - Method in class cager.jexpr.Operator
 
getUnary(String) - Static method in class cager.jexpr.Operator
 
getValue() - Method in class cager.jexpr.ast.KeywordExpression
 
getValue() - Method in class cager.jexpr.ast.LiteralExpression
 

H

HEX_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
HOOK - Static variable in interface cager.jexpr.JExprConstants
 
hashCode() - Method in class cager.jexpr.Identifier
 

I

IDENTIFIER - Static variable in interface cager.jexpr.JExprConstants
 
IF - Static variable in interface cager.jexpr.JExprConstants
 
IMPLEMENTS - Static variable in interface cager.jexpr.JExprConstants
 
IMPORT - Static variable in interface cager.jexpr.JExprConstants
 
INCR - Static variable in interface cager.jexpr.JExprConstants
 
INSTANCEOF - Static variable in interface cager.jexpr.JExprConstants
 
INT - Static variable in interface cager.jexpr.JExprConstants
 
INTEGER_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
INTERFACE - Static variable in interface cager.jexpr.JExprConstants
 
IN_FORMAL_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
IN_MULTI_LINE_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
IN_SINGLE_LINE_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
Identifier - class cager.jexpr.Identifier.
 
Identifier(String) - Constructor for class cager.jexpr.Identifier
 
IdentifierExpression - class cager.jexpr.ast.IdentifierExpression.
 
IdentifierExpression(String) - Constructor for class cager.jexpr.ast.IdentifierExpression
 
IfStatement() - Method in class cager.jexpr.JExpr
 
IfStatement - class cager.jexpr.ast.IfStatement.
 
IfStatement() - Constructor for class cager.jexpr.ast.IfStatement
 
ImportDeclaration() - Method in class cager.jexpr.JExpr
Not implemented.
InclusiveOrExpression() - Method in class cager.jexpr.JExpr
 
Initializer() - Method in class cager.jexpr.JExpr
Not implemented.
InstanceOfExpression() - Method in class cager.jexpr.JExpr
 
InterfaceDeclaration() - Method in class cager.jexpr.JExpr
Not implemented.
InterfaceMemberDeclaration() - Method in class cager.jexpr.JExpr
 
identifier - Variable in class cager.jexpr.ast.VariableDeclaration
 
image - Variable in class cager.jexpr.Token
The string image of the token.
inBuf - Variable in class cager.jexpr.JavaCharStream
 
inputStream - Variable in class cager.jexpr.JavaCharStream
 
input_stream - Variable in class cager.jexpr.JExprTokenManager
 
isBooleanType(Type) - Static method in class cager.jexpr.Types
 
isNumericType(Type) - Static method in class cager.jexpr.Types
 

J

JExpr - class cager.jexpr.JExpr.
JExpr - a parser for a very small subset of Java.
JExpr(InputStream) - Constructor for class cager.jexpr.JExpr
 
JExpr(Reader) - Constructor for class cager.jexpr.JExpr
 
JExpr(JExprTokenManager) - Constructor for class cager.jexpr.JExpr
 
JExprConstants - interface cager.jexpr.JExprConstants.
 
JExprTokenManager - class cager.jexpr.JExprTokenManager.
 
JExprTokenManager(JavaCharStream) - Constructor for class cager.jexpr.JExprTokenManager
 
JExprTokenManager(JavaCharStream, int) - Constructor for class cager.jexpr.JExprTokenManager
 
JavaCharStream - class cager.jexpr.JavaCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(Reader, int, int, int) - Constructor for class cager.jexpr.JavaCharStream
 
JavaCharStream(Reader, int, int) - Constructor for class cager.jexpr.JavaCharStream
 
JavaCharStream(Reader) - Constructor for class cager.jexpr.JavaCharStream
 
JavaCharStream(InputStream, int, int, int) - Constructor for class cager.jexpr.JavaCharStream
 
JavaCharStream(InputStream, int, int) - Constructor for class cager.jexpr.JavaCharStream
 
JavaCharStream(InputStream) - Constructor for class cager.jexpr.JavaCharStream
 
jjFillToken() - Method in class cager.jexpr.JExprTokenManager
 
jj_nt - Variable in class cager.jexpr.JExpr
 
jjnewLexState - Static variable in class cager.jexpr.JExprTokenManager
 
jjstrLiteralImages - Static variable in class cager.jexpr.JExprTokenManager
 

K

KeywordExpression - class cager.jexpr.ast.KeywordExpression.
 
KeywordExpression(Object, Type) - Constructor for class cager.jexpr.ast.KeywordExpression
 
kind - Variable in class cager.jexpr.Token
An integer that describes the kind of this token.

L

LBRACE - Static variable in interface cager.jexpr.JExprConstants
 
LBRACKET - Static variable in interface cager.jexpr.JExprConstants
 
LE - Static variable in interface cager.jexpr.JExprConstants
 
LETTER - Static variable in interface cager.jexpr.JExprConstants
 
LONG - Static variable in interface cager.jexpr.JExprConstants
 
LPAREN - Static variable in interface cager.jexpr.JExprConstants
 
LSHIFT - Static variable in interface cager.jexpr.JExprConstants
 
LSHIFTASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
LT - Static variable in interface cager.jexpr.JExprConstants
 
LabeledStatement() - Method in class cager.jexpr.JExpr
 
LexicalError(boolean, int, int, int, String, char) - Static method in class cager.jexpr.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
Literal() - Method in class cager.jexpr.JExpr
 
LiteralExpression - class cager.jexpr.ast.LiteralExpression.
 
LiteralExpression(Object) - Constructor for class cager.jexpr.ast.LiteralExpression
 
LiteralExpression(Object, Type) - Constructor for class cager.jexpr.ast.LiteralExpression
 
LocalVariableDeclaration() - Method in class cager.jexpr.JExpr
 
lexStateNames - Static variable in class cager.jexpr.JExprTokenManager
 
line - Variable in class cager.jexpr.JavaCharStream
 
lookingAhead - Variable in class cager.jexpr.JExpr
 

M

MINUS - Static variable in interface cager.jexpr.JExprConstants
 
MINUSASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
MULTI_LINE_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
MethodDeclaration() - Method in class cager.jexpr.JExpr
 
MethodDeclaration - class cager.jexpr.ast.MethodDeclaration.
 
MethodDeclaration() - Constructor for class cager.jexpr.ast.MethodDeclaration
 
MethodDeclarationLookahead() - Method in class cager.jexpr.JExpr
This production is to determine lookahead only.
MultiplicativeExpression() - Method in class cager.jexpr.JExpr
 
MyInstructionFactory - class cager.jexpr.MyInstructionFactory.
 
MyInstructionFactory(ClassGen, ConstantPoolGen) - Constructor for class cager.jexpr.MyInstructionFactory
 
MyInstructionFactory(ConstantPoolGen) - Constructor for class cager.jexpr.MyInstructionFactory
 
MyInstructionFactory(ClassGen) - Constructor for class cager.jexpr.MyInstructionFactory
 
main(String[]) - Static method in class cager.jexpr.JExpr
 
maxNextCharInd - Variable in class cager.jexpr.JavaCharStream
 

N

NATIVE - Static variable in interface cager.jexpr.JExprConstants
 
NE - Static variable in interface cager.jexpr.JExprConstants
 
NEW - Static variable in interface cager.jexpr.JExprConstants
 
NULL - Static variable in interface cager.jexpr.JExprConstants
 
Name() - Method in class cager.jexpr.JExpr
Parse a (qualified) Name such as a.b.c
NameList() - Method in class cager.jexpr.JExpr
 
NestedClassDeclaration() - Method in class cager.jexpr.JExpr
 
NestedInterfaceDeclaration() - Method in class cager.jexpr.JExpr
 
NullLiteral() - Method in class cager.jexpr.JExpr
 
NullVisitor - class cager.jexpr.visitor.NullVisitor.
 
NullVisitor() - Constructor for class cager.jexpr.visitor.NullVisitor
 
name - Variable in class cager.jexpr.Identifier
 
name - Variable in class cager.jexpr.ast.IdentifierExpression
 
newToken(int) - Static method in class cager.jexpr.Token
Returns a new Token object, by default.
next - Variable in class cager.jexpr.Token
A reference to the next regular (non-special) token from the input stream.
nextCharBuf - Variable in class cager.jexpr.JavaCharStream
 
nextCharInd - Variable in class cager.jexpr.JavaCharStream
 

O

OCTAL_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
ORASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
Operator - class cager.jexpr.Operator.
A type resolver implementation for operators.
OperatorTypeInfo - class cager.jexpr.OperatorTypeInfo.
Information about an operation's result type.
op - Variable in class cager.jexpr.ast.BinaryExpression
 
op - Variable in class cager.jexpr.ast.UnaryExpression
 

P

PACKAGE - Static variable in interface cager.jexpr.JExprConstants
 
PLUS - Static variable in interface cager.jexpr.JExprConstants
 
PLUSASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
PRIVATE - Static variable in interface cager.jexpr.JExprConstants
 
PROTECTED - Static variable in interface cager.jexpr.JExprConstants
 
PUBLIC - Static variable in interface cager.jexpr.JExprConstants
 
PackageDeclaration() - Method in class cager.jexpr.JExpr
A package declaration.
ParseException - exception cager.jexpr.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class cager.jexpr.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for class cager.jexpr.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class cager.jexpr.ParseException
 
PostfixExpression() - Method in class cager.jexpr.JExpr
 
PreDecrementExpression() - Method in class cager.jexpr.JExpr
 
PreIncrementExpression() - Method in class cager.jexpr.JExpr
 
PrimaryExpression() - Method in class cager.jexpr.JExpr
 
PrimaryExpression - class cager.jexpr.ast.PrimaryExpression.
 
PrimaryExpression() - Constructor for class cager.jexpr.ast.PrimaryExpression
 
PrimaryPrefix(PrimaryExpression) - Method in class cager.jexpr.JExpr
 
PrimarySuffix(PrimaryExpression) - Method in class cager.jexpr.JExpr
 
PrimitiveType() - Method in class cager.jexpr.JExpr
 
packageName - Variable in class cager.jexpr.ast.CompilationUnit
 
postfix - Variable in class cager.jexpr.ast.UnaryExpression
 
prevCharIsCR - Variable in class cager.jexpr.JavaCharStream
 
prevCharIsLF - Variable in class cager.jexpr.JavaCharStream
 

R

RBRACE - Static variable in interface cager.jexpr.JExprConstants
 
RBRACKET - Static variable in interface cager.jexpr.JExprConstants
 
REM - Static variable in interface cager.jexpr.JExprConstants
 
REMASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
RETURN - Static variable in interface cager.jexpr.JExprConstants
 
RPAREN - Static variable in interface cager.jexpr.JExprConstants
 
RSIGNEDSHIFT - Static variable in interface cager.jexpr.JExprConstants
 
RSIGNEDSHIFTASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
RUNSIGNEDSHIFT - Static variable in interface cager.jexpr.JExprConstants
 
RUNSIGNEDSHIFTASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
ReInit(InputStream) - Method in class cager.jexpr.JExpr
 
ReInit(Reader) - Method in class cager.jexpr.JExpr
 
ReInit(JExprTokenManager) - Method in class cager.jexpr.JExpr
 
ReInit(JavaCharStream) - Method in class cager.jexpr.JExprTokenManager
 
ReInit(JavaCharStream, int) - Method in class cager.jexpr.JExprTokenManager
 
ReInit(Reader, int, int, int) - Method in class cager.jexpr.JavaCharStream
 
ReInit(Reader, int, int) - Method in class cager.jexpr.JavaCharStream
 
ReInit(Reader) - Method in class cager.jexpr.JavaCharStream
 
ReInit(InputStream, int, int, int) - Method in class cager.jexpr.JavaCharStream
 
ReInit(InputStream, int, int) - Method in class cager.jexpr.JavaCharStream
 
ReInit(InputStream) - Method in class cager.jexpr.JavaCharStream
 
ReadByte() - Method in class cager.jexpr.JavaCharStream
 
RelationalExpression() - Method in class cager.jexpr.JExpr
 
ResultType() - Method in class cager.jexpr.JExpr
A ResultType is either "void" or a Type.
ReturnStatement() - Method in class cager.jexpr.JExpr
 
ReturnStatement - class cager.jexpr.ast.ReturnStatement.
 
ReturnStatement(Expression) - Constructor for class cager.jexpr.ast.ReturnStatement
 
readChar() - Method in class cager.jexpr.JavaCharStream
 

S

SC_AND - Static variable in interface cager.jexpr.JExprConstants
 
SC_OR - Static variable in interface cager.jexpr.JExprConstants
 
SEMICOLON - Static variable in interface cager.jexpr.JExprConstants
 
SHORT - Static variable in interface cager.jexpr.JExprConstants
 
SINGLE_LINE_COMMENT - Static variable in interface cager.jexpr.JExprConstants
 
SLASH - Static variable in interface cager.jexpr.JExprConstants
 
SLASHASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
STAR - Static variable in interface cager.jexpr.JExprConstants
 
STARASSIGN - Static variable in interface cager.jexpr.JExprConstants
 
STATIC - Static variable in interface cager.jexpr.JExprConstants
 
STRICTFP - Static variable in interface cager.jexpr.JExprConstants
 
STRING_LITERAL - Static variable in interface cager.jexpr.JExprConstants
 
SUBTRACT - Static variable in class cager.jexpr.ast.UnaryExpression
 
SUPER - Static variable in interface cager.jexpr.JExprConstants
 
SWITCH - Static variable in interface cager.jexpr.JExprConstants
 
SYNCHRONIZED - Static variable in interface cager.jexpr.JExprConstants
 
ShiftExpression() - Method in class cager.jexpr.JExpr
 
Statement() - Method in class cager.jexpr.JExpr
 
Statement - class cager.jexpr.ast.Statement.
 
Statement() - Constructor for class cager.jexpr.ast.Statement
 
StatementExpression() - Method in class cager.jexpr.JExpr
 
StatementExpressionList() - Method in class cager.jexpr.JExpr
 
SwitchLabel() - Method in class cager.jexpr.JExpr
 
SwitchStatement() - Method in class cager.jexpr.JExpr
 
SwitchTo(int) - Method in class cager.jexpr.JExprTokenManager
 
SynchronizedStatement() - Method in class cager.jexpr.JExpr
 
setBlock(Block) - Method in class cager.jexpr.ast.MethodDeclaration
 
setDebugStream(PrintStream) - Method in class cager.jexpr.JExprTokenManager
 
setDeclaration(VariableDeclaration) - Method in class cager.jexpr.ast.IdentifierExpression
 
setElseClause(Statement) - Method in class cager.jexpr.ast.IfStatement
 
setExpression(Expression) - Method in class cager.jexpr.ast.IfStatement
 
setExpression(Expression) - Method in class cager.jexpr.ast.ReturnStatement
 
setName(Identifier) - Method in class cager.jexpr.ast.ClassDeclaration
 
setName(Identifier) - Method in class cager.jexpr.ast.MethodDeclaration
 
setParameters(Expression[]) - Method in class cager.jexpr.ast.FieldSelection
 
setParameters(FormalParameters) - Method in class cager.jexpr.ast.MethodDeclaration
 
setParent(AST) - Method in class cager.jexpr.ast.AST
 
setThenClause(Statement) - Method in class cager.jexpr.ast.IfStatement
 
setType(Type) - Method in class cager.jexpr.ast.TypedAST
 
setValue(Object) - Method in class cager.jexpr.ast.KeywordExpression
 
specialConstructor - Variable in class cager.jexpr.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class cager.jexpr.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag - Static variable in class cager.jexpr.JavaCharStream
 

T

THIS - Static variable in interface cager.jexpr.JExprConstants
 
THROW - Static variable in interface cager.jexpr.JExprConstants
 
THROWS - Static variable in interface cager.jexpr.JExprConstants
 
TILDE - Static variable in interface cager.jexpr.JExprConstants
 
TRANSIENT - Static variable in interface cager.jexpr.JExprConstants
 
TRUE - Static variable in interface cager.jexpr.JExprConstants
 
TRY - Static variable in interface cager.jexpr.JExprConstants
 
ThrowStatement() - Method in class cager.jexpr.JExpr
 
Token - class cager.jexpr.Token.
Describes the input token stream.
Token() - Constructor for class cager.jexpr.Token
 
TokenMgrError - error cager.jexpr.TokenMgrError.
 
TokenMgrError() - Constructor for class cager.jexpr.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class cager.jexpr.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class cager.jexpr.TokenMgrError
 
TryStatement() - Method in class cager.jexpr.JExpr
 
Type() - Method in class cager.jexpr.JExpr
Parse a "Type", which may be a primitive Type, a class name or an array (arrays not implemented).
TypeDeclaration() - Method in class cager.jexpr.JExpr
 
TypeName() - Method in class cager.jexpr.JExpr
 
TypedAST - class cager.jexpr.ast.TypedAST.
 
TypedAST(AST) - Constructor for class cager.jexpr.ast.TypedAST
 
TypedAST() - Constructor for class cager.jexpr.ast.TypedAST
 
Types - class cager.jexpr.Types.
 
toString() - Method in class cager.jexpr.Identifier
 
toString() - Method in class cager.jexpr.OperatorTypeInfo
 
toString() - Method in class cager.jexpr.Token
Returns the image.
toString() - Method in class cager.jexpr.ast.IdentifierExpression
 
token - Variable in class cager.jexpr.JExpr
 
tokenImage - Static variable in interface cager.jexpr.JExprConstants
 
tokenImage - Variable in class cager.jexpr.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
token_source - Variable in class cager.jexpr.JExpr
 
type - Variable in class cager.jexpr.ast.TypedAST
 

U

UnaryExpression() - Method in class cager.jexpr.JExpr
 
UnaryExpression - class cager.jexpr.ast.UnaryExpression.
 
UnaryExpression(Expression, Operator, boolean) - Constructor for class cager.jexpr.ast.UnaryExpression
 
UnaryExpression(Expression, String, boolean) - Constructor for class cager.jexpr.ast.UnaryExpression
 
UnaryExpressionNotPlusMinus() - Method in class cager.jexpr.JExpr
 
UnmodifiedClassDeclaration() - Method in class cager.jexpr.JExpr
 
UnmodifiedInterfaceDeclaration() - Method in class cager.jexpr.JExpr
 
UpdateLineColumn(char) - Method in class cager.jexpr.JavaCharStream
 

V

VOID - Static variable in interface cager.jexpr.JExprConstants
 
VOLATILE - Static variable in interface cager.jexpr.JExprConstants
 
VariableDeclaration - class cager.jexpr.ast.VariableDeclaration.
 
VariableDeclaration(String, Type) - Constructor for class cager.jexpr.ast.VariableDeclaration
 
VariableDeclarator() - Method in class cager.jexpr.JExpr
 
VariableDeclaratorId() - Method in class cager.jexpr.JExpr
 
VariableInitializer() - Method in class cager.jexpr.JExpr
 
Visitor - interface cager.jexpr.visitor.Visitor.
 
value - Variable in class cager.jexpr.ast.LiteralExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.AST
Provided to implement the visitor pattern.
visit(Visitor, Object) - Method in class cager.jexpr.ast.ArgumentList
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.BinaryExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.Block
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.CastExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.ClassDeclaration
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.CompilationUnit
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.FieldSelection
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.FormalParameter
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.FormalParameters
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.IdentifierExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.IfStatement
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.KeywordExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.LiteralExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.MethodDeclaration
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.PrimaryExpression
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.ReturnStatement
 
visit(Visitor, Object) - Method in class cager.jexpr.ast.UnaryExpression
 
visitArgumentList(ArgumentList, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitArgumentList(ArgumentList, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitBinaryExpression(BinaryExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitBinaryExpression(BinaryExpression, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitBinaryExpression(BinaryExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitBinaryExpression(BinaryExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitBlock(Block, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitBlock(Block, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitCastExpression(CastExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitCastExpression(CastExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitCastExpression(CastExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitChildren(AST, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitClassDeclaration(ClassDeclaration, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitClassDeclaration(ClassDeclaration, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitClassDeclaration(ClassDeclaration, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitClassDeclaration(ClassDeclaration, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitCompilationUnit(CompilationUnit, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitCompilationUnit(CompilationUnit, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitCompilationUnit(CompilationUnit, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitCompilationUnit(CompilationUnit, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitFieldSelection(FieldSelection, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitFieldSelection(FieldSelection, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitFieldSelection(FieldSelection, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitFormalParameter(FormalParameter, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitFormalParameter(FormalParameter, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitFormalParameter(FormalParameter, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitFormalParameter(FormalParameter, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitFormalParameters(FormalParameters, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitFormalParameters(FormalParameters, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitFormalParameters(FormalParameters, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitIdentifierExpression(IdentifierExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitIdentifierExpression(IdentifierExpression, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitIdentifierExpression(IdentifierExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitIdentifierExpression(IdentifierExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitIfStatement(IfStatement, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitIfStatement(IfStatement, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitIfStatement(IfStatement, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitIfStatement(IfStatement, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitKeywordExpression(KeywordExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitKeywordExpression(KeywordExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitKeywordExpression(KeywordExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitLiteralExpression(LiteralExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitLiteralExpression(LiteralExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitLiteralExpression(LiteralExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitMethodDeclaration(MethodDeclaration, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitMethodDeclaration(MethodDeclaration, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitMethodDeclaration(MethodDeclaration, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitMethodDeclaration(MethodDeclaration, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitPrimaryExpression(PrimaryExpression, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitPrimaryExpression(PrimaryExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitPrimaryExpression(PrimaryExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitReturnStatement(ReturnStatement, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitReturnStatement(ReturnStatement, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitReturnStatement(ReturnStatement, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitReturnStatement(ReturnStatement, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitUnaryExpression(UnaryExpression, Object) - Method in class cager.jexpr.visitor.CodeGenVisitor
 
visitUnaryExpression(UnaryExpression, Object) - Method in class cager.jexpr.visitor.ContextVisitor
 
visitUnaryExpression(UnaryExpression, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitUnaryExpression(UnaryExpression, Object) - Method in interface cager.jexpr.visitor.Visitor
 
visitVariableDeclaration(VariableDeclaration, Object) - Method in class cager.jexpr.visitor.NullVisitor
 
visitVariableDeclaration(VariableDeclaration, Object) - Method in interface cager.jexpr.visitor.Visitor
 

W

WHILE - Static variable in interface cager.jexpr.JExprConstants
 
WhileStatement() - Method in class cager.jexpr.JExpr
 
widest(BasicType, BasicType) - Static method in class cager.jexpr.Types
 

X

XOR - Static variable in interface cager.jexpr.JExprConstants
 
XORASSIGN - Static variable in interface cager.jexpr.JExprConstants
 

_

_DEFAULT - Static variable in interface cager.jexpr.JExprConstants
 

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