fabil.ast
Class New_c
java.lang.Object
polyglot.ast.New_c
fabil.ast.New_c
- All Implemented Interfaces:
- Annotated, New
public class New_c
- extends polyglot.ast.New_c
- implements New, Annotated
Constructor Summary |
New_c(Position pos,
Expr qualifier,
TypeNode tn,
java.util.List<Expr> arguments,
ClassBody body,
Expr label,
Expr location)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
protected Expr label
location
protected Expr location
New_c
public New_c(Position pos,
Expr qualifier,
TypeNode tn,
java.util.List<Expr> arguments,
ClassBody body,
Expr label,
Expr location)
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)