polyglot.ast
Interface AmbTypeNode

All Superinterfaces:
Ambiguous, java.lang.Cloneable, Copy, JL, Node, NodeOps, Prefix, QualifierNode, Receiver, Typed, TypeNode
All Known Implementing Classes:
AmbTypeNode_c

public interface AmbTypeNode
extends TypeNode, Ambiguous

An AmbTypeNode is an ambiguous AST node composed of dot-separated list of identifiers that must resolve to a type.


Method Summary
 java.lang.String name()
          Ambiguous name.
 AmbTypeNode name(java.lang.String name)
          Set the ambiguous name.
 QualifierNode qual()
          Qualifier of the type.
 AmbTypeNode qual(QualifierNode qual)
          Set the qualifier of the type.
 
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, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 
Methods inherited from interface polyglot.ast.Typed
type
 
Methods inherited from interface polyglot.ast.QualifierNode
qualifier
 
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, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 

Method Detail

qual

QualifierNode qual()
Qualifier of the type.


qual

AmbTypeNode qual(QualifierNode qual)
Set the qualifier of the type.


name

java.lang.String name()
Ambiguous name.


name

AmbTypeNode name(java.lang.String name)
Set the ambiguous name.