| Modifier and Type | Field and Description |
|---|---|
| protected static Hashtable | _all
Table of all terminals. |
| protected static Hashtable | _all_by_index
Table of all terminals indexed by their index number. |
| private int | |
| private int | |
| public static final terminal | EOF
Special terminal for end of input. |
| public static final terminal | error
special terminal used for error recovery |
| protected static int | next_index
Static counter to assign unique index. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Enumeration | |
| public static terminal | |
| public static terminal | |
| public boolean | is_non_term()
Implements abstract java_cup. |
| public static int | |
| public int | |
| public int | |
| public void | |
| public String |
| _all | back to summary |
|---|---|
| protected static Hashtable<K, V> _all Table of all terminals. Elements are stored using name strings as the key | |
| _all_by_index | back to summary |
|---|---|
| protected static Hashtable<K, V> _all_by_index Table of all terminals indexed by their index number. | |
| _precedence_num | back to summary |
|---|---|
| private int _precedence_num | |
| _precedence_side | back to summary |
|---|---|
| private int _precedence_side | |
| EOF | back to summary |
|---|---|
| public static final terminal EOF Special terminal for end of input. | |
| error | back to summary |
|---|---|
| public static final terminal error special terminal used for error recovery | |
| next_index | back to summary |
|---|---|
| protected static int next_index Static counter to assign unique index. | |
| terminal | back to summary |
|---|---|
| public terminal(String nm, String tp, int precedence_side, int precedence_num) Full constructor. | |
| terminal | back to summary |
|---|---|
| public terminal(String nm, String tp) Constructor for non-precedented terminal | |
| terminal | back to summary |
|---|---|
| public terminal(String nm) Constructor with default type.
| |
| all | back to summary |
|---|---|
| public static Enumeration Access to all terminals. | |
| find | back to summary |
|---|---|
| public static terminal find(String with_name) Lookup a terminal by name string. | |
| find | back to summary |
|---|---|
| public static terminal find(int indx) Lookup a terminal by index. | |
| is_non_term | back to summary |
|---|---|
| public boolean is_non_term() Implements abstract java_cup. Report this symbol as not being a non-terminal. | |
| number | back to summary |
|---|---|
| public static int number() Total number of terminals. | |
| precedence_num | back to summary |
|---|---|
| public int precedence_num() get the precedence of a terminal | |
| precedence_side | back to summary |
|---|---|
| public int precedence_side() | |
| set_precedence | back to summary |
|---|---|
| public void set_precedence(int p, int new_prec) set the precedence of a terminal | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java_cup. Convert to a string.
| |