fabil.ast
Class NewFabricArray_c

java.lang.Object
  extended by NewArray_c
      extended by fabil.ast.NewFabricArray_c
All Implemented Interfaces:
Annotated, NewFabricArray

public class NewFabricArray_c
extends NewArray_c
implements NewFabricArray, Annotated


Field Summary
protected  Expr label
           
protected  Expr location
           
 
Constructor Summary
NewFabricArray_c(Position pos, TypeNode baseType, java.util.List<Expr> dims, int addDims, FabricArrayInit init, Expr label, Expr location)
           
 
Method Summary
 java.util.List acceptCFG(CFGBuilder v, java.util.List succs)
           
protected  ArrayType arrayOf(TypeSystem ts, Type baseType, int dims)
           
 Node copy(NodeFactory nf)
           
 FabricArrayInit init()
           
 NewFabricArray_c init(polyglot.ast.ArrayInit init)
           
 Expr label()
           
 NewFabricArray_c label(Expr label)
           
 Expr location()
           
 NewFabricArray_c location(Expr location)
           
protected  NewFabricArray_c reconstruct(TypeNode baseType, java.util.List<Expr> dims, FabricArrayInit init, Expr location, Expr label)
          Reconstructs the expression.
 NewFabricArray_c typeCheck(TypeChecker tc)
           
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected Expr label

location

protected Expr location
Constructor Detail

NewFabricArray_c

public NewFabricArray_c(Position pos,
                        TypeNode baseType,
                        java.util.List<Expr> dims,
                        int addDims,
                        FabricArrayInit init,
                        Expr label,
                        Expr location)
Method Detail

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)