| Class | Description |
|---|---|
| Chunk |
A chunk is either a token tag, a rule tag, or a span of literal text within a
tree pattern.
|
| ParseTreeMatch |
Represents the result of matching a
ParseTree against a tree pattern. |
| ParseTreePattern |
A pattern like
<ID> = <expr>; converted to a ParseTree by
ParseTreePatternMatcher.compile(String, int). |
| ParseTreePatternMatcher |
A tree pattern matching mechanism for ANTLR
ParseTrees. |
| RuleTagToken |
A
Token object representing an entire subtree matched by a parser
rule; e.g., <expr>. |
| TagChunk |
Represents a placeholder tag in a tree pattern.
|
| TextChunk |
Represents a span of raw text (concrete syntax) between tags in a tree
pattern string.
|
| TokenTagToken |
A
Token object representing a token of a particular type; e.g.,
<ID>. |
| Exception | Description |
|---|---|
| ParseTreePatternMatcher.CannotInvokeStartRule | |
| ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern |