jellyj.syntaxtree
Class ConstructorInvocationNode
jellyj.syntaxtree.SyntaxTreeNode
|
+--jellyj.syntaxtree.ExpressionNode
|
+--jellyj.syntaxtree.ConstructorInvocationNode
- public class ConstructorInvocationNode
- extends ExpressionNode
Methods inherited from class jellyj.syntaxtree.ExpressionNode |
addFalseList, addTrueList, appendToFalseList, appendToTrueList, backPatch, desynthesize, evaluate, evaluateExp, leftValue, lookupPrimop, superExp, synthesize, thisExp, thisOrSuperExp, translateSynthesized, type, typeExp, variableExp |
args_d
public Vector args_d
- Vector containing invocation arguments.
className_d
public Symbol className_d
- Here we keep the type name to which the invoked constructor belongs.
invocationThis_d
public boolean invocationThis_d
- True if "this" was used, false if "super" was used.
name_d
public Symbol name_d
- Name of this class or super class.
node_d
public MethodDeclarationNode node_d
- A ref to the AST node.
ConstructorInvocationNode
public ConstructorInvocationNode()
ConstructorInvocationNode
public ConstructorInvocationNode(Symbol name)
translate
public void translate(ClassGen classGen, MethodGen methodGen)
typeCheck
public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError
to Class java.util.Vector- Vector containing invocation arguments.
to Class jellyj.util.Symbol
- Name of this class or super class.
to Class jellyj.syntaxtree.MethodDeclarationNode
- A ref to the AST node.
to Class jellyj.util.Symbol
- Here we keep the type name to which the invoked constructor belongs.