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

G

GE - Static variable in class cfg.IfInst
Equals ('>=') condition type ID
GE - Static variable in interface parser.ParserConstants
RegularExpression Id.
generateParseException() - Method in class parser.Parser
Generate ParseException.
getActualList() - Method in class ast.DispatchExpr
Get the list of actual parameter expressions
getAvailableAnalyses() - Method in class cfg.BasicBlock
Returns a set of names of available dataflow analyses results.
getBasicBlockId() - Method in class util.Definition
 
getBeginColumn() - Method in class parser.JavaCharStream
 
getBeginLine() - Method in class parser.JavaCharStream
 
getBinaryOpcode(String) - Static method in class cfg.TACInst
Convert string representation of binary operator to an opcode (doesn't work for other operators)
getBlock(int) - Static method in class cfg.BasicBlock
Returns basic block by ID.
getBodyStmt() - Method in class ast.ForStmt
Get the body statement
getBodyStmt() - Method in class ast.WhileStmt
Get the body statement
getClassID(String) - Method in class opt.Optimizer
Get class identifier
getClassList() - Method in class ast.Program
Get list of classes that comprise the program
getColumn() - Method in class parser.JavaCharStream
Deprecated. 
getComments() - Method in class cfg.BasicBlock
Get comments for instruction
getComments() - Method in class cfg.TACInst
Get comments for instruction
getConstant() - Method in class ast.ConstExpr
Get the constant value
getDestination() - Method in class cfg.BinaryInst
Get the destination operand variable
getDestination() - Method in class cfg.LoadInst
Get the destination operand variable
getDestination() - Method in class cfg.PhiInst
Returns the destination.
getDestination() - Method in class cfg.StoreEntryInst
Get the destination operand
getDestination() - Method in class cfg.UnaryInst
Get the destination operand variable
getDestination(TACInst) - Static method in class opt.Optimizer
Gets the destination of an instruction or null if none
getDestVar() - Method in class cfg.CallInst
Get the destination variable (variable to assign result to -- null if none)
getDominanceFrontier() - Method in class cfg.BasicBlock
Returns the set of BasicBlocks in the dominance frontier.
getElseStmt() - Method in class ast.IfStmt
Get the else statement
getEndColumn() - Method in class parser.JavaCharStream
Get end column.
getEndLine() - Method in class parser.JavaCharStream
Get end line.
getEntrySet(String) - Method in class cfg.BasicBlock
Returns the block entry set for the given analysis.
getExitSet(String) - Method in class cfg.BasicBlock
Returns the block exit set for the given analysis.
getExpr() - Method in class ast.ArrayAssignExpr
Get the righthand expression of the assignment
getExpr() - Method in class ast.AssignExpr
Get the righthand expression of the assignment
getExpr() - Method in class ast.CastExpr
Get the expression to cast
getExpr() - Method in class ast.ExprStmt
Get the expression within the statement
getExpr() - Method in class ast.InstanceofExpr
Get the lefthand expression
getExpr() - Method in class ast.ReturnStmt
Get the return expression
getExpr() - Method in class ast.UnaryExpr
Get the expression
getExprType() - Method in class ast.Expr
Get the type of the expression
getFalseTarg() - Method in class cfg.IfInst
Get the false target block
getFieldsUsedInCFG(BasicBlock) - Static method in class opt.Optimizer
Returns all field vars written to or read from in the CFG starting at entryBB.
getFilename() - Method in class ast.Class_
Get the filename of the file containing this class
getFormalList() - Method in class ast.Method
Get list of formal parameters
getFullString() - Method in class cfg.BasicBlock
Returns string representation of entire basic block
getID() - Method in class cfg.BasicBlock
Get the identifier of this basic block
getIfCnt() - Method in class cfg.BasicBlock
Get the if count for this block, i.e., number of if statements this block is contained in (note: predicate considered part of the if statement)
GetImage() - Method in class parser.JavaCharStream
 
getImmediateDominator() - Method in class cfg.BasicBlock
Returns the immediate dominator of the block.
getIndex() - Method in class ast.ArrayAssignExpr
Get the index expression
getIndex() - Method in class ast.ArrayExpr
Get the index expression
getIndex() - Method in class cfg.LoadEntryInst
Get the index
getIndex() - Method in class cfg.StoreEntryInst
Get the index
getIndexOf(TACInst) - Method in class cfg.BasicBlock
Returns the index of inst in block, or -1 if not found.
getInit() - Method in class ast.DeclStmt
Get the initialization expression for the declared variable
getInit() - Method in class ast.Field
Get the initialization expression of the field
getInitExpr() - Method in class ast.ForStmt
Get the initialization expression If null, then no initialization expression
getInstructionId() - Method in class util.Definition
 
getInstructions() - Method in class cfg.BasicBlock
Returns a collection with the instructions in this block.
getIntConstant() - Method in class ast.ConstIntExpr
Get the constant value represented as an int
getIterator() - Method in class ast.ListNode
Returns an iterator for this list
getLeftExpr() - Method in class ast.BinaryExpr
Get the lefthand expression
getLeftSource() - Method in class cfg.BinaryInst
Get the left source operand
getLeftSource() - Method in class cfg.IfInst
Get the left source operand
getLine() - Method in class parser.JavaCharStream
Deprecated. 
getLineNum() - Method in class ast.ASTNode
Get the line number corresponding to this AST node
getLoopCnt() - Method in class cfg.BasicBlock
Get the loop count for this block, i.e., number of loops this block is contained in (note: predicate considered part of the loop)
getMemberList() - Method in class ast.Class_
Get list of members that this class contains
getMessage() - Method in error parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethodIdx(String, String) - Method in class opt.Optimizer
Get method index
getMethodName() - Method in class ast.DispatchExpr
Get the method name
getName() - Method in class ast.ArrayAssignExpr
Get the lefthand variable name
getName() - Method in class ast.ArrayExpr
Get the name of the array
getName() - Method in class ast.AssignExpr
Get the lefthand variable name
getName() - Method in class ast.Class_
Get the name of this class
getName() - Method in class ast.DeclStmt
Get the name of the declared variable
getName() - Method in class ast.Field
Get the name of the field
getName() - Method in class ast.Formal
Get the name of the formal parameter
getName() - Method in class ast.Method
Get the name of this method
getName() - Method in class ast.VarExpr
Get the name of the variable
getNextTmp() - Static method in class opt.Optimizer
Get a new temporary
getNextToken() - Method in class parser.Parser
Get the next Token.
getNextToken() - Method in class parser.ParserTokenManager
Get the next Token.
getNonRedundantParam() - Method in class cfg.PhiInst
Returns the index of the first parameter which is not equal to the destination.
getNthInEdge(int) - Method in class cfg.BasicBlock
Get nth incoming edge (basic block)
getNthInst(int) - Method in class cfg.BasicBlock
Get the nth instruction Note: throws an exception if there aren't at least n+1 instructions
getNthOutEdge(int) - Method in class cfg.BasicBlock
Get nth outgoing edge (basic block)
getNthSource(int) - Method in class cfg.PhiInst
Returns the nth source operand of the phi-instruction.
getNumInEdges() - Method in class cfg.BasicBlock
Get number of incoming edges
getNumInsn() - Method in class cfg.BasicBlock
Get the number of instructions at this basic block
getNumOutEdges() - Method in class cfg.BasicBlock
Get number of outgoing edges
getNumParam() - Method in class cfg.CallInst
Get the number of parameters (both ref. and standard but not error)
getNumParams() - Method in class cfg.PhiInst
Returns the number of params.
getOp() - Method in class cfg.TACInst
Get the instruction operator as a string Only works for unary and binary operators (no control flow or load operators)
getOpcode() - Method in class cfg.TACInst
Get opcode of instruction
getOperand1(TACInst) - Static method in class opt.Optimizer
Gets the first operand of an instruction or null if none
getOperand2(TACInst) - Static method in class opt.Optimizer
Gets the second operand of an instruction or null if none
getOperandType() - Method in class ast.BinaryArithDivideExpr
Get the operand type
getOperandType() - Method in class ast.BinaryArithMinusExpr
Get the operand type
getOperandType() - Method in class ast.BinaryArithModulusExpr
Get the operand type
getOperandType() - Method in class ast.BinaryArithPlusExpr
Get the operand type
getOperandType() - Method in class ast.BinaryArithTimesExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompEqExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompGeqExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompGtExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompLeqExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompLtExpr
Get the operand type
getOperandType() - Method in class ast.BinaryCompNeExpr
Get the operand type
getOperandType() - Method in class ast.BinaryExpr
Get the operand type (e.g., "int") (must be defined by each subclass)
getOperandType() - Method in class ast.BinaryLogicAndExpr
Get the operand type
getOperandType() - Method in class ast.BinaryLogicOrExpr
Get the operand type
getOperandType() - Method in class ast.UnaryDecrExpr
Get the operand type
getOperandType() - Method in class ast.UnaryExpr
Get the operand type (e.g., "boolean") (must be defined by each subclass)
getOperandType() - Method in class ast.UnaryIncrExpr
Get the operand type
getOperandType() - Method in class ast.UnaryNegExpr
Get the operand type
getOperandType() - Method in class ast.UnaryNotExpr
Get the operand type
getOpName() - Method in class ast.BinaryArithDivideExpr
Get the operation name
getOpName() - Method in class ast.BinaryArithMinusExpr
Get the operation name
getOpName() - Method in class ast.BinaryArithModulusExpr
Get the operation name
getOpName() - Method in class ast.BinaryArithPlusExpr
Get the operation name
getOpName() - Method in class ast.BinaryArithTimesExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompEqExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompGeqExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompGtExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompLeqExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompLtExpr
Get the operation name
getOpName() - Method in class ast.BinaryCompNeExpr
Get the operation name
getOpName() - Method in class ast.BinaryExpr
Get the operation name (e.g., "+") (must be defined by each subclass)
getOpName() - Method in class ast.BinaryLogicAndExpr
Get the operation name
getOpName() - Method in class ast.BinaryLogicOrExpr
Get the operation name
getOpName() - Method in class ast.UnaryDecrExpr
Get the operation name
getOpName() - Method in class ast.UnaryExpr
Get the operation name (e.g., "!")
getOpName() - Method in class ast.UnaryIncrExpr
Get the operation name
getOpName() - Method in class ast.UnaryNegExpr
Get the operation name
getOpName() - Method in class ast.UnaryNotExpr
Get the operation name
getOpType() - Method in class ast.BinaryArithDivideExpr
Get the operation type
getOpType() - Method in class ast.BinaryArithMinusExpr
Get the operation type
getOpType() - Method in class ast.BinaryArithModulusExpr
Get the operation type
getOpType() - Method in class ast.BinaryArithPlusExpr
Get the operation type
getOpType() - Method in class ast.BinaryArithTimesExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompEqExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompGeqExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompGtExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompLeqExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompLtExpr
Get the operation type
getOpType() - Method in class ast.BinaryCompNeExpr
Get the operation type
getOpType() - Method in class ast.BinaryExpr
Get the operation type (e.g., "int") (must be defined by each subclass)
getOpType() - Method in class ast.BinaryLogicAndExpr
Get the operation type
getOpType() - Method in class ast.BinaryLogicOrExpr
Get the operation type
getOpType() - Method in class ast.UnaryDecrExpr
Get the operation type
getOpType() - Method in class ast.UnaryExpr
Get the operation type (e.g., "boolean") (must be defined by each subclass)
getOpType() - Method in class ast.UnaryIncrExpr
Get the operation type
getOpType() - Method in class ast.UnaryNegExpr
Get the operation type
getOpType() - Method in class ast.UnaryNotExpr
Get the operation type
getOriginalVar() - Method in class cfg.PhiInst
Returns the name of the original variable this phi assignment is for.
getParamType() - Method in class cfg.ParamInst
Get the parameter type (e.g., "stdparam", "refparam", errparam")
getParent() - Method in class ast.Class_
Get the name of the parent of this class
getPredExpr() - Method in class ast.ForStmt
Get the predicate expression If null, then no predicate expression
getPredExpr() - Method in class ast.IfStmt
Get the predicate expression
getPredExpr() - Method in class ast.WhileStmt
Get the predicate expression
getRef() - Method in class ast.ArrayExpr
Get the reference object Only applicable if array is a field (otherwise this returns null)
getRef() - Method in class ast.VarExpr
Get the reference object expression Only applicable if variable is a field (otherwise this returns null)
getRefExpr() - Method in class ast.DispatchExpr
Get the reference expression
getRefName() - Method in class ast.ArrayAssignExpr
Get the optional reference name
getRefName() - Method in class ast.AssignExpr
Get the optional reference name
getReturnType() - Method in class ast.Method
Get the return type of this method
getRightExpr() - Method in class ast.BinaryExpr
Get the righthand expression
getRightSource() - Method in class cfg.BinaryInst
Get the right source operand
getRightSource() - Method in class cfg.IfInst
Get the right source operand
getSize() - Method in class ast.ListNode
Get the list size
getSize() - Method in class ast.NewArrayExpr
Get the construction size expression
getSource() - Method in class cfg.LoadInst
Get the source operand
getSource() - Method in class cfg.ParamInst
Get the soure operand (result of parameter expression)
getSource() - Method in class cfg.ReturnInst
Get the soure operand (result of return expression, null if none)
getSource() - Method in class cfg.StoreEntryInst
Get the source operand
getSource() - Method in class cfg.UnaryInst
Get the source operand
getSources(TACInst) - Static method in class opt.Optimizer
Returns new a set with all variables used by given instruction.
getSources(TACInst, Set<String>) - Static method in class opt.Optimizer
Returns a set with all variables used by given instruction; if in is not null, it will be used to store result (not cleared).
getStartLineNum() - Method in class cfg.BasicBlock
Get the starting source line number of this basic block
getStaticName(String, String) - Method in class opt.Optimizer
Get static method name or null if must use dynamic dispatch
getStmtList() - Method in class ast.BlockStmt
Get the statement list
getStmtList() - Method in class ast.Method
Get list of statements from method body
getString() - Method in class cfg.BinaryInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.CallInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.ErrParamInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.IfInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.LoadEntryInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.LoadInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.ParamInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.PhiInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.ReturnInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.StoreEntryInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.TACInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
getString() - Method in class cfg.UnaryInst
Get string representation of instruction (without comments) (note: in general, you want to use toString() to get instruction string)
GetSuffix(int) - Method in class parser.JavaCharStream
 
getTabSize(int) - Method in class parser.JavaCharStream
 
getTarget() - Method in class cfg.CallInst
Get the target of the call
getThenStmt() - Method in class ast.IfStmt
Get the then statement
getToken(int) - Method in class parser.Parser
Get the specific Token.
getTrueTarg() - Method in class cfg.IfInst
Get the true target block
getType() - Method in class ast.CastExpr
Get the target type
getType() - Method in class ast.DeclStmt
Get the type of the declared variable
getType() - Method in class ast.Field
Get the type of the field
getType() - Method in class ast.Formal
Get the type of the formal parameter
getType() - Method in class ast.InstanceofExpr
Get the righthand type
getType() - Method in class ast.NewArrayExpr
Get the type of the constructed array
getType() - Method in class ast.NewExpr
Get the type to be constructed
getType() - Method in class cfg.ErrParamInst
Get the type (ID) of error parameter (e.g., ErrParamInst.FILENAME, etc.)
getType() - Method in class cfg.IfInst
Get the type of If condition
getType() - Method in class cfg.LoadConstInst
Get the type of the constant (e.g., LoadConstInst.INT)
getUnaryOpcode(String) - Static method in class cfg.TACInst
Convert string representation of unary operator to an opcode (doesn't work for other operators)
getUpCast() - Method in class ast.CastExpr
Is this an upcast?
getUpCheck() - Method in class ast.InstanceofExpr
Is this an upcheck?
getUpdateExpr() - Method in class ast.ForStmt
Get the update expression If null, then no update expression
getValue() - Method in class parser.Token
An optional attribute value of the Token.
getVariable() - Method in class util.Definition
 
Goal() - Method in class parser.Parser
 
GT - Static variable in class cfg.IfInst
Equals ('>') condition type ID
GT - Static variable in interface parser.ParserConstants
RegularExpression Id.
A B C D E F G H I J K L M N O P R S T U V W