All Packages Class Hierarchy This Package Previous Next Index
Class espresso.syntaxtree.ConstructorInvocationNode
java.lang.Object
|
+----espresso.syntaxtree.SyntaxTreeNode
|
+----espresso.syntaxtree.ExpressionNode
|
+----espresso.syntaxtree.ConstructorInvocationNode
- public class ConstructorInvocationNode
- extends ExpressionNode
-
args_d
- Vector containing invocation arguments.
-
className_d
- Here we keep the type name to which the invoked constructor belongs.
-
invocationThis_d
- True if "this" was used, false if "super" was used.
-
name_d
- Name of this class or super class.
-
node_d
- A ref to the AST node.
-
ConstructorInvocationNode()
-
-
ConstructorInvocationNode(Symbol)
-
-
castArguments(Vector)
-
-
translate(ClassGen, MethodGen)
-
-
typeCheck(SymbolTable)
-
-
typeCheckArgs(SymbolTable)
-
args_d
public Vector args_d
- Vector containing invocation arguments.
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.
className_d
public Symbol className_d
- Here we keep the type name to which the invoked constructor belongs.
ConstructorInvocationNode
public ConstructorInvocationNode()
ConstructorInvocationNode
public ConstructorInvocationNode(Symbol name)
castArguments
private void castArguments(Vector argsType)
typeCheckArgs
private Vector typeCheckArgs(SymbolTable stable) throws TypeCheckError
typeCheck
public Type typeCheck(SymbolTable stable) throws TypeCheckError
- Overrides:
- typeCheck in class ExpressionNode
translate
public void translate(ClassGen classGen,
MethodGen methodGen)
- Overrides:
- translate in class ExpressionNode
All Packages Class Hierarchy This Package Previous Next Index