Package polyglot.ext.polyj.parse

Interface Summary
Sub A Sub is a piece of syntax in a list inside of square brackets.
 

Class Summary
AbstractSub Base implementation of Sub.
Access An Access represents a Parse of the form "P[e]" where e must be an expression.
AmbSub An AmbSub is a Sub whose syntax makes it ambiguous whether it is an expression or a type.
Array An Array represents a Parse of the form "P[]".
ExprSub An ExprSub is a Sub whose syntax makes it unambiguously an expression (any expression that isn't just a Wrapped Parse).
Inst An Inst represents a Parse of the form "P[T,U,...]".
InstOrAccess An InstOrAccess represents a Parse of the form "P[T]" where T may be a type or an expression.
Name A Name represents a Parse of the form "n | P.n".
Parse A Parse is a piece of syntax for which the AST representation is considered ambiguous until more is known about its context.
TypeSub A TypeSub is a Sub whose syntax makes it unambiguously a type (an unambiguous array type or a primitive type).
UnwrapVisitor An UnwrapVisitor rewrites the AST to remove any Wrapped nodes resulting from the parser.
Wrapper A Wrapper wraps a Parse inside an AST node so that it can be insert in the AST.