See: Description
Class | Description |
---|---|
DescriptionPattern | |
Macros |
This defines how to use macros from a file in Tregex.
|
TregexMatcher |
A TregexMatcher can be used to match a
TregexPattern against a Tree . |
TregexPattern |
A TregexPattern is a regular expression-like pattern that is designed to match node configurations within
a Tree where the nodes are labeled with symbols, rather than a character string.
|
TregexPattern.TRegexTreeReaderFactory | |
TregexPatternCompiler |
A class for compiling TregexPatterns with specific HeadFinders and or
basicCategoryFunctions.
|
Exception | Description |
---|---|
ParseException |
This exception is thrown when parse errors are encountered.
|
TregexParseException |
A runtime exception that indicates something went wrong parsing a
tregex expression.
|
java.util.regex
package. Internally, tree-pattern expressions
are parsed using a parser designed with
the javacc "compiler compiler" utility.
See TregexPattern
for
a description of the command-line utility version.
Note that the only classes which should be public are the TregexMatcher, TregexPattern and TregexPatternCompiler classes -- the others were automatically given public access by javacc although really they should be package-private.