fabil.ast
Class New_c

java.lang.Object
  extended by polyglot.ast.New_c
      extended by fabil.ast.New_c
All Implemented Interfaces:
Annotated, New

public class New_c
extends polyglot.ast.New_c
implements New, Annotated


Field Summary
protected  Expr label
           
protected  Expr location
           
 
Constructor Summary
New_c(Position pos, Expr qualifier, TypeNode tn, java.util.List<Expr> arguments, ClassBody body, Expr label, Expr location)
           
 
Method Summary
 java.util.List acceptCFG(CFGBuilder v, java.util.List succs)
           
protected  java.lang.Object clone()
           
 Node copy(NodeFactory nf)
           
 Node disambiguateOverride(Node parent, AmbiguityRemover ar)
           
 Expr label()
           
 New_c label(Expr label)
           
 Expr location()
           
 New_c location(Expr location)
           
 New objectType(TypeNode tn)
           
protected  New_c reconstruct(Expr qualifier, TypeNode tn, java.util.List<Expr> arguments, ClassBody body, Expr location, Expr label)
          Reconstructs the expression.
 New_c typeCheck(TypeChecker tc)
           
 Node typeCheckOverride(Node parent, TypeChecker tc)
           
 New_c visitChildren(NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected Expr label

location

protected Expr location
Constructor Detail

New_c

public New_c(Position pos,
             Expr qualifier,
             TypeNode tn,
             java.util.List<Expr> arguments,
             ClassBody body,
             Expr label,
             Expr location)
Method Detail

objectType

public New objectType(TypeNode tn)
Specified by:
objectType in interface New

label

public Expr label()
Specified by:
label in interface Annotated

label

public New_c label(Expr label)
Specified by:
label in interface Annotated

location

public Expr location()
Specified by:
location in interface Annotated

location

public New_c location(Expr location)
Specified by:
location in interface Annotated

reconstruct

protected New_c reconstruct(Expr qualifier,
                            TypeNode tn,
                            java.util.List<Expr> arguments,
                            ClassBody body,
                            Expr location,
                            Expr label)
Reconstructs the expression.


visitChildren

public New_c visitChildren(NodeVisitor v)

typeCheck

public New_c typeCheck(TypeChecker tc)
                throws SemanticException
Throws:
SemanticException

acceptCFG

public java.util.List acceptCFG(CFGBuilder v,
                                java.util.List succs)

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

disambiguateOverride

public Node disambiguateOverride(Node parent,
                                 AmbiguityRemover ar)
                          throws SemanticException
Throws:
SemanticException

typeCheckOverride

public Node typeCheckOverride(Node parent,
                              TypeChecker tc)
                       throws SemanticException
Throws:
SemanticException

copy

public Node copy(NodeFactory nf)