- <init>
Constructs a ParseTreePatternMatcher or from a Lexer and Parser object. The
lexer input stream is al
- compile
For repeated use of a tree pattern, compile it to a ParseTreePattern using this
method.
- getParser
Used to collect to the grammar file name, token names, rule names for used to
parse the pattern into
- getRuleTagToken
Is t (expr ) subtree?
- match
Compare pattern matched against tree and return a ParseTreeMatch object that
contains the matched el
- matchImpl
Recursively walk tree against patternTree, filling match.ParseTreeMatch#labels.
- matches
Does pattern matched as rule patternRuleIndex match tree? Pass in a compiled
pattern instead of a st
- split
Split = ; into 4 chunks for tokenizing by #tokenize.