Package java_cup.runtime
Class int_token
java.lang.Object
java_cup.runtime.symbol
java_cup.runtime.token
java_cup.runtime.int_token
This subclass of token represents symbols that need to maintain one
int value as an attribute. It maintains that value in the public
field int_val.
- See Also:
-
Field Summary
FieldsFields inherited from class java_cup.runtime.symbol
parse_state, sym
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
int_val
public int int_valThe stored int value.
-
-
Constructor Details
-
int_token
public int_token(int term_num, int iv) Full constructor. -
int_token
public int_token(int term_num) Constructor with default value of 0.
-