|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.ext.jl.ast.Node_c
polyglot.ext.jl.ast.TypeNode_c
polyglot.ext.jl.ast.ArrayTypeNode_c
polyglot.ext.carray.ast.ConstArrayTypeNode_c
A ConstArrayTypeNode
is a type node for a non-canonical
const array type.
Field Summary |
Fields inherited from class polyglot.ext.jl.ast.ArrayTypeNode_c |
base |
Fields inherited from class polyglot.ext.jl.ast.TypeNode_c |
type |
Fields inherited from class polyglot.ext.jl.ast.Node_c |
del, ext, position |
Constructor Summary | |
ConstArrayTypeNode_c(Position pos,
TypeNode base)
|
Method Summary | |
Node |
buildTypes(TypeBuilder tb)
Collects classes, methods, and fields from the AST rooted at this node and constructs type objects for these. |
Node |
disambiguate(AmbiguityRemover ar)
Remove any remaining ambiguities from the AST. |
java.lang.String |
toString()
|
Methods inherited from class polyglot.ext.jl.ast.ArrayTypeNode_c |
base, base, exceptionCheck, prettyPrint, reconstruct, translate, typeCheck, visitChildren |
Methods inherited from class polyglot.ext.jl.ast.TypeNode_c |
qualifier, type, type |
Methods inherited from class polyglot.ext.jl.ast.Node_c |
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypesEnter, buildTypesOverride, childExpectedType, copy, del, del, disambiguateEnter, disambiguateOverride, dump, enterScope, enterScope, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, print, printBlock, printSubStmt, throwTypes, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.ext.carray.ast.ConstArrayTypeNode |
base, base |
Methods inherited from interface polyglot.ast.TypeNode |
type |
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypesEnter, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
Methods inherited from interface polyglot.ast.QualifierNode |
qualifier |
Constructor Detail |
public ConstArrayTypeNode_c(Position pos, TypeNode base)
Method Detail |
public Node buildTypes(TypeBuilder tb) throws SemanticException
NodeOps
TypeSystem
.
This method is called by the leave()
method of the
visitor. The method should perform work that should be done
after visiting the children of the node. The method may return
this
or a new copy of the node which will be
installed as a child of the node's parent.
buildTypes
in interface NodeOps
buildTypes
in class ArrayTypeNode_c
SemanticException
public Node disambiguate(AmbiguityRemover ar) throws SemanticException
NodeOps
leave()
method of the
visitor. The method should perform work that should be done
after visiting the children of the node. The method may return
this
or a new copy of the node which will be
installed as a child of the node's parent.
disambiguate
in interface NodeOps
disambiguate
in class ArrayTypeNode_c
SemanticException
public java.lang.String toString()
toString
in class ArrayTypeNode_c
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |