|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.syntax.AbstractSyntaxRule | +--openjava.syntax.ExpressionRule
The class ExpressionRule
For example
Object
Constructor Summary | |
ExpressionRule()
|
|
ExpressionRule(Environment env)
|
Method Summary | |
ParseTree |
consume(TokenSource token_src)
Consumes tokens from the given token source following the rule. |
Expression |
consumeExpression(TokenSource token_src)
Subclasses of this class can override this method to extend its returnable expressions. |
Methods inherited from class openjava.syntax.AbstractSyntaxRule |
getSyntaxException,
lookahead |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ExpressionRule(Environment env)
public ExpressionRule()
Method Detail |
public final ParseTree consume(TokenSource token_src) throws SyntaxException
token_src
- token source to consume.public Expression consumeExpression(TokenSource token_src) throws SyntaxException
token_src
- token source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |