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

A

ABSTRACT - Static variable in interface junc.parser.JavaTokenTypes
 
aCase(SwitchLabelNode) - Method in class junc.parser.JavaParser
 
accessFlags - Variable in class junc.ast.ClassBodyDeclarationNode
Describe variable accessFlags here.
accessFlags - Variable in class junc.ast.TypeDeclarationNode
 
acount() - Method in class junc.types.MethodDescriptor
 
add_throw(JUnCBaseType, JUnCASTNode) - Method in class junc.debug.ExceptionStack
 
add_throws(Hashtable) - Method in class junc.debug.ExceptionStack
 
add_throws(Vector, JUnCASTNode) - Method in class junc.debug.ExceptionStack
 
ADD() - Method in class junc.types.DoubleType
 
ADD() - Method in class junc.types.FloatType
 
ADD() - Method in class junc.types.IntegralType
 
ADD() - Method in class junc.types.JUnCBaseType
 
ADD() - Method in class junc.types.LongType
 
addBreak(InstructionHandle) - Method in class junc.ast.LabeledStatementNode
Add an instruction to the break list for backpatching.
addContinue(InstructionHandle) - Method in class junc.ast.LabeledStatementNode
Add an instruction to the continue list for backpatching.
addFalseList(InstructionHandle) - Method in class junc.ast.ExpressionNode
Add an instruction to the false list for backpatching.
addField(Symbol, FieldDeclarationNode) - Method in class junc.symtab.SymbolTable
Adds a field name to the symbol table.
addFormal(Symbol, FormalParameterNode) - Method in class junc.symtab.SymbolTable
Adds a formal param to the symbol table.
addImport(Symbol) - Method in class junc.ast.CompilationUnitNode
Add an import symbol.
AdditiveExpNode - class junc.ast.AdditiveExpNode.
Describe class AdditiveExpNode here.
AdditiveExpNode(ExpressionNode, ExpressionNode, int) - Constructor for class junc.ast.AdditiveExpNode
Creates a new AdditiveExpNode instance.
additiveExpression() - Method in class junc.parser.JavaParser
 
addLabel(Symbol, LabeledStatementNode) - Method in class junc.symtab.SymbolTable
Adds a statement label to the symbol table.
addLocal(Symbol, LocalVarDeclarationNode) - Method in class junc.symtab.SymbolTable
Adds a local var to the symbol table.
addMethod(Symbol, MethodDeclarationNode) - Method in class junc.symtab.SymbolTable
Adds a method name to the symbol table.
addPackage(Symbol, CompilationUnitNode) - Method in class junc.symtab.SymbolTable
Adds a package declaration to the symbol table.
addPrimop(Symbol, MethodType) - Method in class junc.symtab.SymbolTable
Adds a primop name to the symbol table.
addQualifiedImport(String) - Method in class junc.cim.ClassImportManager
The list of starred imports is maintained by the ClassImportManager.
addQualifiedImport(Symbol) - Method in class junc.cim.ClassImportManager
Describe addQualifiedImport method here.
addStatement(StatementNode) - Method in class junc.ast.BlockNode
Describe addStatement method here.
ADDSTRING(ClassGen, MethodGen, boolean) - Method in class junc.types.JUnCBaseType
 
addToConstantPool(ClassGen) - Method in class junc.ast.BooleanLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.CharacterLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.DoubleLiteral
Describe addToConstantPool method here.
addToConstantPool(ClassGen) - Method in class junc.ast.FloatLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.IntegerLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.Literal
 
addToConstantPool(ClassGen) - Method in class junc.ast.LongLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.NullLiteral
 
addToConstantPool(ClassGen) - Method in class junc.ast.StringLiteral
 
addTrueList(InstructionHandle) - Method in class junc.ast.ExpressionNode
Add an instruction to the true list for backpatching.
addType(Symbol, TypeDeclarationNode) - Method in class junc.symtab.SymbolTable
Adds a class or an interface name to the symbol table.
AllocationExpNode - class junc.ast.AllocationExpNode.
 
AllocationExpNode(JUnCBaseType, Vector, boolean) - Constructor for class junc.ast.AllocationExpNode
 
ALOAD() - Method in class junc.types.BooleanType
 
ALOAD() - Method in class junc.types.ByteType
 
ALOAD() - Method in class junc.types.CharType
 
ALOAD() - Method in class junc.types.DoubleType
 
ALOAD() - Method in class junc.types.FloatType
 
ALOAD() - Method in class junc.types.IntType
 
ALOAD() - Method in class junc.types.JUnCBaseType
 
ALOAD() - Method in class junc.types.LongType
 
ALOAD() - Method in class junc.types.ReferenceType
 
ALOAD() - Method in class junc.types.ShortType
 
AmbiguousName - exception junc.debug.AmbiguousName.
 
AmbiguousName(Symbol) - Constructor for class junc.debug.AmbiguousName
 
AMBITYPE_ERR - Static variable in class junc.debug.ErrorMessages
 
AND - Static variable in class junc.symtab.Operators
 
AND_EQ - Static variable in class junc.symtab.Operators
 
AND() - Method in class junc.types.BooleanType
 
AND() - Method in class junc.types.IntegralType
 
AND() - Method in class junc.types.JUnCBaseType
 
AND() - Method in class junc.types.LongType
 
AndExpNode - class junc.ast.AndExpNode.
 
AndExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.AndExpNode
 
andExpression() - Method in class junc.parser.JavaParser
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.ArrayType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.ByteType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.ClassType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.JUnCBaseType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.NullType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.PrimitiveType
 
APPENDSTB(ConstantPoolGen) - Method in class junc.types.ShortType
 
appendToFalseList(InstructionList) - Method in class junc.ast.ExpressionNode
Append a list to the false list.
appendToTrueList(InstructionList) - Method in class junc.ast.ExpressionNode
Append a list to the true list.
argList() - Method in class junc.parser.JavaParser
 
args - Variable in class junc.ast.AllocationExpNode
An ExpressionNode vector for each dimension or for each actual parameter of the class constructor.
args - Variable in class junc.ast.ConstructorInvocationNode
Vector containing invocation arguments.
args - Variable in class junc.ast.MethodExpNode
The list of arguments.
argsCount() - Method in class junc.types.MethodType
 
argsNames() - Method in class junc.ast.MethodDeclarationNode
 
argsType() - Method in class junc.ast.MethodDeclarationNode
 
argsType() - Method in class junc.types.MethodType
 
array - Variable in class junc.ast.AllocationExpNode
This flag determines if the parameters in the args vector correspond to an array allocation or a constructor call.
ARRAY_DECLARATOR - Static variable in interface junc.parser.JavaTokenTypes
 
ARRAY_INIT - Static variable in interface junc.parser.JavaTokenTypes
 
ArrayExpNode - class junc.ast.ArrayExpNode.
Describe class ArrayExpNode here.
ArrayExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.ArrayExpNode
Creates a new ArrayExpNode instance.
arrayInitializer() - Method in class junc.parser.JavaParser
 
ArrayInitializerNode - class junc.ast.ArrayInitializerNode.
Describe class ArrayInitializerNode here.
ArrayInitializerNode(Vector) - Constructor for class junc.ast.ArrayInitializerNode
Creates a new ArrayInitializerNode instance.
ArrayType - class junc.types.ArrayType.
 
ArrayType(JUnCBaseType, int) - Constructor for class junc.types.ArrayType
 
arrinitializer - Variable in class junc.ast.ArrayInitializerNode
Describe variable arrinitializer here.
ASSERT - Static variable in interface junc.parser.JavaTokenTypes
 
ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
assignmentExpression() - Method in class junc.parser.JavaParser
 
AssignmentNode - class junc.ast.AssignmentNode.
 
AssignmentNode() - Constructor for class junc.ast.AssignmentNode
 
AssignmentNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.AssignmentNode
 
astNode - Variable in class junc.ast.FieldExpNode
A reference to the AST node.
ASTORE() - Method in class junc.types.BooleanType
 
ASTORE() - Method in class junc.types.ByteType
 
ASTORE() - Method in class junc.types.CharType
 
ASTORE() - Method in class junc.types.DoubleType
 
ASTORE() - Method in class junc.types.FloatType
 
ASTORE() - Method in class junc.types.IntType
 
ASTORE() - Method in class junc.types.JUnCBaseType
 
ASTORE() - Method in class junc.types.LongType
 
ASTORE() - Method in class junc.types.ReferenceType
 
ASTORE() - Method in class junc.types.ShortType
 

B

backPatch(InstructionList, InstructionHandle) - Static method in class junc.ast.ExpressionNode
Backpatch a true or a false list.
BAND - Static variable in interface junc.parser.JavaTokenTypes
 
BAND_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
baseName() - Method in class junc.symtab.Symbol
 
baseName(int) - Method in class junc.symtab.Symbol
Returns the path name of a symbol after skipping over a number of specified separators, i.e, nskip - 1.
baseType() - Method in class junc.types.ArrayType
 
block - Variable in class junc.ast.MethodDeclarationNode
 
block - Variable in class junc.ast.StaticInitializerNode
 
block - Variable in class junc.ast.SynchronizedStatementNode
 
BLOCK - Static variable in interface junc.parser.JavaTokenTypes
 
BlockNode - class junc.ast.BlockNode.
Describe class BlockNode here.
BlockNode() - Constructor for class junc.ast.BlockNode
Creates a new BlockNode instance.
BNOT - Static variable in interface junc.parser.JavaTokenTypes
 
body - Variable in class junc.ast.TypeDeclarationNode
 
Boolean - Static variable in class junc.types.JUnCBaseType
 
BooleanLiteral - class junc.ast.BooleanLiteral.
 
BooleanLiteral(BigDecimal) - Constructor for class junc.ast.BooleanLiteral
 
BooleanLiteral(Boolean) - Constructor for class junc.ast.BooleanLiteral
 
BooleanRep - Static variable in class junc.types.JUnCBaseType
 
BooleanType - class junc.types.BooleanType.
 
BooleanType() - Constructor for class junc.types.BooleanType
 
BOR - Static variable in interface junc.parser.JavaTokenTypes
 
BOR_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
bound - Variable in class junc.ast.ForStatementNode
 
breakList - Variable in class junc.ast.LabeledStatementNode
 
BREAKNIL_ERR - Static variable in class junc.debug.ErrorMessages
 
BreakStatementNode - class junc.ast.BreakStatementNode.
 
BreakStatementNode() - Constructor for class junc.ast.BreakStatementNode
 
BSR - Static variable in interface junc.parser.JavaTokenTypes
 
BSR_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
builtInType() - Method in class junc.parser.JavaParser
 
JavaTokenTypes
 
Byte - Static variable in class junc.types.JUnCBaseType
 
ByteRep - Static variable in class junc.types.JUnCBaseType
 
ByteType - class junc.types.ByteType.
 
ByteType() - Constructor for class junc.types.ByteType
 

C

callee - Variable in class junc.ast.MethodExpNode
A ref to the AST node of the called method.
caller - Variable in class junc.ast.MethodExpNode
A ref to the AST node of the method where the call takes place.
candidateType() - Method in class junc.types.MethodDescriptor
 
canonicalize(String) - Method in class junc.cim.ClassImportManager
Describe canonicalize method here.
CASE_GROUP - Static variable in interface junc.parser.JavaTokenTypes
 
casesGroup() - Method in class junc.parser.JavaParser
 
caseSList(SwitchLabelNode) - Method in class junc.parser.JavaParser
 
CAST(JUnCBaseType) - Method in class junc.types.ByteType
 
CAST(JUnCBaseType) - Method in class junc.types.CharType
 
CAST(JUnCBaseType) - Method in class junc.types.DoubleType
 
CAST(JUnCBaseType) - Method in class junc.types.FloatType
 
CAST(JUnCBaseType) - Method in class junc.types.IntType
 
CAST(JUnCBaseType) - Method in class junc.types.JUnCBaseType
 
CAST(JUnCBaseType) - Method in class junc.types.LongType
 
CAST(JUnCBaseType) - Method in class junc.types.ShortType
 
CastExpNode - class junc.ast.CastExpNode.
Describe class CastExpNode here.
CastExpNode(ExpressionNode, JUnCBaseType) - Constructor for class junc.ast.CastExpNode
Creates a new CastExpNode instance.
catchBlocks - Variable in class junc.ast.TryStatementNode
 
catches(Vector) - Method in class junc.debug.ExceptionStack
 
catchParameter() - Method in class junc.parser.JavaParser
 
caught - Variable in class junc.debug.ExceptionStack
 
caughtStack - Variable in class junc.debug.ExceptionStack
 
Char - Static variable in class junc.types.JUnCBaseType
 
CHAR_LITERAL - Static variable in interface junc.parser.JavaTokenTypes
 
CharacterLiteral - class junc.ast.CharacterLiteral.
 
CharacterLiteral(Character) - Constructor for class junc.ast.CharacterLiteral
 
charAt(int) - Method in class junc.ast.StringLiteral
 
CharRep - Static variable in class junc.types.JUnCBaseType
 
CharType - class junc.types.CharType.
 
CharType() - Constructor for class junc.types.CharType
 
CLASS_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
CLASS_THROWABLE - Static variable in class junc.debug.ExceptionStack
 
classBlock(TypeDeclarationNode) - Method in class junc.parser.JavaParser
 
ClassBodyDeclarationNode - class junc.ast.ClassBodyDeclarationNode.
Describe class ClassBodyDeclarationNode here.
ClassDeclarationNode - class junc.ast.ClassDeclarationNode.
Describe class ClassDeclarationNode here.
ClassDeclarationNode() - Constructor for class junc.ast.ClassDeclarationNode
Creates a new ClassDeclarationNode instance.
CLASSDEF_ERR - Static variable in class junc.debug.ErrorMessages
 
classDefinition(int) - Method in class junc.parser.JavaParser
 
ClassImportManager - class junc.cim.ClassImportManager.
Describe class ClassImportManager here.
ClassImportManager(SymbolTable) - Constructor for class junc.cim.ClassImportManager
Creates a new ClassImportManager instance.
className - Variable in class junc.ast.AllocationExpNode
Here we keep the type name to which the invoked constructor belongs.
className - Variable in class junc.ast.ConstructorInvocationNode
Here we keep the type name to which the invoked constructor belongs.
className - Variable in class junc.ast.MethodExpNode
The type name to which the invoked method belongs.
className() - Method in class junc.types.MethodDescriptor
 
ClassType - class junc.types.ClassType.
 
ClassType(String) - Constructor for class junc.types.ClassType
 
ClassType(Symbol) - Constructor for class junc.types.ClassType
 
classTypeSpec() - Method in class junc.parser.JavaParser
 
clear() - Method in class junc.debug.ExceptionStack
 
CMP(boolean) - Method in class junc.types.DoubleType
 
CMP(boolean) - Method in class junc.types.JUnCBaseType
 
CMP(boolean) - Method in class junc.types.LongType
 
COLON - Static variable in interface junc.parser.JavaTokenTypes
 
COMMA - Static variable in interface junc.parser.JavaTokenTypes
 
compilationUnit() - Method in class junc.parser.JavaParser
 
CompilationUnitNode - class junc.ast.CompilationUnitNode.
Represents a Compilation Unit (one java source file).
CompilationUnitNode() - Constructor for class junc.ast.CompilationUnitNode
Creates a new CompilationUnitNode instance.
compoundStatement(boolean) - Method in class junc.parser.JavaParser
 
condition - Variable in class junc.ast.DoStatementNode
 
condition - Variable in class junc.ast.IfStatementNode
 
condition - Variable in class junc.ast.WhileStatementNode
 
ConditionalAndExpNode - class junc.ast.ConditionalAndExpNode.
 
ConditionalAndExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.ConditionalAndExpNode
 
ConditionalExpNode - class junc.ast.ConditionalExpNode.
 
ConditionalExpNode(ExpressionNode, ExpressionNode, ExpressionNode) - Constructor for class junc.ast.ConditionalExpNode
 
conditionalExpression() - Method in class junc.parser.JavaParser
 
ConditionalOrExpNode - class junc.ast.ConditionalOrExpNode.
 
ConditionalOrExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.ConditionalOrExpNode
 
constant() - Method in class junc.parser.JavaParser
 
constructorBody(ConstructorDeclarationNode) - Method in class junc.parser.JavaParser
 
ConstructorDeclarationNode - class junc.ast.ConstructorDeclarationNode.
Describe class ConstructorDeclarationNode here.
ConstructorDeclarationNode() - Constructor for class junc.ast.ConstructorDeclarationNode
Creates a new ConstructorDeclarationNode instance.
constructorInvocation - Variable in class junc.ast.ConstructorDeclarationNode
Describe variable constructorInvocation here.
ConstructorInvocationNode - class junc.ast.ConstructorInvocationNode.
Describe class ConstructorInvocationNode here.
ConstructorInvocationNode() - Constructor for class junc.ast.ConstructorInvocationNode
Creates a new ConstructorInvocationNode instance.
ConstructorInvocationNode(Symbol) - Constructor for class junc.ast.ConstructorInvocationNode
Creates a new ConstructorInvocationNode instance.
CONTINIL_ERR - Static variable in class junc.debug.ErrorMessages
 
continueList - Variable in class junc.ast.LabeledStatementNode
 
ContinueStatementNode - class junc.ast.ContinueStatementNode.
 
ContinueStatementNode() - Constructor for class junc.ast.ContinueStatementNode
 
createClassType(String) - Static method in class junc.types.JUnCBaseType
Search for class types without 'L' and ';'.
createClassType(Symbol) - Static method in class junc.types.JUnCBaseType
 
createType(String) - Static method in class junc.types.JUnCBaseType
 
createType(Symbol) - Static method in class junc.types.JUnCBaseType
 
CTOR_CALL - Static variable in interface junc.parser.JavaTokenTypes
 
CTOR_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
ctorHead(int) - Method in class junc.parser.JavaParser
 
ctype - Variable in class junc.ast.InstanceOfExpNode
 
currentClass() - Static method in class junc.JUnC
Describe currentClass method here.
currentClass(Symbol) - Static method in class junc.JUnC
Describe currentClass method here.
currentPackage() - Static method in class junc.JUnC
Describe currentPackage method here.

D

DEC - Static variable in interface junc.parser.JavaTokenTypes
 
decanonicalize(String) - Method in class junc.cim.ClassImportManager
Describe decanonicalize method here.
declaration() - Method in class junc.parser.JavaParser
A declaration is the creation of a reference or primitive-type variable Create a separate Type/Var tree for each var in the var list.
declaratorBrackets(String) - Method in class junc.parser.JavaParser
 
desynthesize(ClassGen, MethodGen) - Method in class junc.ast.ExpressionNode
Describe desynthesize method here.
dims - Variable in class junc.ast.AllocationExpNode
The number of non-empty dimensions being specified.
dims() - Method in class junc.types.ArrayType
 
distance() - Method in class junc.types.MethodDescriptor
 
distanceTo(JUnCBaseType) - Method in class junc.types.ArrayType
The distance between array types is defined to be that of the base types if positive or zero and the dimensions identical.
distanceTo(JUnCBaseType) - Method in class junc.types.BooleanType
 
distanceTo(JUnCBaseType) - Method in class junc.types.ByteType
 
distanceTo(JUnCBaseType) - Method in class junc.types.CharType
 
distanceTo(JUnCBaseType) - Method in class junc.types.ClassType
 
distanceTo(JUnCBaseType) - Method in class junc.types.DoubleType
 
distanceTo(JUnCBaseType) - Method in class junc.types.FloatType
 
distanceTo(JUnCBaseType) - Method in class junc.types.IntType
 
distanceTo(JUnCBaseType) - Method in class junc.types.JUnCBaseType
 
distanceTo(JUnCBaseType) - Method in class junc.types.LongType
 
distanceTo(JUnCBaseType) - Method in class junc.types.MethodType
 
distanceTo(JUnCBaseType) - Method in class junc.types.NullType
 
distanceTo(JUnCBaseType) - Method in class junc.types.PrimitiveType
 
distanceTo(JUnCBaseType) - Method in class junc.types.ReferenceType
 
distanceTo(JUnCBaseType) - Method in class junc.types.ShortType
 
distanceTo(JUnCBaseType) - Method in class junc.types.VoidType
 
DIV - Static variable in interface junc.parser.JavaTokenTypes
 
DIV_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
DIV() - Method in class junc.types.DoubleType
 
DIV() - Method in class junc.types.FloatType
 
DIV() - Method in class junc.types.IntegralType
 
DIV() - Method in class junc.types.JUnCBaseType
 
DIV() - Method in class junc.types.LongType
 
DoStatementNode - class junc.ast.DoStatementNode.
 
DoStatementNode() - Constructor for class junc.ast.DoStatementNode
 
DOT - Static variable in interface junc.parser.JavaTokenTypes
 
Double - Static variable in class junc.types.JUnCBaseType
 
DoubleLiteral - class junc.ast.DoubleLiteral.
Describe class DoubleLiteral here.
DoubleLiteral(Double) - Constructor for class junc.ast.DoubleLiteral
Creates a new DoubleLiteral instance.
DoubleRep - Static variable in class junc.types.JUnCBaseType
 
DoubleType - class junc.types.DoubleType.
 
DoubleType() - Constructor for class junc.types.DoubleType
 
DUP() - Method in class junc.types.DoubleType
 
DUP() - Method in class junc.types.JUnCBaseType
 
DUP() - Method in class junc.types.LongType
 
DUP() - Method in class junc.types.PrimitiveType
 
DUP() - Method in class junc.types.ReferenceType
 
DUPMETHD_ERR - Static variable in class junc.debug.ErrorMessages
 
DUPX1() - Method in class junc.types.DoubleType
 
DUPX1() - Method in class junc.types.JUnCBaseType
 
DUPX1() - Method in class junc.types.LongType
 
DUPX1() - Method in class junc.types.PrimitiveType
 
DUPX1() - Method in class junc.types.ReferenceType
 
DUPX2() - Method in class junc.types.DoubleType
 
DUPX2() - Method in class junc.types.JUnCBaseType
 
DUPX2() - Method in class junc.types.LongType
 
DUPX2() - Method in class junc.types.PrimitiveType
 
DUPX2() - Method in class junc.types.ReferenceType
 
DV - Static variable in class junc.symtab.Operators
 
DV_EQ - Static variable in class junc.symtab.Operators
 

E

ELIST - Static variable in interface junc.parser.JavaTokenTypes
 
elseStatement - Variable in class junc.ast.IfStatementNode
 
EMPTY_STAT - Static variable in interface junc.parser.JavaTokenTypes
 
EmptyStatementNode - class junc.ast.EmptyStatementNode.
 
EmptyStatementNode() - Constructor for class junc.ast.EmptyStatementNode
 
