fabil.ast
Class NewFabricArray_c
java.lang.Object
NewArray_c
fabil.ast.NewFabricArray_c
- All Implemented Interfaces:
- Annotated, NewFabricArray
public class NewFabricArray_c
- extends NewArray_c
- implements NewFabricArray, Annotated
Constructor Summary |
NewFabricArray_c(Position pos,
TypeNode baseType,
java.util.List<Expr> dims,
int addDims,
FabricArrayInit init,
Expr label,
Expr location)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
protected Expr label
location
protected Expr location
NewFabricArray_c
public NewFabricArray_c(Position pos,
TypeNode baseType,
java.util.List<Expr> dims,
int addDims,
FabricArrayInit init,
Expr label,
Expr location)
init
public FabricArrayInit init()
- Specified by:
init
in interface NewFabricArray
init
public NewFabricArray_c init(polyglot.ast.ArrayInit init)
- Specified by:
init
in interface NewFabricArray
label
public Expr label()
- Specified by:
label
in interface Annotated
label
public NewFabricArray_c label(Expr label)
- Specified by:
label
in interface Annotated
location
public Expr location()
- Specified by:
location
in interface Annotated
location
public NewFabricArray_c location(Expr location)
- Specified by:
location
in interface Annotated
reconstruct
protected NewFabricArray_c reconstruct(TypeNode baseType,
java.util.List<Expr> dims,
FabricArrayInit init,
Expr location,
Expr label)
- Reconstructs the expression.
visitChildren
public Node visitChildren(NodeVisitor v)
arrayOf
protected ArrayType arrayOf(TypeSystem ts,
Type baseType,
int dims)
typeCheck
public NewFabricArray_c typeCheck(TypeChecker tc)
throws SemanticException
- Throws:
SemanticException
acceptCFG
public java.util.List acceptCFG(CFGBuilder v,
java.util.List succs)
copy
public Node copy(NodeFactory nf)