Serialized Form

Class junc.ast.AdditiveExpNode implements Serializable

Serialized Fields

operator

int operator
Describe variable operator here.


left

junc.ast.ExpressionNode left
Describe variable left here.


right

junc.ast.ExpressionNode right
Describe variable right here.


parent

junc.ast.ExpressionNode parent
Describe variable parent here. null if leftmost AdditiveExp, otherwise next AdditiveExp to the left is used in case of string concatenation


Class junc.ast.AllocationExpNode implements Serializable

Serialized Fields

etype

junc.types.JUnCBaseType etype
Type of elements allocated. The final type is determined by typeCheck() and set in the corresponding base class field.


args

java.util.Vector args
An ExpressionNode vector for each dimension or for each actual parameter of the class constructor. Empty expressions in array allocations like a[4][][] are filled with refs to the NullLiteral.


dims

int dims
The number of non-empty dimensions being specified. This is calculated by the typeCheck() method.


array

boolean array
This flag determines if the parameters in the args vector correspond to an array allocation or a constructor call.


mnode

junc.ast.MethodDeclarationNode mnode
A pointer to the constructor's declaration node.


className

junc.symtab.Symbol className
Here we keep the type name to which the invoked constructor belongs.


Class junc.debug.AmbiguousName implements Serializable

Serialized Fields

name

junc.symtab.Symbol name


Class junc.ast.AndExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.ArrayExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


right

junc.ast.ExpressionNode right
Describe variable right here.


Class junc.ast.ArrayInitializerNode implements Serializable

Serialized Fields

arrinitializer

java.util.Vector arrinitializer
Describe variable arrinitializer here.


Class junc.ast.AssignmentNode implements Serializable

Serialized Fields

operator

int operator

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right

gotor

org.apache.bcel.generic.BranchHandle gotor
Instruction to be back patched. Used for code generation.


realLeft

junc.ast.ExpressionNode realLeft
Ref to the left value of the assignemnt. Needed when a cast expression is inserted by the type checker.


parent

junc.ast.AssignmentNode parent
This pointer is only set if my parent node is also an assignment. Needed to insert dups in the instruction list.


Class junc.ast.BlockNode implements Serializable

Serialized Fields

statements

java.util.Vector statements
Describe variable statements here.


Class junc.ast.BooleanLiteral implements Serializable

Serialized Fields

value

java.lang.Boolean value


Class junc.ast.BreakStatementNode implements Serializable

Serialized Fields

label

junc.symtab.Symbol label


Class junc.ast.CastExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


Class junc.ast.CharacterLiteral implements Serializable

Serialized Fields

value

java.lang.Character value


Class junc.ast.ClassBodyDeclarationNode implements Serializable

Serialized Fields

type

junc.types.JUnCBaseType type
Describe variable type here.


accessFlags

int accessFlags
Describe variable accessFlags here.


Class junc.ast.ClassDeclarationNode implements Serializable

Serialized Fields

superClassName

junc.symtab.Symbol superClassName
Describe variable superClassName here.


Class junc.ast.CompilationUnitNode implements Serializable

Serialized Fields

packageName

junc.symtab.Symbol packageName
The name of the package to which the compilation unit belongs to.


imports

java.util.Vector imports
A Symbol vector with all the import declarations defined in this module.


types

java.util.Vector types
A vector of type declarations (classes or interfaces) defined in this module.


NUMBER_TYPES

int NUMBER_TYPES
Default size of types vector

See Also:
Constant Field Values

NUMBER_IMPORTS

int NUMBER_IMPORTS
Default size of imports vector

See Also:
Constant Field Values


Class junc.ast.ConditionalAndExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.ConditionalExpNode implements Serializable

Serialized Fields

test

junc.ast.ExpressionNode test

trueCase

junc.ast.ExpressionNode trueCase

falseCase

junc.ast.ExpressionNode falseCase


Class junc.ast.ConditionalOrExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.ConstructorDeclarationNode implements Serializable

Serialized Fields

constructorInvocation

junc.ast.ConstructorInvocationNode constructorInvocation
Describe variable constructorInvocation here.


fieldInit

junc.ast.BlockNode fieldInit
Describe variable fieldInit here.


Class junc.ast.ConstructorInvocationNode implements Serializable

Serialized Fields

args

java.util.Vector args
Vector containing invocation arguments.


invocationThis

boolean invocationThis
True if "this" was used, false if "super" was used.


