| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| protected int | c
Current char |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public boolean | |
| public static final int | |
| protected int | n
How long is the pattern in char? |
| protected int | p
Index into input string |
| protected String | pattern
The tree pattern to lex like "(A B C)" |
| public static final int | |
| public StringBuffer | sval
Set when token type is ID or ARG (name mimics Java's StreamTokenizer) |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public int |
| ARG | back to summary |
|---|---|
| public static final int ARG | |
| BEGIN | back to summary |
|---|---|
| public static final int BEGIN | |
| c | back to summary |
|---|---|
| protected int c Current char | |
| COLON | back to summary |
|---|---|
| public static final int COLON | |
| DOT | back to summary |
|---|---|
| public static final int DOT | |
| END | back to summary |
|---|---|
| public static final int END | |
| EOF | back to summary |
|---|---|
| public static final int EOF | |
| error | back to summary |
|---|---|
| public boolean error | |
| ID | back to summary |
|---|---|
| public static final int ID | |
| n | back to summary |
|---|---|
| protected int n How long is the pattern in char? | |
| p | back to summary |
|---|---|
| protected int p Index into input string | |
| pattern | back to summary |
|---|---|
| protected String pattern The tree pattern to lex like "(A B C)" | |
| PERCENT | back to summary |
|---|---|
| public static final int PERCENT | |
| sval | back to summary |
|---|---|
| public StringBuffer sval Set when token type is ID or ARG (name mimics Java's StreamTokenizer) | |
| TreePatternLexer | back to summary |
|---|---|
| public TreePatternLexer(String pattern) | |
| consume | back to summary |
|---|---|
| protected void consume() | |
| nextToken | back to summary |
|---|---|
| public int nextToken() | |