|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.ast.extended.expression.Expression
orc.ast.extended.expression.Literal
public class Literal
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class orc.ast.extended.expression.Expression |
|---|
Expression.Arg |
| Constructor Summary | |
|---|---|
Literal(java.lang.Object val)
|
|
| Method Summary | ||
|---|---|---|
|
accept(Visitor<E> visitor)
|
|
Expression.Arg |
argify()
Simplify an expression which occurs in an argument (nested) position. |
|
Expression |
simplify()
Simplify an expression which occurs in a call (non-nested) position. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class orc.ast.extended.expression.Expression |
|---|
getSourceLocation, join, setSourceLocation, uncurry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Literal(java.lang.Object val)
| Method Detail |
|---|
public Expression simplify()
Expression
simplify in class Expressionpublic Expression.Arg argify()
Expression
argify in class Expressionpublic java.lang.String toString()
toString in class java.lang.Objectpublic <E> E accept(Visitor<E> visitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||