name

junc.symtab.Symbol name
Name of this class or super class.


node

junc.ast.MethodDeclarationNode node
A ref to the AST node.


className

junc.symtab.Symbol className
Here we keep the type name to which the invoked constructor belongs.


Class junc.ast.ContinueStatementNode implements Serializable

Serialized Fields

label

junc.symtab.Symbol label


Class junc.ast.DoStatementNode implements Serializable

Serialized Fields

statement

junc.ast.StatementNode statement

condition

junc.ast.ExpressionNode condition


Class junc.ast.DoubleLiteral implements Serializable

Serialized Fields

value

java.lang.Double value
Describe variable value here.


Class junc.ast.EmptyStatementNode implements Serializable


Class junc.ast.EqualityExpNode implements Serializable

Serialized Fields

operator

int operator

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right

eqtype

junc.types.JUnCBaseType eqtype


Class junc.ast.ExclusiveOrExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.ExpressionNode implements Serializable

Serialized Fields

type

junc.types.JUnCBaseType type
Describe variable type here.


trueList

org.apache.bcel.generic.InstructionList trueList
Describe variable trueList here.


falseList

org.apache.bcel.generic.InstructionList falseList
Describe variable falseList here.


leftValue

boolean leftValue
Set to true by the parser if this expression is to the left of an assignment operator.


statementExpression

boolean statementExpression
This flag is set to true by the parser if the parent of this expression is a statement expression.


Class junc.ast.FieldDeclarationNode implements Serializable

Serialized Fields

fields

java.util.Vector fields
A Symbol vector with the fields declared. The type of the elements is VariableDeclaratorNode.


Class junc.ast.FieldExpNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name
Name of the field being accessed.


left

junc.ast.ExpressionNode left
A ref to the expression to the left of the dot. Must be of some ClassType.


astNode

junc.ast.FieldDeclarationNode astNode
A reference to the AST node.


index

int index
The index in the fields vector where the name was found.


methodNode

junc.ast.MethodDeclarationNode methodNode
A ref to the AST node of the method where the field is being accessed. Null if called from a static initializer.


Class junc.ast.FloatLiteral implements Serializable

Serialized Fields

value

java.lang.Float value


Class junc.ast.FormalExpNode implements Serializable


Class junc.ast.FormalParameterNode implements Serializable

Serialized Fields

type

junc.types.JUnCBaseType type

name

junc.symtab.Symbol name

olor"> Serialized Fields

condition

junc.ast.ExpressionNode condition

thenStatement

junc.ast.StatementNode thenStatement

elseStatement

junc.ast.StatementNode elseStatement


Class junc.ast.InclusiveOrExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.InstanceOfExpNode implements Serializable

Serialized Fields

ctype

junc.types.JUnCBaseType ctype

left

junc.ast.ExpressionNode left


Class junc.ast.IntegerLiteral implements Serializable

Serialized Fields

value

java.lang.Integer value


Class junc.debug.IntegerStack implements Serializable


Class junc.ast.InterfaceDeclarationNode implements Serializable


Class junc.ast.InterfaceMemberDeclarationNode implements Serializable


Class junc.ast.JUnCASTNode implements Serializable

Serialized Fields

lineNumber

int lineNumber

columnNumber

int columnNumber


Class junc.debug.JUnCError implements Serializable


Class junc.debug.JUnCException implements Serializable

Serialized Fields

fileName

java.lang.String fileName

lineNumber

int lineNumber

columnNumber

int columnNumber


Class junc.ast.LabeledStatementNode implements Serializable

Serialized Fields

label

junc.symtab.Symbol label

statement

junc.ast.StatementNode statement

breakList

org.apache.bcel.generic.InstructionList breakList

continueList

org.apache.bcel.generic.InstructionList continueList

labeledNOP

org.apache.bcel.generic.InstructionHandle labeledNOP


Class junc.ast.Literal implements Serializable


Class junc.ast.LocalExpNode implements Serializable


Class junc.ast.LocalVarDeclarationNode implements Serializable

Serialized Fields

type

junc.types.JUnCBaseType type

localVariables

java.util.Vector localVariables


Class junc.ast.LongLiteral implements Serializable

Serialized Fields

value

java.lang.Long value


Class junc.ast.MethodDeclarationNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name

formalParameters

java.util.Vector formalParameters

exceptions

java.util.Vector exceptions

block

