|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.syntax.AbstractSyntaxRule | +--openjava.syntax.IdentifierRule
The class IdentifierRule
represents syntax rule of
Identifier.
returns as Variable
.
return
Object
Constructor Summary | |
IdentifierRule()
For any identifier. |
|
IdentifierRule(java.lang.String specifying)
For specified identifier. |
Method Summary | |
ParseTree |
consume(TokenSource token_src)
Consumes tokens from the given token source following the rule. |
Variable |
consumeIdentifier(TokenSource token_src)
|
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 IdentifierRule(java.lang.String specifying)
specifying
- a string value specifying the identifier
to consume.public IdentifierRule()
Method Detail |
public final ParseTree consume(TokenSource token_src) throws SyntaxException
token_src
- token source to consume.public Variable consumeIdentifier(TokenSource token_src) throws SyntaxException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |