|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.ast.extended.Expression
public abstract class Expression
Base class for the extended abstract syntax tree. Extended expressions are produced by the parser with minimal processing. They desugar to a simplified set of expressions.
Nested Class Summary | |
---|---|
static interface |
Expression.Arg
Variant type returned by the argify method. |
Constructor Summary | |
---|---|
Expression()
|
Method Summary | |
---|---|
protected Expression.Arg |
argify()
Simplify an expression which occurs in an argument (nested) position. |
abstract Expression |
simplify()
Simplify an expression which occurs in a call (non-nested) position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Expression()
Method Detail |
---|
public abstract Expression simplify()
protected Expression.Arg argify()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |