polyglot.ast
Interface ClassLit
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, JL, Lit, Node, NodeOps, Prefix, Receiver, Term, Typed
- All Known Implementing Classes:
- ClassLit_c
public interface ClassLit
- extends Lit
A ClassLit
represents a class literal expression.
A class literal expressions is an expression consisting of the
name of a class, interface, array, or primitive type followed by a period (.)
and the token class.
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.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
typeNode
TypeNode typeNode()