encode() - Method in class junc.ast.StringLiteral
This function encodes sequences like '\n' or '\166' into the corresponding ascii char.
encodeType() - Method in class junc.ast.ArrayInitializerNode
Describe encodeType method here.
encodeType() ()">encodeType() - Method in class junc.ast.FormalParameterNode
Move the ['s defined on the method name to the type.
encodeType() - Method in class junc.ast.LocalVarDeclarationNode
Move ['s from the field name to the type.
encodeType() - Method in class junc.ast.MethodDeclarationNode
Move the ['s defined on the method name to the type and encode param types with return types.
encodeType() - Method in class junc.ast.StaticInitializerNode
 
EOF - Static variable in interface junc.parser.JavaTokenTypes
 
EQ - Static variable in class junc.symtab.Operators
 
EQ_EQ - Static variable in class junc.symtab.Operators
 
eqtype - Variable in class junc.ast.EqualityExpNode
 
EQUAL - Static variable in interface junc.parser.JavaTokenTypes
 
EqualityExpNode - class junc.ast.EqualityExpNode.
 
EqualityExpNode(ExpressionNode, ExpressionNode, int) - Constructor for class junc.ast.EqualityExpNode
 
equalityExpression() - Method in class junc.parser.JavaParser
 
equals(Object) - Method in class junc.symtab.Symbol
 
equals(String) - Method in class junc.symtab.Symbol
 
equals(Symbol) - Method in class junc.symtab.Symbol
 
Error - Static variable in class junc.types.JUnCBaseType
 
ErrorMessages - class junc.debug.ErrorMessages.
 
ErrorMessages(int) - Constructor for class junc.debug.ErrorMessages
 
ErrorMessages(int, int) - Constructor for class junc.debug.ErrorMessages
 
ErrorMessages(int, int, int) - Constructor for class junc.debug.ErrorMessages
 
ErrorMessages(int, JUnCASTNode) - Constructor for class junc.debug.ErrorMessages
 
ErrorMessages(int, Object, JUnCASTNode) - Constructor for class junc.debug.ErrorMessages
 
ErrorMessages(int, Object, Object, JUnCASTNode) - Constructor for class junc.debug.ErrorMessages
 
errors() - Static method in class junc.JUnC
Describe errors method here.
ESC - Static variable in interface junc.parser.JavaTokenTypes
 
etype - Variable in class junc.ast.AllocationExpNode
Type of elements allocated.
evaluate(SymbolTable) - Method in class junc.ast.AdditiveExpNode
Describe evaluate method here.
evaluate(SymbolTable) - Method in class junc.ast.BooleanLiteral
 
evaluate(SymbolTable) - Method in class junc.ast.CastExpNode
Describe evaluate method here.
evaluate(SymbolTable) - Method in class junc.ast.CharacterLiteral
 
evaluate(SymbolTable) - Method in class junc.ast.ConditionalAndExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.ConditionalOrExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.DoubleLiteral
Describe evaluate method here.
evaluate(SymbolTable) - Method in class junc.ast.EqualityExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.ExclusiveOrExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.ExpressionNode
Describe evaluate method here.
evaluate(SymbolTable) - Method in class junc.ast.FieldExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.FloatLiteral
 
evaluate(SymbolTable) - Method in class junc.ast.IntegerLiteral
 
evaluate(SymbolTable) - Method in class junc.ast.LongLiteral
 
evaluate(SymbolTable) - Method in class junc.ast.MultiplicativeExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.UnaryMinusExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.UnaryNotExpNode
 
evaluate(SymbolTable) - Method in class junc.ast.UnaryPlusExpNode
 
evaluateExp() - Method in class junc.ast.ExpressionNode
Describe evaluateExp method here.
EXC_OR - Static variable in class junc.symtab.Operators
 
Exception - Static variable in class junc.types.JUnCBaseType
 
exceptions - Variable in class junc.ast.MethodDeclarationNode
 
ExceptionStack - class junc.debug.ExceptionStack.
 
ExceptionStack() - Constructor for class junc.debug.ExceptionStack
 
EXCEPTNS_ERR - Static variable in class junc.debug.ErrorMessages
 
ExclusiveOrExpNode - class junc.ast.ExclusiveOrExpNode.
 
ExclusiveOrExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.ExclusiveOrExpNode
 
exclusiveOrExpression() - Method in class junc.parser.JavaParser
 
execute(String[]) - Method in class junc.JUnC
JUnC's main loop.
existsClass(String) - Method in class junc.cim.ClassImportManager
Checks whether fully qualified class represented by truename exists in directories or zip/jar files defined in CLASSPATH
existsClass(Symbol) - Method in class junc.cim.ClassImportManager
Convenience method using symbols instead of String
explicitConstructorInvocation() - Method in class junc.parser.JavaParser
 
EXPONENT - Static variable in interface junc.parser.JavaTokenTypes
 
EXPR - Static variable in interface junc.parser.JavaTokenTypes
 
expression - Variable in class junc.ast.ReturnStatementNode
 
expression - Variable in class junc.ast.StatementExpNode
Describe variable expression here.
expression - Variable in class junc.ast.SwitchLabelNode
 
expression - Variable in class junc.ast.SwitchStatementNode
 
expression - Variable in class junc.ast.SynchronizedStatementNode
 
expression - Variable in class junc.ast.ThrowStatementNode
 
expression() - Method in class junc.parser.JavaParser
 
expressionList(boolean) - Method in class junc.parser.JavaParser
 
ExpressionNode - class junc.ast.ExpressionNode.
Describe class ExpressionNode here.
ExpressionNode() - Constructor for class junc.ast.ExpressionNode
 
EXTENDS_CLAUSE - Static variable in interface junc.parser.JavaTokenTypes
 

F

falseCase - Variable in class junc.ast.ConditionalExpNode
 
falseList - Variable in class junc.ast.ExpressionNode
Describe variable falseList here.
fetchResultType(Symbol, SymbolTable) - Method in class junc.ast.ReturnStatementNode
Gets the result type of the method in which this return statement occurs (the last in the symbol table entry).
field() - Method in class junc.parser.JavaParser
 
FieldDeclarationNode - class junc.ast.FieldDeclarationNode.
Describe class FieldDeclarationNode here.
FieldDeclarationNode() - Constructor for class junc.ast.FieldDeclarationNode
Creates a new FieldDeclarationNode instance.
FIELDDEF_ERR - Static variable in class junc.debug.ErrorMessages
 
FieldExpNode - class junc.ast.FieldExpNode.
 
FieldExpNode(ExpressionNode, String, MethodDeclarationNode) - Constructor for class junc.ast.FieldExpNode
 
FieldExpNode(ExpressionNode, Symbol, MethodDeclarationNode) - Constructor for class junc.ast.FieldExpNode
 
fieldInit - Variable in class junc.ast.ConstructorDeclarationNode
Describe variable fieldInit here.
fields - Variable in class junc.ast.FieldDeclarationNode
A Symbol vector with the fields declared.
fileName() - Static method in class junc.JUnC
Describe fileName method here.
FINAL - Static variable in interface junc.parser.JavaTokenTypes
 
finallyBlock - Variable in class junc.ast.TryStatementNode
 
findField(Symbol) - Method in class junc.types.ClassType
Search for a field in this type or in any of its super types (both classes and interfaces).
findMethod(MethodDescriptor) - Method in class junc.types.ClassType
Search for a method in this type or in any of its super types Returns the closest unique occurrence of a method type, that is most specific, or null if no match was established If the most specific method type is not unique, than we have 2 cases : - if the 2 methods are defined in the same class, than an ambiguous type error is thrown - if the 2 mthods are defined in different classes, than we have 2 sub cases - if the 2 method types are identical, than the one closer to the leaf of the type hierarchy overrides the one higher up - if the 2 method types are not identical, then a ambiguous type error is thrown If a more specific method type is encountered higher up in the type hierarchy, then this also results in an ambiguous type error
Float - Static variable in class junc.types.JUnCBaseType
 
FLOAT_SUFFIX - Static variable in interface junc.parser.JavaTokenTypes
 
FloatingPointType - class junc.types.FloatingPointType.
 
floatingPointType() - Method in class junc.types.BooleanType
 
floatingPointType() - Method in class junc.types.FloatingPointType
 
floatingPointType() - Method in class junc.types.IntegralType
 
floatingPointType() - Method in class junc.types.JUnCBaseType
 
floatingPointType() - Method in class junc.types.MethodType
 
floatingPointType() - Method in class junc.types.PrimitiveType
 
floatingPointType() - Method in class junc.types.ReferenceType
 
floatingPointType() - Method in class junc.types.VoidType
 
FloatingPointType() - Constructor for class junc.types.FloatingPointType
 
FloatLiteral - class junc.ast.FloatLiteral.
 
FloatLiteral(Float) - Constructor for class junc.ast.FloatLiteral
 
FloatRep - Static variable in class junc.types.JUnCBaseType
 
FloatType - class junc.types.FloatType.
 
FloatType() - Constructor for class junc.types.FloatType
 
FOR_CONDITION - Static variable in interface junc.parser.JavaTokenTypes
 
FOR_INIT - Static variable in interface junc.parser.JavaTokenTypes
 
FOR_ITERATOR - Static variable in interface junc.parser.JavaTokenTypes
 
forCond() - Method in class junc.parser.JavaParser
 
forInit() - Method in class junc.parser.JavaParser
 
forIter() - Method in class junc.parser.JavaParser
 
FormalExpNode - class junc.ast.FormalExpNode.
 
FormalExpNode(Symbol) - Constructor for class junc.ast.FormalExpNode
 
FormalParameterNode - class junc.ast.FormalParameterNode.
 
FormalParameterNode() - Constructor for class junc.ast.FormalParameterNode
 
formalParameters - Variable in class junc.ast.MethodDeclarationNode
 
formals - Variable in class junc.ast.TryStatementNode
 
ForStatementNode - class junc.ast.ForStatementNode.
 
ForStatementNode() - Constructor for class junc.ast.ForStatementNode
 
fullyQualifyName(String) - Method in class junc.cim.ClassImportManager
Returns the fully qualified name of simple name provided that such a class exists in the packages defined by the starred imports (without ambiguity).
fullyQualifyName(Symbol) - Method in class junc.cim.ClassImportManager
Describe fullyQualifyName method here.

G

GE - Static variable in interface junc.parser.JavaTokenTypes
 
getColumnNumber() - Method in class junc.ast.JUnCASTNode
 
getColumnNumber() - Method in class junc.debug.JUnCException
 
getExceptionStack() - Static method in class junc.JUnC
Describe getExceptionStack method here.
getFileName() - Method in class junc.debug.JUnCException
 
getImportManager() - Static method in class junc.JUnC
Describe getImportManager method here.
getLineNumber() - Method in class junc.ast.JUnCASTNode
 
getLineNumber() - Method in class junc.debug.JUnCException
 
getName() - Method in class junc.symtab.Symbol
 
getSymbolTable() - Static method in class junc.JUnC
Describe getSymbolTable method here.
getToken() - Method in class junc.parser.JavaParser
 
GT - Static variable in interface junc.parser.JavaTokenTypes
 
GT - Static variable in class junc.symtab.Operators
 
GT_EQ - Static variable in class junc.symtab.Operators
 

H

handler(TryStatementNode) - Method in class junc.parser.JavaParser
 
hashCode() - Method in class junc.symtab.Symbol
 
HEX_DIGIT - Static variable in interface junc.parser.JavaTokenTypes
 

I

IDENT - Static variable in interface junc.parser.JavaTokenTypes
 
identicalTo(JUnCBaseType) - Method in class junc.types.ArrayType
 
identicalTo(JUnCBaseType) - Method in class junc.types.BooleanType
 
identicalTo(JUnCBaseType) - Method in class junc.types.ByteType
 
identicalTo(JUnCBaseType) - Method in class junc.types.CharType
 
identicalTo(JUnCBaseType) - Method in class junc.types.ClassType
 
identicalTo(JUnCBaseType) - Method in class junc.types.DoubleType
 
identicalTo(JUnCBaseType) - Method in class junc.types.FloatType
 
identicalTo(JUnCBaseType) - Method in class junc.types.IntType
 
identicalTo(JUnCBaseType) - Method in class junc.types.JUnCBaseType
 
identicalTo(JUnCBaseType) - Method in class junc.types.LongType
 
identicalTo(JUnCBaseType) - Method in class junc.types.MethodType
 
identicalTo(JUnCBaseType) - Method in class junc.types.NullType
 
identicalTo(JUnCBaseType) - Method in class junc.types.ReferenceType
 
identicalTo(JUnCBaseType) - Method in class junc.types.ShortType
 
identicalTo(JUnCBaseType) - Method in class junc.types.VoidType
 
identicalTo(JUnCBaseType, boolean) - Method in class junc.tml#identPrimary()">identPrimary() - Method in class junc.parser.JavaParser
 
IFEQ(boolean) - Method in class junc.types.BooleanType
 
IFEQ(boolean) - Method in class junc.types.ClassType
 
IFEQ(boolean) - Method in class junc.types.IntType
 
IFEQ(boolean) - Method in class junc.types.JUnCBaseType
 
IFEQ(boolean) - Method in class junc.types.NullType
 
IFGE(boolean) - Method in class junc.types.IntType
 
IFGE(boolean) - Method in class junc.types.JUnCBaseType
 
IFGT(boolean) - Method in class junc.types.IntType
 
IFGT(boolean) - Method in class junc.types.JUnCBaseType
 
IFGT(boolean) - Method in class junc.types.LongType
 
IFLE(boolean) - Method in class junc.types.IntType
 
IFLE(boolean) - Method in class junc.types.JUnCBaseType
 
IFLT(boolean) - Method in class junc.types.IntType
 
IFLT(boolean) - Method in class junc.types.JUnCBaseType
 
IFNE(boolean) - Method in class junc.types.BooleanType
 
IFNE(boolean) - Method in class junc.types.ClassType
 
IFNE(boolean) - Method in class junc.types.IntType
 
IFNE(boolean) - Method in class junc.types.JUnCBaseType
 
IFNE(boolean) - Method in class junc.types.NullType
 
IfStatementNode - class junc.ast.IfStatementNode.
 
IfStatementNode() - Constructor for class junc.ast.IfStatementNode
 
IMPLEMENTS_CLAUSE - Static variable in interface junc.parser.JavaTokenTypes
 
implementsClause() - Method in class junc.parser.JavaParser
 
IMPORT - Static variable in interface junc.parser.JavaTokenTypes
 
importDefinition() - Method in class junc.parser.JavaParser
 
imports - Variable in class junc.ast.CompilationUnitNode
A Symbol vector with all the import declarations defined in this module.
INC - Static variable in interface junc.parser.JavaTokenTypes
 
INC_OR - Static variable in class junc.symtab.Operators
 
InclusiveOrExpNode - class junc.ast.InclusiveOrExpNode.
 
InclusiveOrExpNode(ExpressionNode, ExpressionNode) - Constructor for class junc.ast.InclusiveOrExpNode
 
inclusiveOrExpression() - Method in class junc.parser.JavaParser
 
index - Variable in class junc.ast.FieldExpNode
The index in the fields vector where the name was found.
INDEX_OP - Static variable in interface junc.parser.JavaTokenTypes
 
init - Variable in class junc.ast.ForStatementNode
 
init - Variable in class junc.ast.VariableDeclaratorNode
 
initializer() - Method in class junc.parser.JavaParser
 
inRange(long) - Method in class junc.types.ByteType
 
inRange(long) - Method in class junc.types.CharType
 
inRange(long) - Method in class junc.types.IntegralType
 
inRange(long) - Method in class junc.types.IntType
 
inRange(long) - Method in class junc.types.LongType
 
inRange(long) - Method in class junc.types.ShortType
 
INSTANCE_INIT - Static variable in interface junc.parser.JavaTokenTypes
 
InstanceOfExpNode - class junc.ast.InstanceOfExpNode.
 
InstanceOfExpNode(ExpressionNode, JUnCBaseType) - Constructor for class junc.ast.InstanceOfExpNode
 
Int - Static variable in class junc.types.JUnCBaseType
 
IntegerLiteral - class junc.ast.IntegerLiteral.
 
IntegerLiteral(Integer) - Constructor for class junc.ast.IntegerLiteral
 
IntegerStack - class junc.debug.IntegerStack.
 
IntegerStack() - Constructor for class junc.debug.IntegerStack
 
IntegerStream - class junc.debug.IntegerStream.
 
IntegerStream() - Constructor for class junc.debug.IntegerStream
 
IntegerStream(int) - Constructor for class junc.debug.IntegerStream
 
IntegralType - class junc.types.IntegralType.
 
integralType() - Method in class junc.types.BooleanType
 
integralType() - Method in class junc.types.FloatingPointType
 
integralType() - Method in class junc.types.IntegralType
 
integralType() - Method in class junc.types.JUnCBaseType
 
integralType() - Method in class junc.types.MethodType
 
integralType() - Method in class junc.types.PrimitiveType
 
integralType() - Method in class junc.types.ReferenceType
 
integralType() - Method in class junc.types.VoidType
 
IntegralType() - Constructor for class junc.types.IntegralType
 
INTERDEF_ERR - Static variable in class junc.debug.ErrorMessages
 
INTERFACE_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
InterfaceDeclarationNode - class junc.ast.InterfaceDeclarationNode.
 
InterfaceDeclarationNode() - Constructor for class junc.ast.InterfaceDeclarationNode
 
interfaceDefinition(int) - Method in class junc.parser.JavaParser
 
interfaceExtends() - Method in class junc.parser.JavaParser
 
InterfaceMemberDeclarationNode - class junc.ast.InterfaceMemberDeclarationNode.
 
InterfaceMemberDeclarationNode() - Constructor for class junc.ast.InterfaceMemberDeclarationNode
 
interfaces - Variable in class junc.ast.TypeDeclarationNode
 
internalError() - Static method in class junc.JUnC
Aborts the execution of the compiler as a result of an unrecoverable error.
IntRep - Static variable in class junc.types.JUnCBaseType
 
IntType - class junc.types.IntType.
 
IntType() - Constructor for class junc.types.IntType
 
INVACONS_ERR - Static variable in class junc.debug.ErrorMessages
 
invocationThis - Variable in class junc.ast.ConstructorInvocationNode
True if "this" was used, false if "super" was used.
isField - Variable in class junc.ast.VariableDeclaratorNode
 
isFinal() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isFinal method here.
isInstance() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isInstance method here.
isPrivate() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isPrivate method here.
isProtected() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isProtected method here.
isPublic() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isPublic method here.
isQualified() - Method in class junc.symtab.Symbol
 
isReturn(Instruction) - Method in class junc.ast.MethodDeclarationNode
 
isRooted - Variable in class junc.ast.TypeDeclarationNode
 
isStatic() - Method in class junc.ast.ClassBodyDeclarationNode
Describe isStatic method here.
isTopType() - Method in class junc.types.ClassType
 

J

JavaLexer - class junc.parser.JavaLexer.
 
JavaLexer(InputBuffer) - Constructor for class junc.parser.JavaLexer
 
JavaLexer(InputStream) - Constructor for class junc.parser.JavaLexer
 
JavaLexer(LexerSharedInputState) - Constructor for class junc.parser.JavaLexer
 
JavaLexer(Reader) - Constructor for class junc.parser.JavaLexer
 
JavaParser - class junc.parser.JavaParser.
Java 1.4 Recognizer This grammar is in the PUBLIC DOMAIN
JavaParser(CharScanner, ClassImportManager, SymbolTable, Vector) - Constructor for class junc.parser.JavaParser
The main constructor.
JavaParser(ParserSharedInputState) - Constructor for class junc.parser.JavaParser
 
JavaParser(TokenBuffer) - Constructor for class junc.parser.JavaParser
 
JavaParser(TokenBuffer, int) - Constructor for class junc.parser.JavaParser
 
JavaParser(TokenStream) - Constructor for class junc.parser.JavaParser
 
JavaParser(TokenStream, int) - Constructor for class junc.parser.JavaParser
 
JavaTokenTypes - interface junc.parser.JavaTokenTypes.
 
junc - package junc
 
JUnC - class junc.JUnC.
This is the main class of the JUnC parser.
junc.ast - package junc.ast
 
junc.cim - package junc.cim
 
junc.debug - package junc.debug
 
junc.parser - package junc.parser
 
junc.symtab - package junc.symtab
 
junc.types - package junc.types
 
JUnC() - Constructor for class junc.JUnC
The only constructor.
JUnCASTNode - class junc.ast.JUnCASTNode.
 
JUnCASTNode() - Constructor for class junc.ast.JUnCASTNode
 
JUnCASTNode(int, int) - Constructor for class junc.ast.JUnCASTNode
 
JUnCASTNode(Token) - Constructor for class junc.ast.JUnCASTNode
 
JUnCBaseType - class junc.types.JUnCBaseType.
 
JUnCError - error junc.debug.JUnCError.
 
JUnCError() - Constructor for class junc.debug.JUnCError
 
JUnCError(String) - Constructor for class junc.debug.JUnCError
 
JUnCException - exception junc.debug.JUnCException.
 
JUnCException() - Constructor for class junc.debug.JUnCException
 
JUnCException(String) - Constructor for class junc.debug.JUnCException
 

L

label - Variable in class junc.ast.BreakStatementNode
 
label - Variable in class junc.ast.ContinueStatementNode
 
label - Variable in class junc.ast.LabeledStatementNode
 
LABELED_STAT - Static variable in interface junc.parser.JavaTokenTypes
 
labeledNOP - Variable in class junc.ast.LabeledStatementNode
 
LabeledStatementNode - class junc.ast.LabeledStatementNode.
 
LabeledStatementNode() - Constructor for class junc.ast.LabeledStatementNode
 
labels - Variable in class junc.ast.SwitchStatementNode
 
LAND - Static variable in interface junc.parser.JavaTokenTypes
 
last() - Method in class junc.debug.IntegerStream
 
LBRACK - Static variable in interface junc.parser.JavaTokenTypes
 
LCURLY - Static variable in interface junc.parser.JavaTokenTypes
 
LE - Static variable in interface junc.parser.JavaTokenTypes
 
left - Variable in class junc.ast.AdditiveExpNode
Describe variable left here.
left - Variable in class junc.ast.AndExpNode
 
left - Variable in class junc.ast.ArrayExpNode
Describe variable left here.
left - Variable in class junc.ast.AssignmentNode
 
left - Variable in class junc.ast.CastExpNode
Describe variable left here.
left - Variable in class junc.ast.ConditionalAndExpNode
 
left - Variable in class junc.ast.ConditionalOrExpNode
 
left - Variable in class junc.ast.EqualityExpNode
 
left - Variable in class junc.ast.ExclusiveOrExpNode
 
left - Variable in class junc.ast.FieldExpNode
A ref to the expression to the left of the dot.
left - Variable in class junc.ast.InclusiveOrExpNode
 
left - Variable in class junc.ast.InstanceOfExpNode
 
left - Variable in class junc.ast.MethodExpNode
This should always be a FieldExpNode.
left - Variable in class junc.ast.MultiplicativeExpNode
 
left - Variable in class junc.ast.PostDecrementExpNode
Describe variable left here.
left - Variable in class junc.ast.PostIncrementExpNode
Describe variable left here.
left - Variable in class junc.ast.PreDecrementExpNode
Describe variable left here.
left - Variable in class junc.ast.PreIncrementExpNode
Describe variable left here.
left - Variable in class junc.ast.RelationalExpNode
 
left - Variable in class junc.ast.ShiftExpNode
 
left - Variable in class junc.ast.UnaryMinusExpNode
 
left - Variable in class junc.ast.UnaryNegExpNode
 
left - Variable in class junc.ast.UnaryNotExpNode
 
left - Variable in class junc.ast.UnaryPlusExpNode
 
leftValue - Variable in class junc.ast.ExpressionNode
Set to true by the parser if this expression is to the left of an assignment operator.
leftValue() - Method in class junc.ast.ExpressionNode
Determines if the expression is an lvalue.
Literal - class junc.ast.Literal.
 
LITERAL_boolean - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_break - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_byte - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_case - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_catch - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_char - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_class - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_continue - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_default - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_do - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_double - Static variable in interface junc.parser.LITERAL_false - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_finally - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_float - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_for - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_if - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_implements - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_import - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_instanceof - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_int - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_interface - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_long - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_native - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_new - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_null - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_package - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_private - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_protected - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_public - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_return - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_short - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_static - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_super - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_switch - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_synchronized - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_this - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_threadsafe - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_throw - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_throws - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_transient - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_true - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_try - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_void - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_volatile - Static variable in interface junc.parser.JavaTokenTypes
 
LITERAL_while - Static variable in interface junc.parser.JavaTokenTypes
 
Literal() - Constructor for class junc.ast.Literal
 
LNOT - Static variable in interface junc.parser.JavaTokenTypes
 
LOAD(int) - Method in class junc.types.BooleanType
 
LOAD(int) - Method in class junc.types.DoubleType
 
LOAD(int) - Method in class junc.types.FloatType
 
LOAD(int) - Method in class junc.types.IntegralType
 
LOAD(int) - Method in class junc.types.JUnCBaseType
 
LOAD(int) - Method in class junc.types.LongType
 
LOAD(int) - Method in class junc.types.ReferenceType
 
LOAD(int) - Method in class junc.types.VoidType
 
LOCALDEF_ERR - Static variable in class junc.debug.ErrorMessages
 
LocalExpNode - class junc.ast.LocalExpNode.
 
LocalExpNode(Symbol) - Constructor for class junc.ast.LocalExpNode
 
LocalVarDeclarationNode - class junc.ast.LocalVarDeclarationNode.
 
LocalVarDeclarationNode() - Constructor for class junc.ast.LocalVarDeclarationNode
 
localVariables - Variable in class junc.ast.LocalVarDeclarationNode
 
logicalAndExpression() - Method in class junc.parser.JavaParser
 
logicalOrExpression() - Method in class junc.parser.JavaParser
 
Long - Static variable in class junc.types.JUnCBaseType
 
LongLiteral - class junc.ast.LongLiteral.
 
LongLiteral(Long) - Constructor for class junc.ast.LongLiteral
 
LongRep - Static variable in class junc.types.JUnCBaseType
 
LongType - class junc.types.LongType.
 
LongType() - Constructor for class junc.types.LongType
 
lookupField(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a field declaration in the symbol table.
lookupFormal(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a formal parameter in the symbol table.
lookupLabel(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a statement label in the symbol table.
lookupLocal(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a local var in the symbol table.
lookupMethod(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a method declaration in the symbol table.
lookupPackage(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a package declaration in the symbol table.
lookupPrimop(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a primop in the symbol table.
lookupPrimop(SymbolTable, int, MethodType) - Method in class junc.ast.ExpressionNode
Describe lookupPrimop method here.
lookupType(Symbol) - Method in class junc.symtab.SymbolTable
Looks up a class or interface declaration in the symbol table.
LOR - Static variable in interface junc.parser.JavaTokenTypes
 
LPAREN - Static variable in interface junc.parser.JavaTokenTypes
 
LT - Static variable in interface junc.parser.JavaTokenTypes
 
LT - Static variable in class junc.symtab.Operators
 
LT_EQ - Static variable in class junc.symtab.Operators
 

M

main(String[]) - Static method in class junc.JUnC
Entry point.
mASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mBAND_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mBAND(boolean) - Method in class junc.parser.JavaLexer
 
mBNOT(boolean) - Method in class junc.parser.JavaLexer
 
mBOR_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mBOR(boolean) - Method in class junc.parser.JavaLexer
 
mBSR_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mBSR(boolean) - Method in class junc.parser.JavaLexer
 
mBXOR_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mBXOR(boolean) - Method in class junc.parser.JavaLexer
 
mCHAR_LITERAL(boolean) - Method in class junc.parser.JavaLexer
 
mCOLON(boolean) - Method in class junc.parser.JavaLexer
 
mCOMMA(boolean) - Method in class junc.parser.JavaLexer
 
MD - Static variable in class junc.symtab.Operators
 
MD_EQ - Static variable in class junc.symtab.Operators
 
mDEC(boolean) - Method in class junc.parser.JavaLexer
 
mDIV_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mDIV(boolean) - Method in class junc.parser.JavaLexer
 
mEQUAL(boolean) - Method in class junc.parser.JavaLexer
 
mESC(boolean) - Method in class junc.parser.JavaLexer
 
METHOD_CALL - Static variable in interface junc.parser.JavaTokenTypes
 
METHOD_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
MethodDeclarationNode - class junc.ast.MethodDeclarationNode.
 
MethodDeclarationNode() - Constructor for class junc.ast.MethodDeclarationNode
 
MethodDescriptor - class junc.types.MethodDescriptor.
 
MethodDescriptor(Symbol, MethodType, JUnCASTNode) - Constructor for class junc.types.MethodDescriptor
 
MethodExpNode - class junc.ast.MethodExpNode.
 
MethodExpNode(ExpressionNode, Vector, MethodDeclarationNode) - Constructor for class junc.ast.MethodExpNode
 
methodIndex() - Method in class junc.types.MethodDescriptor
 
methodName() - Method in class junc.types.MethodDescriptor
 
methodNode - Variable in class junc.ast.FieldExpNode
A ref to the AST node of the method where the field is being accessed.
MethodType - class junc.types.MethodType.
 
methodType() - Method in class junc.types.MethodDescriptor
 
MethodType(JUnCBaseType, JUnCBaseType) - Constructor for class junc.types.MethodType
 
MethodType(JUnCBaseType, JUnCBaseType, JUnCBaseType) - Constructor for class junc.types.MethodType
 
MethodType(JUnCBaseType, JUnCBaseType, JUnCBaseType, JUnCBaseType) - Constructor for class junc.types.MethodType
 
MethodType(JUnCBaseType, Vector) - Constructor for class junc.types.MethodType
 
mEXPONENT(boolean) - Method in class junc.parser.JavaLexer
 
mFLOAT_SUFFIX(boolean) - Method in class junc.parser.JavaLexer
 
mGE(boolean) - Method in class junc.parser.JavaLexer
 
mGT(boolean) - Method in class junc.parser.JavaLexer
 
mHEX_DIGIT(boolean) - Method in class junc.parser.JavaLexer
 
mIDENT(boolean) - Method in class junc.parser.JavaLexer
 
mINC(boolean) - Method in class junc.parser.JavaLexer
 
MINUS - Static variable in interface junc.parser.JavaTokenTypes
 
MINUS_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
ML_COMMENT - Static variable in interface junc.parser.JavaTokenTypes
 
mLAND(boolean) - Method in class junc.parser.JavaLexer
 
mLBRACK(boolean) - Method in class junc.parser.JavaLexer
 
mLCURLY(boolean) - Method in class junc.parser.JavaLexer
 
mLE(boolean) - Method in class junc.parser.JavaLexer
 
mLNOT(boolean) - Method in class junc.parser.JavaLexer
 
mLOR(boolean) - Method in class junc.parser.JavaLexer
 
mLPAREN(boolean) - Method in class junc.parser.JavaLexer
 
mLT(boolean) - Method in class junc.parser.JavaLexer
 
mMINUS_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mMINUS(boolean) - Method in class junc.parser.JavaLexer
 
mML_COMMENT(boolean) - Method in class junc.parser.JavaLexer
 
mMOD_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mMOD(boolean) - Method in class junc.parser.JavaLexer
 
mnode - Variable in class junc.ast.AllocationExpNode
A pointer to the constructor's declaration node.
mNOT_EQUAL(boolean) - Method in class junc.parser.JavaLexer
 
mNUM_INT(boolean) - Method in class junc.parser.JavaLexer
 
MOD - Static variable in interface junc.parser.JavaTokenTypes
 
MOD_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
modifier() - Method in class junc.parser.JavaParser
 
MODIFIERS - Static variable in interface junc.parser.JavaTokenTypes
 
modifiers() - Method in class junc.parser.JavaParser
 
mPLUS_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mPLUS(boolean) - Method in class junc.parser.JavaLexer
 
mQUESTION(boolean) - Method in class junc.parser.JavaLexer
 
mRBRACK(boolean) - Method in class junc.parser.JavaLexer
 
mRCURLY(boolean) - Method in class junc.parser.JavaLexer
 
mRPAREN(boolean) - Method in class junc.parser.JavaLexer
 
MS - Static variable in class junc.symtab.Operators
 
MS_EQ - Static variable in class junc.symtab.Operators
 
mSEMI(boolean) - Method in class junc.parser.JavaLexer
 
mSL_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mSL_COMMENT(boolean) - Method in class junc.parser.JavaLexer
 
mSL(boolean) - Method in class junc.parser.JavaLexer
 
mSR_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mSR(boolean) - Method in class junc.parser.JavaLexer
 
mSTAR_ASSIGN(boolean) - Method in class junc.parser.JavaLexer
 
mSTAR(boolean) - Method in class junc.parser.JavaLexer
 
mSTRING_LITERAL(boolean) - Method in class junc.parser.JavaLexer
 
MUL() - Method in class junc.types.DoubleType
 
MUL() - Method in class junc.types.FloatType
 
MUL() - Method in class junc.types.IntegralType
 
MUL() - Method in class junc.types.JUnCBaseType
 
MUL() - Method in class junc.types.LongType
 
MultiplicativeExpNode - class junc.ast.MultiplicativeExpNode.
 
MultiplicativeExpNode(ExpressionNode, ExpressionNode, int) - Constructor for class junc.ast.MultiplicativeExpNode
 
multiplicativeExpression() - Method in class junc.parser.JavaParser
 
mVOCAB(boolean) - Method in class junc.parser.JavaLexer
 
mWS(boolean) - Method in class junc.parser.name - Variable in class junc.ast.FormalParameterNode
 
name - Variable in class junc.ast.MethodDeclarationNode
 
name - Variable in class junc.ast.SymbolExpNode
 
name - Variable in class junc.ast.TypeDeclarationNode
 
name - Variable in class junc.ast.VariableDeclaratorNode
 
name - Variable in class junc.ast.VariableExpNode
 
name() - Method in class junc.ast.SymbolExpNode
 
name() - Method in class junc.types.ClassType
 
name() - Method in class junc.types.JUnCBaseType
 
NEG - Static variable in class junc.symtab.Operators
 
NEG() - Method in class junc.types.DoubleType
 
NEG() - Method in class junc.types.FloatType
 
NEG() - Method in class junc.types.IntegralType
 
NEG() - Method in class junc.types.JUnCBaseType
 
NEG() - Method in class junc.types.LongType
 
NEQ_EQ - Static variable in class junc.symtab.Operators
 
NEWARRAY(int) - Method in class junc.types.BooleanType
 
NEWARRAY(int) - Method in class junc.types.ByteType
 
NEWARRAY(int) - Method in class junc.types.CharType
 
NEWARRAY(int) - Method in class junc.types.DoubleType
 
NEWARRAY(int) - Method in class junc.types.FloatType
 
NEWARRAY(int) - Method in class junc.types.IntType
 
NEWARRAY(int) - Method in class junc.types.JUnCBaseType
 
NEWARRAY(int) - Method in class junc.types.LongType
 
NEWARRAY(int) - Method in class junc.types.ReferenceType
 
NEWARRAY(int) - Method in class junc.types.ShortType
 
newArrayDeclarator() - Method in class junc.parser.JavaParser
 
newExpression() - Method in class junc.parser.JavaParser
object instantiation.
next() - Method in class junc.debug.IntegerStream
 
nextToken() - Method in class junc.parser.JavaLexer
 
node - Variable in class junc.ast.ConstructorInvocationNode
A ref to the AST node.
node() - Method in class junc.types.MethodDescriptor
 
NOLVALUE_ERR - Static variable in class junc.debug.ErrorMessages
 
NOT_EQUAL - Static variable in interface junc.parser.JavaTokenTypes
 
NOTASTME_ERR - Static variable in class junc.debug.ErrorMessages
 
NOTCLASS_ERR - Static variable in class junc.debug.ErrorMessages
 
NotConstantException - exception junc.debug.NotConstantException.
 
NotConstantException(ExpressionNode) - Constructor for class junc.debug.NotConstantException
 
NOTINSTC_ERR - Static variable in class junc.debug.ErrorMessages
 
NOTSTATC_ERR - Static variable in class junc.debug.ErrorMessages
 
notYetImplemented() - Static method in class junc.JUnC
Aborts the execution of the compiler if something found in the source file can't be compiled.
Null - Static variable in class junc.types.JUnCBaseType
 
NULL_TREE_LOOKAHEAD - Static variable in interface junc.parser.JavaTokenTypes
 
NullLiteral - class junc.ast.NullLiteral.
 
NullLiteral() - Constructor for class junc.ast.NullLiteral
 
NullRep - Static variable in class junc.types.JUnCBaseType
 
NullType - class junc.types.NullType.
 
NullType() - Constructor for class junc.types.NullType
 
NUM_DOUBLE - Static variable in interface junc.parser.JavaTokenTypes
 
NUM_FLOAT - Static variable in interface junc.parser.JavaTokenTypes
 
NUM_INT - Static variable in interface junc.parser.JavaTokenTypes
 
NUM_LONG - Static variable in interface junc.parser.JavaTokenTypes
 
NUMBER_FORMALS - Static variable in class junc.ast.MethodDeclarationNode
 
numberOfFields() - Method in class junc.symtab.Symbol
 
numberOfStatments() - Method in class junc.ast.BlockNode
Describe numberOfStatments method here.
numericType() - Method in class junc.types.JUnCBaseType
 
numericType() - Method in class junc.types.MethodType
 
numericType() - Method in class junc.types.PrimitiveType
 
numericType() - Method in class junc.types.ReferenceType
 

O

OBJBLOCK - Static variable in interface junc.parser.JavaTokenTypes
 
oneWord() - Method in class junc.types.DoubleType
 
oneWord() - Method in class junc.types.JUnCBaseType
Determines if vars of this type fit in one word.
oneWord() - Method in class junc.types.LongType
 
operationPlus() - Method in class junc.ast.AdditiveExpNode
Describe operationPlus method here.
operator - Variable in class junc.ast.AdditiveExpNode
Describe variable operator here.
operator - Variable in class junc.ast.AssignmentNode
 
operator - Variable in class junc.ast.EqualityExpNode
 
operator - Variable in class junc.ast.MultiplicativeExpNode
 
operator - Variable in class junc.ast.RelationalExpNode
 
operator - Variable in class junc.ast.ShiftExpNode
 
Operators - class junc.symtab.Operators.
 
Operators() - Constructor for class junc.symtab.Operators
 
OR_EQ - Static variable in class junc.symtab.Operators
 
OR() - Method in class junc.types.BooleanType
 
OR() - Method in class junc.types.IntegralType
 
OR() - Method in class junc.types.JUnCBaseType
 
OR() - Method in class junc.types.LongType
 

P

PACKAGE_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
packageDefinition(CompilationUnitNode) - Method in class junc.parser.JavaParser
 
PackageExpNode - class junc.ast.PackageExpNode.
Describe class PackageExpNode here.
PackageExpNode(String) - Constructor for class junc.ast.PackageExpNode
Creates a new PackageExpNode instance.
PackageExpNode(String, Symbol) - Constructor for class junc.ast.PackageExpNode
Creates a new PackageExpNode instance.
PackageExpNode(Symbol) - Constructor for class junc.ast.PackageExpNode
Creates a new PackageExpNode instance.
PackageExpNode(Symbol, String) - Constructor for class junc.ast.PackageExpNode
Creates a new PackageExpNode instance.
packageName - Variable in class junc.ast.CompilationUnitNode
The name of the package to which the compilation unit belongs to.
PARAMETER_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
parameterDeclaration() - Method in class junc.parser.JavaParser
 
parameterDeclarationList() - Method in class junc.parser.JavaParser
 
parameterModifier() - Method in class junc.parser.JavaParser
 
PARAMETERS - Static variable in interface junc.parser.JavaTokenTypes
 
PAREN - Static variable in interface junc.parser.JavaTokenTypes
 
parent - Variable in class junc.ast.AdditiveExpNode
Describe variable parent here.
parent - Variable in class junc.ast.AssignmentNode
This pointer is only set if my parent node is also an assignment.
parseProgram() - Method in class junc.parser.JavaParser
This method is called to start parsing a file.
pathName() - Method in class junc.symtab.Symbol
 
pathName(int) - Method in class junc.symtab.Symbol
Returns the path name of a symbol after skipping over a number of specified separators, i.e, nskip - 1.
peekInteger() - Method in class junc.debug.IntegerStack
 
PLUS - Static variable in interface junc.parser.JavaTokenTypes
 
PLUS_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
POP() - Method in class junc.types.DoubleType
 
POP() - Method in class junc.types.JUnCBaseType
 
POP() - Method in class junc.types.LongType
 
POP() - Method in class junc.types.PrimitiveType
 
POP() - Method in class junc.types.ReferenceType
 
POP() - Method in class junc.types.VoidType
 
popInteger() - Method in class junc.debug.IntegerStack
 
popLevel() - Method in class junc.debug.ExceptionStack
 
POST_DEC - Static variable in interface junc.parser.JavaTokenTypes
 
POST_INC - Static variable in interface junc.parser.JavaTokenTypes
 
PostDecrementExpNode - class junc.ast.PostDecrementExpNode.
Describe class PostDecrementExpNode here.
PostDecrementExpNode(ExpressionNode) - Constructor for class junc.ast.PostDecrementExpNode
Creates a new PostDecrementExpNode instance.
postfixExpression() - Method in class junc.parser.JavaParser
 
PostIncrementExpNode - class junc.ast.PostIncrementExpNode.
Describe class PostIncrementExpNode here.
PostIncrementExpNode(ExpressionNode) - Constructor for class junc.ast.PostIncrementExpNode
Creates a new PostIncrementExpNode instance.
PreDecrementExpNode - class junc.ast.PreDecrementExpNode.
Describe class PreDecrementNode here.
PreDecrementExpNode(ExpressionNode) - Constructor for class junc.ast.PreDecrementExpNode
Creates a new PreDecrementExpNode instance.
PreIncrementExpNode - class junc.ast.PreIncrementExpNode.
Describe class PreIncrementExpNode here.
PreIncrementExpNode(ExpressionNode) - Constructor for class junc.ast.PreIncrementExpNode
Creates a new PreIncrementExpNode instance.
primaryExpression() - Method in class junc.parser.JavaParser
 
PrimitiveType - class junc.types.PrimitiveType.
 
primitiveType() - Method in class junc.types.JUnCBaseType
 
primitiveType() - Method in class junc.types.MethodType
 
primitiveType() - Method in class junc.types.PrimitiveType
 
primitiveType() - Method in class junc.types.ReferenceType
 
PrimitiveType() - Constructor for class junc.types.PrimitiveType
 
PS - Static variable in class junc.symtab.Operators
 
PS_EQ - Static variable in class junc.symtab.Operators
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.BooleanType
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.DoubleType
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.FloatType
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.IntegralType
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.JUnCBaseType
 
PUSH(ConstantPoolGen, BigDecimal) - Method in class junc.types.LongType
 
pushInteger(Integer) - Method in class junc.debug.IntegerStack
 
pushLevel() - Method in class junc.debug.ExceptionStack
 

Q

QUESTION - Static variable in interface junc.parser.JavaTokenTypes
 

R

RBRACK - Static variable in interface junc.parser.JavaTokenTypes
 
RCURLY - Static variable in interface junc.parser.JavaTokenTypes
 
readClassFile(Symbol, boolean) - Method in class junc.cim.ClassImportManager
Manages the loading of class files by initiating loading of class header information, loading of fields and loading of methods Triggers recursive loading for super classes and interfaces
recordSourceCoord(JUnCASTNode, Token) - Method in class junc.parser.JavaParser
Sets source coordinates for error reporting.
ReferenceType - class junc.types.ReferenceType.
 
referenceType() - Method in class junc.types.JUnCBaseType
 
referenceType() - Method in class junc.types.MethodType
 
referenceType() - Method in class junc.types.PrimitiveType
 
referenceType() - Method in class junc.types.ReferenceType
 
ReferenceType() - Constructor for class junc.types.ReferenceType
 
relatedTo(JUnCBaseType) - Method in class junc.types.JUnCBaseType
Determines if two ref types belong to the same branch of the subtype relation hierarchy.
RelationalExpNode - class junc.ast.RelationalExpNode.
 
RelationalExpNode(ExpressionNode, ExpressionNode, int) - Constructor for class junc.ast.RelationalExpNode
 
relationalExpression() - Method in class junc.parser.JavaParser
 
REM() - Method in class junc.types.DoubleType
 
REM() - Method in class junc.types.FloatType
 
REM() - Method in class junc.types.IntegralType
 
REM() - Method in class junc.types.JUnCBaseType
 
REM() - Method in class junc.types.LongType
 
reset() - Method in class junc.ast.BlockNode
Describe reset method here.
resultType() - Method in class junc.types.MethodType
 
RETURN() - Method in class junc.types.BooleanType
 
RETURN() - Method in class junc.types.DoubleType
 
RETURN() - Method in class junc.types.FloatType
 
RETURN() - Method in class junc.types.IntegralType
 
RETURN() - Method in class junc.types.JUnCBaseType
 
RETURN() - Method in class junc.types.LongType
 
RETURN() - Method in class junc.types.ReferenceType
 
RETURN() - Method in class junc.types.VoidType
 
ReturnStatementNode - class junc.ast.ReturnStatementNode.
 
ReturnStatementNode() - Constbsp;
rewind() - Method in class junc.debug.IntegerStream
 
right - Variable in class junc.ast.AdditiveExpNode
Describe variable right here.
right - Variable in class junc.ast.AndExpNode
 
right - Variable in class junc.ast.ArrayExpNode
Describe variable right here.
right - Variable in class junc.ast.AssignmentNode
 
right - Variable in class junc.ast.ConditionalAndExpNode
 
right - Variable in class junc.ast.ConditionalOrExpNode
 
right - Variable in class junc.ast.EqualityExpNode
 
right - Variable in class junc.ast.ExclusiveOrExpNode
 
right - Variable in class junc.ast.InclusiveOrExpNode
 
right - Variable in class junc.ast.MultiplicativeExpNode
 
right - Variable in class junc.ast.RelationalExpNode
 
right - Variable in class junc.ast.ShiftExpNode
 
RPAREN - Static variable in interface junc.parser.JavaTokenTypes
 
RuntimeException - Static variable in class junc.types.JUnCBaseType
 

S

scope - Variable in class junc.ast.MethodDeclarationNode
 
SEMI - Static variable in interface junc.parser.JavaTokenTypes
 
setAcount(int) - Method in class junc.types.MethodDescriptor
 
setCandidateType(MethodType) - Method in class junc.types.MethodDescriptor
 
setClassName(Symbol) - Method in class junc.types.MethodDescriptor
 
setColumnNumber(int) - Method in class junc.ast.JUnCASTNode
 
setColumnNumber(int) - Method in class junc.debug.JUnCException
 
setDistance(int) - Method in class junc.types.MethodDescriptor
 
setFileName(String) - Method in class junc.debug.JUnCException
 
setLineNumber(int) - Method in class junc.ast.JUnCASTNode
 
setLineNumber(int) - Method in class junc.debug.JUnCException
 
setMethodIndex(int) - Method in class junc.types.MethodDescriptor
 
ShiftExpNode - class junc.ast.ShiftExpNode.
 
ShiftExpNode(ExpressionNode, ExpressionNode, int) - Constructor for class junc.ast.ShiftExpNode
 
shiftExpression() - Method in class junc.parser.JavaParser
 
SHL() - Method in class junc.types.IntType
 
SHL() - Method in class junc.types.JUnCBaseType
 
SHL() - Method in class junc.types.LongType
 
Short - Static variable in class junc.types.JUnCBaseType
 
ShortRep - Static variable in class junc.types.JUnCBaseType
 
ShortType - class junc.types.ShortType.
 
ShortType() - Constructor for class junc.types.ShortType
 
SHR() - Method in class junc.types.IntType
 
SHR() - Method in class junc.types.JUnCBaseType
 
SHR() - Method in class junc.types.LongType
 
SL - Static variable in interface junc.parser.JavaTokenTypes
 
SL - Static variable in class junc.symtab.Operators
 
SL_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
SL_COMMENT - Static variable in interface junc.parser.JavaTokenTypes
 
SL_EQ - Static variable in class junc.symtab.Operators
 
SLIST - Static variable in interface junc.parser.JavaTokenTypes
 
SR - Static variable in interface junc.parser.JavaTokenTypes
 
SR - Static variable in class junc.symtab.Operators
 
SR_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
SR_EQ - Static variable in class junc.symtab.Operators
 
SS - Static variable in class junc.symtab.Operators
 
SS_EQ - Static variable in class junc.symtab.Operators
 
STAR - Static variable in interface junc.parser.JavaTokenTypes
 
STAR_ASSIGN - Static variable in interface junc.parser.JavaTokenTypes
 
statement - Variable in class junc.ast.DoStatementNode
 
statement - Variable in class junc.ast.ForStatementNode
 
statement - Variable in class junc.ast.LabeledStatementNode
 
statement - Variable in class junc.ast.WhileStatementNode
 
statement(boolean) - Method in class junc.parser.JavaParser
 
statementAt(int) - Method in class junc.ast.BlockNode
Describe statementAt method here.
StatementExpListNode - class junc.ast.StatementExpListNode.
 
StatementExpListNode() - Constructor for class junc.ast.StatementExpListNode
 
StatementExpNode - class junc.ast.StatementExpNode.
 
StatementExpNode() - Constructor for class junc.ast.StatementExpNode
Creates a new StatementExpNode instance.
StatementExpNode(ExpressionNode) - Constructor for class junc.ast.StatementExpNode
Creates a new StatementExpNode instance.
statementExpression - Variable in class junc.ast.ExpressionNode
This flag is set to true by the parser if the parent of this expression is a statement expression.
statementExpressions - Variable in class junc.ast.StatementExpListNode
 
StatementNode - class junc.ast.StatementNode.
 
StatementNode() - Constructor for class junc.ast.StatementNode
 
statements - Variable in class junc.ast.BlockNode
Describe variable statements here.
statements - Variable in class junc.ast.SwitchLabelNode
 
STATIC_INIT - Static variable in interface junc.parser.JavaTokenTypes
 
StaticInitializerNode - class junc.ast.StaticInitializerNode.
 
StaticInitializerNode() - Constructor for class junc.ast.StaticInitializerNode
 
STORE(int) - Method in class junc.types.BooleanType
 
STORE(int) - Method in class junc.types.DoubleType
 
STORE(int) - Method in class junc.types.FloatType
 
STORE(int) - Method in class junc.types.IntegralType
 
STORE(int) - Method in class junc.types.JUnCBaseType
 
STORE(int) - Method in class junc.types.LongType
 
STORE(int) - Method in class junc.types.ReferenceType
 
STORE(int) - Method in class junc.types.VoidType
 
STRICTFP - Static variable in interface junc.parser.JavaTokenTypes
 
STRING_LITERAL - Static variable in interface junc.parser.JavaTokenTypes
 
StringLiteral - class junc.ast.StringLiteral.
 
StringLiteral(String) - Constructor for class junc.ast.StringLiteral
 
stringType() - Method in class junc.ast.AdditiveExpNode
Describe stringType method here.
SUB() - Method in class junc.types.DoubleType
 
SUB() - Method in class junc.types.FloatType
 
SUB() - Method in class junc.types.IntegralType
 
SUB() - Method in class junc.types.JUnCBaseType
 
SUB() - Method in class junc.types.LongType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.ArrayType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.ClassType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.JUnCBaseType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.MethodType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.NullType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.PrimitiveType
 
subTypeOf(JUnCBaseType) - Method in class junc.types.ReferenceType
 
SUPER_CTOR_CALL - Static variable in interface junc.parser.JavaTokenTypes
 
superClassClause() - Method in class junc.parser.JavaParser
 
superClassName - Variable in class junc.ast.ClassDeclarationNode
Describe variable superClassName here.
superExp() - Method in class junc.ast.ExpressionNode
Determines if the expression is 'super'.
SuperExpNode - class junc.ast.SuperExpNode.
 
SuperExpNode(String) - Constructor for class junc.ast.SuperExpNode
 
SuperExpNode(Symbol) - Constructor for class junc.ast.SuperExpNode
 
superInterfaces() - Method in class junc.types.ClassType
 
superType() - Method in class junc.types.ClassType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.ArrayType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.ClassType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.JUnCBaseType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.MethodType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.NullType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.PrimitiveType
 
superTypeOf(JUnCBaseType) - Method in class junc.types.ReferenceType
 
SwitchLabelNode - class junc.ast.SwitchLabelNode.
 
SwitchLabelNode() - Constructor for class junc.ast.SwitchLabelNode
 
SwitchStatementNode - class junc.ast.SwitchStatementNode.
 
SwitchStatementNode() - Constructor for class junc.ast.SwitchStatementNode
 
Symbol - class junc.symtab.Symbol.
 
Symbol(String) - Constructor for class junc.symtab.Symbol
 
Symbol(String, String) - Constructor for class junc.symtab.Symbol
 
Symbol(String, Symbol) - Constructor for class junc.symtab.Symbol
 
Symbol(Symbol, Integer, String) - Constructor for class junc.symtab.Symbol
 
Symbol(Symbol, Integer, Symbol) - Constructor for class junc.symtab.Symbol
 
Symbol(Symbol, String) - Constructor for class junc.symtab.Symbol
 
Symbol(Symbol, Symbol) - Constructor for class junc.symtab.Symbol
 
SymbolExpNode - class junc.ast.SymbolExpNode.
 
SymbolExpNode(String) - Constructor for class junc.ast.SymbolExpNode
 
SymbolExpNode(String, Symbol) - Constructor for class junc.ast.SymbolExpNode
 
SymbolExpNode(Symbol) - Constructor for class junc.ast.SymbolExpNode
 
SymbolExpNode(Symbol, String) - Constructor for class junc.ast.SymbolExpNode
 
SymbolExpNode(Symbol, Symbol) - Constructor for class junc.ast.SymbolExpNode
 
SymbolTable - class junc.symtab.SymbolTable.
 
SymbolTable() - Constructor for class junc.symtab.SymbolTable
 
SymbolTable(int, float) - Constructor for class junc.symtab.SymbolTable
 
SYNCHRON_ERR - Static variable in class junc.debug.ErrorMessages
 
SynchronizedStatementNode - class junc.ast.SynchronizedStatementNode.
 
SynchronizedStatementNode() - Constructor for class junc.ast.SynchronizedStatementNode
 
synthesize(ClassGen, MethodGen) - Method in class junc.ast.ExpressionNode
Synthesize a boolean expression, i.e., either push a 0 or 1 onto the operand stack for the next statement to succeed.

T

test - Variable in class junc.ast.ConditionalExpNode
 
thenStatement - Variable in class junc.ast.IfStatementNode
 
thisExp() - Method in class junc.ast.ExpressionNode
Determines if the expression is 'this'.
ThisExpNode - class junc.ast.ThisExpNode.
 
ThisExpNode(String) - Constructor for class junc.ast.ThisExpNode
 
ThisExpNode(Symbol) - Constructor for class junc.ast.ThisExpNode
 
thisOrSuperExp() - Method in class junc.ast.ExpressionNode
Determines if the expression refers to this or super.
Throwable - Static variable in class junc.types.JUnCBaseType
 
throwable() - Method in class junc.types.ClassType
 
throwable() - Method in class junc.types.JUnCBaseType
Determines if this type can be thrown as an exception.
thrown - Variable in class junc.debug.ExceptionStack
 
thrownStack - Variable in class junc.debug.ExceptionStack
 
throwsClause() - Method in class junc.parser.JavaParser
 
ThrowStatementNode - class junc.ast.ThrowStatementNode.
 
ThrowStatementNode() - Constructor for class junc.ast.ThrowStatementNode
 
toClassFileType() - Method in class junc.types.ArrayType
Map an JUnC type to a ClassGen one.
toClassFileType() - Method in class junc.types.BooleanType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.ByteType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.CharType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.ClassType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.DoubleType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.FloatType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.IntType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.JUnCBaseType
 
toClassFileType() - Method in class junc.types.LongType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.MethodType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.NullType
Map an junc type to a ClassGen one.
toClassFileType() - Method in class junc.types.PrimitiveType
&ng()">toInternalString() - Method in class junc.symtab.Symbol
 
toInternalString() - Method in class junc.types.JUnCBaseType
 
toString() - Method in class junc.ast.SymbolExpNode
 
toString() - Method in class junc.debug.AmbiguousName
 
toString() - Method in class junc.debug.ErrorMessages
This version of toString() uses the params instance variable to format the message.
toString() - Method in class junc.debug.NotConstantException
 
toString() - Method in class junc.debug.TypeCheckError
 
toString() - Method in class junc.symtab.Symbol
 
toString() - Method in class junc.types.ArrayType
 
toString() - Method in class junc.types.BooleanType
 
toString() - Method in class junc.types.ByteType
 
toString() - Method in class junc.types.CharType
 
toString() - Method in class junc.types.ClassType
 
toString() - Method in class junc.types.DoubleType
 
toString() - Method in class junc.types.FloatType
 
toString() - Method in class junc.types.IntType
 
toString() - Method in class junc.types.JUnCBaseType
 
toString() - Method in class junc.types.LongType
 
toString() - Method in class junc.types.MethodType
 
toString() - Method in class junc.types.NullType
 
toString() - Method in class junc.types.ShortType
 
toString() - Method in class junc.types.VoidType
 
toString(Object) - Method in class junc.debug.ErrorMessages
 
toString(Object, Object) - Method in class junc.debug.ErrorMessages
 
toSymbol() - Method in class junc.ast.SymbolExpNode
 
toSymbol(int) - Static method in class junc.symtab.Operators
 
translate() - Method in class junc.ast.ClassDeclarationNode
Describe translate method here.
translate() - Method in class junc.ast.CompilationUnitNode
Generates byte code for this unit.
translate() - Method in class junc.ast.InterfaceDeclarationNode
 
translate() - Method in class junc.ast.TypeDeclarationNode
 
translate(ClassGen) - Method in class junc.ast.ClassBodyDeclarationNode
Describe translate method here.
translate(ClassGen) - Method in class junc.ast.ConstructorDeclarationNode
Describe translate method here.
translate(ClassGen) - Method in class junc.ast.FieldDeclarationNode
Describe translate method here.
translate(ClassGen) - Method in class junc.ast.MethodDeclarationNode
 
translate(ClassGen) - Method in class junc.ast.StaticInitializerNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.AdditiveExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.AllocationExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.AndExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ArrayExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.AssignmentNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.BlockNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.BooleanLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.BreakStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.CastExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.CharacterLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ConditionalAndExpNode
Translation: b1 and b2 b1 b2
translate(ClassGen, MethodGen) - Method in class junc.ast.ConditionalExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ConditionalOrExpNode
Translation: b1 or b2 b1 [truelist := 1, falselist := 2] 1: goto 2: b2
translate(ClassGen, MethodGen) - Method in class junc.ast.ConstructorInvocationNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.ContinueStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.DoStatementNode
Translation: do s while b 1: s b [truelist := 1, falselist := 2] goto 1 2: nop
translate(ClassGen, MethodGen) - Method in class junc.ast.DoubleLiteral
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.EmptyStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.EqualityExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ExclusiveOrExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ExpressionNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.FieldExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.FloatLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ForStatementNode
Translation: for (i; b; u) s i 1: b [truelist := 2, falselist := 3] 2: s u goto 1 3: nop
translate(ClassGen, MethodGen) - Method in class junc.ast.IfStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.InclusiveOrExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.InstanceOfExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.IntegerLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.LabeledStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.LocalVarDeclarationNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.LongLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.MethodExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.MultiplicativeExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.NullLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.PostDecrementExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.PostIncrementExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.PreDecrementExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.PreIncrementExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.RelationalExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ReturnStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ShiftExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.StatementExpListNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.StatementExpNode
Describe translate method here.
translate(ClassGen, MethodGen) - Method in class junc.ast.StatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.StringLiteral
 
translate(ClassGen, MethodGen) - Method in class junc.ast.SuperExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.SwitchStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ThisExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.ThrowStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.TryStatementNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.TypeExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.UnaryMinusExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.UnaryNotExpNode
Translation: not b b [truelist := , falselist := ] goto
translate(ClassGen, MethodGen) - Method in class junc.ast.UnaryPlusExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.VariableExpNode
 
translate(ClassGen, MethodGen) - Method in class junc.ast.WhileStatementNode
Translation: while b do s 1: b [truelist := 2, falselist := 3] 2: s goto 1 3: nop
translateFinally(ClassGen, MethodGen) - Static method in class junc.ast.TryStatementNode
 
translateFinally(ClassGen, MethodGen, JUnCBaseType) - Static method in class junc.ast.TryStatementNode
 
translateStringConcat(ClassGen, MethodGen) - Method in class junc.ast.AdditiveExpNode
Describe translateStringConcat method here.
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.AndExpNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.ArrayExpNode
Describe translateSynthesized method here.
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.AssignmentNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.BooleanLiteral
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.ExclusiveOrExpNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.ExpressionNode
First translate the expression and then synthesize it.
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.FieldExpNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.InclusiveOrExpNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.MethodExpNode
 
translateSynthesized(ClassGen, MethodGen) - Method in class junc.ast.VariableExpNode
 
trueCase - Variable in class junc.ast.ConditionalExpNode
 
trueList - Variable in class junc.ast.ExpressionNode
Describe variable trueList here.
tryBlock - Variable in class junc.ast.TryStatementNode
 
tryBlock() - Method in class junc.parser.JavaParser
 
TryStatementNode - class junc.ast.TryStatementNode.
 
TryStatementNode() - Constructor for class junc.ast.TryStatementNode
 
TS - Static variable in class junc.symtab.Operators
 
TS_EQ - Static variable in class junc.symtab.Operators
 
twoWords() - Method in class junc.types.DoubleType
 
twoWords() - Method in class junc.types.JUnCBaseType
Determines if vars of this type need two words.
twoWords() - Method in class junc.types.LongType
 
TYINVMET_ERR - Static variable in class junc.debug.ErrorMessages
 
type - Variable in class junc.ast.ClassBodyDeclarationNode
Describe variable type here.
type - Variable in class junc.ast.ExpressionNode
Describe variable type here.
type - Variable in class junc.ast.FormalParameterNode
 
type - Variable in class junc.ast.LocalVarDeclarationNode
 
type - Variable in class junc.ast.VariableDeclaratorNode
 
TYPE - Static variable in interface junc.parser.JavaTokenTypes
 
type() - Method in class junc.ast.ClassBodyDeclarationNode
Describe type method here.
type() - Method in class junc.ast.ExpressionNode
Describe type method here.
type() - Method in class junc.parser.JavaParser
 
TYPECAST - Static variable in interface junc.parser.JavaTokenTypes
 
typeCheck(SymbolTable) - Method in class junc.ast.AdditiveExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.AllocationExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.AndExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ArrayExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.ArrayInitializerNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.AssignmentNode
 
typeCheck(SymbolTable) - Method in class junc.ast.BlockNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.CastExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.CharacterLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.ClassBodyDeclarationNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.ClassDeclarationNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.CompilationUnitNode
Checks type for each class/interface definition in this unit.
typeCheck(SymbolTable) - Method in class junc.ast.ConditionalAndExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ConditionalExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ConditionalOrExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ConstructorDeclarationNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.ConstructorInvocationNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.ContinueStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.DoStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.DoubleLiteral
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.EmptyStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.EqualityExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ExclusiveOrExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ExpressionNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.FieldDeclarationNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.FieldExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.FloatLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.FormalExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.FormalParameterNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ForStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.IfStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.InclusiveOrExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.InstanceOfExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.IntegerLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.InterfaceDeclarationNode
 
typeCheck(SymbolTable) - Method in class junc.ast.InterfaceMemberDeclarationNode
 
typeCheck(SymbolTable) - Method in class junc.ast.JUnCASTNode
 
typeCheck(SymbolTable) - Method in class junc.ast.LabeledStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.Literal
 
typeCheck(SymbolTable) - Method in class junc.ast.LocalExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.LocalVarDeclarationNode
 
typeCheck(SymbolTable) - Method in class junc.ast.LongLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.MethodDeclarationNode
 
typeCheck(SymbolTable) - Method in class junc.ast.MethodExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.MultiplicativeExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.NullLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.PackageExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.PostDecrementExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.PostIncrementExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.PreDecrementExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.PreIncrementExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.RelationalExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ReturnStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ShiftExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.StatementExpListNode
 
typeCheck(SymbolTable) - Method in class junc.ast.StatementExpNode
Describe typeCheck method here.
typeCheck(SymbolTable) - Method in class junc.ast.StatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.StaticInitializerNode
 
typeCheck(SymbolTable) - Method in class junc.ast.StringLiteral
 
typeCheck(SymbolTable) - Method in class junc.ast.SwitchLabelNode
 
typeCheck(SymbolTable) - Method in class junc.ast.SwitchStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.SymbolExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.SynchronizedStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.ThrowStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.TryStatementNode
 
typeCheck(SymbolTable) - Method in class junc.ast.TypeDeclarationNode
 
typeCheck(SymbolTable) - Method in class junc.ast.UnaryMinusExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.UnaryNegExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.UnaryNotExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.UnaryPlusExpNode
 
typeCheck(SymbolTable) - Method in class junc.ast.VariableDeclaratorNode
 
typeCheck(SymbolTable) - Method in class junc.ast.WhileStatementNode
 
TypeCheckError - error junc.debug.TypeCheckError.
 
TypeCheckError(ErrorMessages) - Constructor for class junc.debug.TypeCheckError
 
TypeCheckError(JUnCASTNode) - Constructor for class junc.debug.TypeCheckError
This constructor is deprecated.
TypeDeclarationNode - class junc.ast.TypeDeclarationNode.
 
TypeDeclarationNode() - Constructor for class junc.ast.TypeDeclarationNode
 
TypeDeclarationNode(Token) - Constructor for class junc.ast.TypeDeclarationNode
 
typeDefinition() - Method in class junc.parser.JavaParser
 
typeExp() - Method in class junc.ast.ExpressionNode
Determines if the expression refers to a type.
TypeExpNode - class junc.ast.TypeExpNode.
 
TypeExpNode(String) - Constructor for class junc.ast.TypeExpNode
 
TypeExpNode(String, Symbol) - Constructor for class junc.ast.TypeExpNode
 
TypeExpNode(Symbol) - Constructor for class junc.ast.TypeExpNode
 
TypeExpNode(Symbol, String) - Constructor for class junc.ast.TypeExpNode
 
TypeExpNode(Symbol, Symbol) - Constructor for class junc.ast.TypeExpNode
 
types - Variable in class junc.ast.CompilationUnitNode
A vector of type declarations (classes or interfaces) defined in this module.
typeSpec() - Method in class junc.parser.JavaParser
 

U

UN_MS - Static variable in class junc.symtab.Operators
 
UN_PS - Static variable in class junc.symtab.Operators
 
UNARY_MINUS - Static variable in interface junc.parser.JavaTokenTypes
 
UNARY_PLUS - Static variable in interface junc.parser.JavaTokenTypes
 
unaryExpression() - Method in class junc.parser.JavaParser
 
unaryExpressionNotPlusMinus() - Method in class junc.parser.JavaParser
 
UnaryMinusExpNode - class junc.ast.UnaryMinusExpNode.
 
UnaryMinusExpNode(ExpressionNode) - Constructor for class junc.ast.UnaryMinusExpNode
 
UnaryNegExpNode - class junc.ast.UnaryNegExpNode.
 
UnaryNegExpNode(ExpressionNode) - Constructor for class junc.ast.UnaryNegExpNode
 
UnaryNotExpNode - class junc.ast.UnaryNotExpNode.
 
UnaryNotExpNode(ExpressionNode) - Constructor for class junc.ast.UnaryNotExpNode
 
UnaryPlusExpNode - class junc.ast.UnaryPlusExpNode.
 
UnaryPlusExpNode(ExpressionNode) - Constructor for class junc.ast.UnaryPlusExpNode
 
UNCAUGHT_ERR - Static variable in class junc.debug.ErrorMessages
 
uncaught() - Method in class junc.debug.ExceptionStack
 
UNCTCHBL_ERR - Static variable in class junc.debug.ErrorMessages
 
UNDEFINED - Static variable in class junc.symtab.Operators
 
UNDEFLBL_ERR - Static variable in class junc.debug.ErrorMessages
 
UNDEFMTH_ERR - Static variable in class junc.debug.ErrorMessages
 
UNDEFVAR_ERR - Static variable in class junc.debug.ErrorMessages
 
UNTHROWN_ERR - Static variable in class junc.debug.ErrorMessages
 
unthrown() - Method in class junc.debug.ExceptionStack
 
UNTHRWBL_ERR - Static variable in class junc.debug.ErrorMessages
 
update - Variable in class junc.ast.ForStatementNode
 
USHR() - Method in class junc.types.IntType
 
USHR() - Method in class junc.types.JUnCBaseType
 
USHR() - Method in class junc.types.LongType
 

V

value - Variable in class junc.ast.BooleanLiteral
 
value - Variable in class junc.ast.CharacterLiteral
 
value - Variable in class junc.ast.FloatLiteral
 
value - Variable in class junc.ast.IntegerLiteral
 
value - Variable in class junc.ast.LongLiteral
 
value - Variable in class junc.ast.StringLiteral
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.ArrayType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.ByteType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.ClassType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.JUnCBaseType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.NullType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.PrimitiveType
 
VALUEOF(ConstantPoolGen) - Method in class junc.types.ShortType
 
VARIABLE_DEF - Static variable in interface junc.parser.JavaTokenTypes
 
variableDeclarator(boolean) - Method in class junc.parser.JavaParser
Declaration of a variable.
VariableDeclaratorNode - class junc.ast.VariableDeclaratorNode.
 
VariableDeclaratorNode(boolean) - Constructor for class junc.ast.VariableDeclaratorNode
 
variableDefinitions(boolean) - Method in class junc.parser.JavaParser
 
variableExp() - Method in class junc.ast.ExpressionNode
Determines if the expression is an access to a local or a formal param.
variableExp() - Method in class junc.ast.VariableExpNode
 
VariableExpNode - class junc.ast.VariableExpNode.
 
VariableExpNode(Symbol) - Constructor for class junc.ast.VariableExpNode
 
varInitializer() - Method in class junc.parser.JavaParser
 
VOCAB - Static variable in interface junc.parser.JavaTokenTypes
 
Void - Static variable in class junc.types.JUnCBaseType
 
VoidRep - Static variable in class junc.types.JUnCBaseType
 
VoidType - class junc.types.VoidType.
 
VoidType() - Constructor for class junc.types.VoidType
 

W

WhileStatementNode - class junc.ast.WhileStatementNode.
 
WhileStatementNode() - Constructor for class junc.ast.WhileStatementNode
 
WS - Static variable in interface junc.parser.JavaTokenTypes
 

X

XOR_EQ - Static variable in class junc.symtab.Operators
 
XOR() - Method in class junc.types.BooleanType
 
XOR() - Method in class junc.types.IntegralType
 
XOR() - Method in class junc.types.JUnCBaseType
 
XOR() - Method in class junc.types.LongType
 

_

_tokenNames - Static variable in class junc.parser.JavaParser
 
_tokenSet_0 - Static variable in class junc.parser.JavaLexer
 
_tokenSet_0 - Static variable in class junc.parser.JavaParser
 
_tokenSet_1 - Static variable in class junc.parser.JavaLexer
 
_tokenSet_1 - Static variable in class junc.parser.JavaParser
 
_tokenSet_10 - Static variable in class junc.parser.JavaParser
 
_tokenSet_11 - Static variable in class junc.parser.JavaParser
 
_tokenSet_12 - Static variable in class junc.parser.JavaParser
 
_tokenSet_13 - Static variable in class junc.parser.JavaParser
 
_tokenSet_14 - Static variable in class junc.parser.JavaParser
 
_tokenSet_15 - Static variable in class junc.parser.JavaParser
 
_tokenSet_16 - Static vT>_tokenSet_19 - Static variable in class junc.parser.JavaParser
 
_tokenSet_2 - Static variable in class junc.parser.JavaLexer
 
_tokenSet_2 - Static variable in class junc.parser.JavaParser
 
_tokenSet_20 - Static variable in class junc.parser.JavaParser
 
_tokenSet_21 - Static variable in class junc.parser.JavaParser
 
_tokenSet_22 - Static variable in class junc.parser.JavaParser
 
_tokenSet_23 - Static variable in class junc.parser.JavaParser
 
_tokenSet_24 - Static variable in class junc.parser.JavaParser
 
_tokenSet_25 - Static variable in class junc.parser.JavaParser
 
_tokenSet_26 - Static variable in class junc.parser.JavaParser
 
_tokenSet_3 - Static variable in class junc.parser.JavaLexer
 
_tokenSet_3 - Static variable in class junc.parser.JavaParser
 
_tokenSet_4 - Static variable in class junc.parser.JavaLexer
 
_tokenSet_4 - Static variable in class junc.parser.JavaParser
 
_tokenSet_5 - Static variable in class junc.parser.JavaParser
 
_tokenSet_6 - Static variable in class junc.parser.JavaParser
 
_tokenSet_7 - Static variable in class junc.parser.JavaParser
 
_tokenSet_8 - Static variable in class junc.parser.JavaParser
 
_tokenSet_9 - Static variable in class junc.parser.JavaParser
 

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