junc.ast.BlockNode block

scope

java.lang.Integer scope


Class junc.ast.MethodExpNode implements Serializable

Serialized Fields

args

java.util.Vector args
The list of arguments.


left

junc.ast.ExpressionNode left
This should always be a FieldExpNode.


className

junc.symtab.Symbol className
The type name to which the invoked method belongs.


caller

junc.ast.MethodDeclarationNode caller
A ref to the AST node of the method where the call takes place. Not applicable if the call takes place in .


callee

junc.ast.MethodDeclarationNode callee
A ref to the AST node of the called method.


special

boolean special
Set to true if the callee is a private method or a method called via super.


Class junc.ast.MultiplicativeExpNode implements Serializable

Serialized Fields

operator

int operator

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.debug.NotConstantException implements Serializable

Serialized Fields

node

junc.ast.ExpressionNode node


Class junc.ast.NullLiteral implements Serializable


Class junc.ast.PackageExpNode implements Serializable


Class junc.ast.PostDecrementExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


Class junc.ast.PostIncrementExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


Class junc.ast.PreDecrementExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


Class junc.ast.PreIncrementExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left
Describe variable left here.


Class junc.ast.RelationalExpNode implements Serializable

Serialized Fields

operator

int operator

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.ReturnStatementNode implements Serializable

Serialized Fields

returnType

junc.types.JUnCBaseType returnType

expression

junc.ast.ExpressionNode expression


Class junc.ast.ShiftExpNode implements Serializable

Serialized Fields

operator

int operator

left

junc.ast.ExpressionNode left

right

junc.ast.ExpressionNode right


Class junc.ast.StatementExpListNode implements Serializable

Serialized Fields

statementExpressions

java.util.Vector statementExpressions


Class junc.ast.StatementExpNode implements Serializable

Serialized Fields

expression

junc.ast.ExpressionNode expression
Describe variable expression here.


Class junc.ast.StatementNode implements Serializable


Class junc.ast.StaticInitializerNode implements Serializable

Serialized Fields

block

junc.ast.BlockNode block


Class junc.ast.StringLiteral implements Serializable

Serialized Fields

value

java.lang.String value


Class junc.ast.SuperExpNode implements Serializable


Class junc.ast.SwitchLabelNode implements Serializable

Serialized Fields

statements

java.util.Vector statements

expression

junc.ast.ExpressionNode expression


Class junc.ast.SwitchStatementNode implements Serializable

Serialized Fields

labels

java.util.Vector labels

expression

junc.ast.ExpressionNode expression


Class junc.ast.SymbolExpNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name


Class junc.symtab.SymbolTable implements Serializable


Class junc.ast.SynchronizedStatementNode implements Serializable

Serialized Fields

block

junc.ast.BlockNode block

expression

junc.ast.ExpressionNode expression


Class junc.ast.ThisExpNode implements Serializable


Class junc.ast.ThrowStatementNode implements Serializable

Serialized Fields

expression

junc.ast.ExpressionNode expression


Class junc.ast.TryStatementNode implements Serializable

Serialized Fields

formals

java.util.Vector formals

catchBlocks

java.util.Vector catchBlocks

tryBlock

junc.ast.BlockNode tryBlock

finallyBlock

junc.ast.BlockNode finallyBlock


Class junc.debug.TypeCheckError implements Serializable

Serialized Fields

error

junc.debug.ErrorMessages error

node

junc.ast.JUnCASTNode node


Class junc.ast.TypeDeclarationNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name

body

java.util.Vector body

accessFlags

int accessFlags

isRooted

boolean isRooted

interfaces

java.util.Vector interfaces


Class junc.ast.TypeExpNode implements Serializable


Class junc.ast.UnaryMinusExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left


Class junc.ast.UnaryNegExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left


Class junc.ast.UnaryNotExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left


Class junc.ast.UnaryPlusExpNode implements Serializable

Serialized Fields

left

junc.ast.ExpressionNode left


Class junc.ast.VariableDeclaratorNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name

type

junc.types.JUnCBaseType type

init

junc.ast.ExpressionNode init

isField

boolean isField


Class junc.ast.VariableExpNode implements Serializable

Serialized Fields

name

junc.symtab.Symbol name


Class junc.ast.WhileStatementNode implements Serializable

Serialized Fields

statement

junc.ast.StatementNode statement

condition

junc.ast.ExpressionNode condition