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

Variable Index

 o args_d
Vector containing invocation arguments.
 o className_d
Here we keep the type name to which the invoked constructor belongs.
 o invocationThis_d
True if "this" was used, false if "super" was used.
 o name_d
Name of this class or super class.
 o node_d
A ref to the AST node.

Constructor Index

 o ConstructorInvocationNode()
 o ConstructorInvocationNode(Symbol)

Method Index

 o castArguments(Vector)
 o translate(ClassGen, MethodGen)
 o typeCheck(SymbolTable)
 o typeCheckArgs(SymbolTable)

Variables

 o args_d
 public Vector args_d
Vector containing invocation arguments.

 o invocationThis_d
 public boolean invocationThis_d
True if "this" was used, false if "super" was used.

 o name_d
 public Symbol name_d
Name of this class or super class.

 o node_d
 public MethodDeclarationNode node_d
A ref to the AST node.

 o className_d
 public Symbol className_d
Here we keep the type name to which the invoked constructor belongs.

Constructors

 o ConstructorInvocationNode
 public ConstructorInvocationNode()
 o ConstructorInvocationNode
 public ConstructorInvocationNode(Symbol name)

Methods

 o castArguments
 private void castArguments(Vector argsType)
 o typeCheckArgs
 private Vector typeCheckArgs(SymbolTable stable) throws TypeCheckError
 o typeCheck
 public Type typeCheck(SymbolTable stable) throws TypeCheckError
Overrides:
typeCheck in class ExpressionNode
 o translate
 public void translate(ClassGen classGen,
                       MethodGen methodGen)
Overrides:
translate in class ExpressionNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index