public interface GrammaticalRuleI extends GrammarMatcher
match method grammatical rules should implement.| Modifier and Type | Method and Description |
|---|---|
Node |
match(Lookahead2Iterator<Token> it,
GrammarParser parser)
Attempt to parse the input using the rule
|
initNode match(Lookahead2Iterator<Token> it, GrammarParser parser) throws ParseException
match in interface GrammarMatcherit - iterator with tokens to parseparser - the parser to parse any components of the ruleParseException - if there is a syntactical errorCopyright © 2018 Singular Systems http://www.singularsys.com/jep