|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.singularsys.jep.configurableparser.matchers.RoundBracketGrammarMatcher
public class RoundBracketGrammarMatcher
A GrammarMatcher which matches bracketed expressions.
| Constructor Summary | |
|---|---|
RoundBracketGrammarMatcher(Token open,
Token close)
Create a RoundBracketGrammarMatcher |
|
| Method Summary | |
|---|---|
void |
init(Jep jep)
Delayed initialization, this methods is called whenever components of the jep instance are changed. |
Node |
match(Lookahead2Iterator<Token> it,
GrammarParser parser)
Test whether the input matches this pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoundBracketGrammarMatcher(Token open,
Token close)
open - token representing an opening bracketclose - token representing a closing bracket| Method Detail |
|---|
public void init(Jep jep)
GrammarMatcher
init in interface GrammarMatcherjep - the current jep instance.
public Node match(Lookahead2Iterator<Token> it,
GrammarParser parser)
throws ParseException
GrammarMatcher
match in interface GrammarMatcherit - An iterator inspecting the inputparser - the parser to use when evaluating sub expressions
ParseException - if there is a syntactical error in the input.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||