Package java_cup.runtime
Class double_token
java.lang.Object
java_cup.runtime.symbol
java_cup.runtime.token
java_cup.runtime.double_token
This subclass of token represents symbols that need to maintain one
double 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
ConstructorsConstructorDescriptiondouble_token
(int term_num) Constructor with default value of 0.0.double_token
(int term_num, double v) Full constructor. -
Method Summary
-
Field Details
-
double_val
public double double_valThe stored double value.
-
-
Constructor Details
-
double_token
public double_token(int term_num, double v) Full constructor. -
double_token
public double_token(int term_num) Constructor with default value of 0.0.
-