| Modifier and Type | Field and Description |
|---|---|
| protected short[] | |
| public static final boolean | |
| protected int | |
| protected short[] | |
| protected short[] | |
| protected char[] | |
| protected char[] | |
| protected BaseRecognizer | recognizer
Which recognizer encloses this DFA? |
| protected short[] | |
| protected short[][] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public String | |
| protected void | |
| public int | |
| public int | |
| public static short[] | unpackEncodedString(String encodedString)
Given a String that has a run-length-encoding of some unsigned shorts like "\1\2\3\9", convert to short[] {2,9,9,9}. |
| public static char[] | unpackEncodedStringToUnsignedChars(String encodedString)
Hideous duplication of code, but I need different typed arrays out :( |
| accept | back to summary |
|---|---|
| protected short[] accept | |
| debug | back to summary |
|---|---|
| public static final boolean debug | |
| decisionNumber | back to summary |
|---|---|
| protected int decisionNumber | |
| eof | back to summary |
|---|---|
| protected short[] eof | |
| eot | back to summary |
|---|---|
| protected short[] eot | |
| max | back to summary |
|---|---|
| protected char[] max | |
| min | back to summary |
|---|---|
| protected char[] min | |
| recognizer | back to summary |
|---|---|
| protected BaseRecognizer recognizer Which recognizer encloses this DFA? Needed to check backtracking | |
| special | back to summary |
|---|---|
| protected short[] special | |
| transition | back to summary |
|---|---|
| protected short[][] transition | |
| DFA | back to summary |
|---|---|
| public DFA() | |
| error | back to summary |
|---|---|
| protected void error(NoViableAltException nvae) A hook for debugging interface | |
| getDescription | back to summary |
|---|---|
| public String getDescription() | |
| noViableAlt | back to summary |
|---|---|
| protected void noViableAlt(int s, IntStream input) throws NoViableAltException | |
| predict | back to summary |
|---|---|
| public int predict(IntStream input) throws RecognitionException From the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL). Return an alternative number 1..n. Throw an exception upon error. | |
| specialStateTransition | back to summary |
|---|---|
| public int specialStateTransition(int s, IntStream input) throws NoViableAltException | |
| unpackEncodedString | back to summary |
|---|---|
| public static short[] unpackEncodedString(String encodedString) Given a String that has a run-length-encoding of some unsigned shorts like "\1\2\3\9", convert to short[] {2,9,9,9}. We do this to avoid static short[] which generates so much init code that the class won't compile. :( | |
| unpackEncodedStringToUnsignedChars | back to summary |
|---|---|
| public static char[] unpackEncodedStringToUnsignedChars(String encodedString) Hideous duplication of code, but I need different typed arrays out :( | |