|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.ast.extended.Expression
orc.ast.extended.Dot
public class Dot
A dot expression (e.g "C.put(4)"). This is interpreted as a chain of calls: C(`put`)(4) where `put` is a special Field object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class orc.ast.extended.Expression |
---|
Expression.Arg |
Field Summary | |
---|---|
java.lang.String |
field
|
Expression |
target
|
Constructor Summary | |
---|---|
Dot(Expression target,
java.lang.String field)
|
Method Summary | |
---|---|
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 |
---|
argify, getSourceLocation, join, setSourceLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Expression target
public java.lang.String field
Constructor Detail |
---|
public Dot(Expression target, java.lang.String field)
Method Detail |
---|
public Expression simplify() throws CompilationException
Expression
simplify
in class Expression
CompilationException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |