polyglot.ast
Interface TypeNode

All Superinterfaces:
java.lang.Cloneable, Copy, JL, Node, NodeOps, Prefix, QualifierNode, Receiver, Term, Typed
All Known Subinterfaces:
AmbTypeNode, ArrayTypeNode, CanonicalTypeNode
All Known Implementing Classes:
AmbTypeNode_c, ArrayTypeNode_c, CanonicalTypeNode_c, TypeNode_c

public interface TypeNode
extends Receiver, QualifierNode, Term

A TypeNode is the syntactic representation of a Type within the abstract syntax tree.


Field Summary
 
Fields inherited from interface polyglot.ast.Term
ENTRY, EXIT
 
Method Summary
 java.lang.String name()
          Short name of the type, or null if not a Named type.
 TypeNode type(Type type)
          Set the type object for this node.
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, 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, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, exceptions, exceptions, firstChild, reachable, reachable
 

Method Detail

type

TypeNode type(Type type)
Set the type object for this node.


name

java.lang.String name()
Short name of the type, or null if not a Named type.