|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.singularsys.jep.configurableparser.matchers.ArrayAccessGrammarMatcher
public class ArrayAccessGrammarMatcher
Matches syntax for array element access u[3].
| Constructor Summary | |
|---|---|
ArrayAccessGrammarMatcher(SymbolToken open,
SymbolToken close)
Construct a matcher for array access. |
|
| 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 ArrayAccessGrammarMatcher(SymbolToken open,
SymbolToken close)
open - token representing the opening deliminatorclose - token representing the closing deliminator| 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 JepException
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.
JepException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||