public interface GrammarMatcher
extends java.io.Serializable
Lookahead2Iterator
and call the GrammarParser.parseSubExpression()
to parse expression fragments.Modifier and Type | Method and Description |
---|---|
void |
init(Jep jep)
Delayed initialisation, 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.
|
Node match(Lookahead2Iterator<Token> it, GrammarParser parser) throws ParseException
it
- An iterator inspecting the inputparser
- the parser to use when evaluating sub expressionsParseException
- if there is a syntactical error in the input.void init(Jep jep)
jep
- the current jep instance.Copyright © 2018 Singular Systems http://www.singularsys.com/jep