|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.syntax.parser.ExpressionStack
A combination stack and helper class for parsing groovy expression.
Expressions are a little trickier to parse than the statements above. As a result, we are now doing a hybrid LL/LR parse at the expression level.
Method Summary | |
boolean |
canComplete()
Returns true if the stack can be completed without further shifts. |
boolean |
isComplete()
Returns true if the stack is in a state that can be considered a complete expression, provided lookahead is amenable, of course. |
String |
toString()
Creates a string representation of the stack. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean isComplete()
public boolean canComplete()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |