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