Class float_token


  • public class float_token
    extends 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:
    str_token
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float float_val
      The stored float value.
    • Constructor Summary

      Constructors 
      Constructor Description
      float_token​(int term_num)
      Constructor with default value of 0.0.
      float_token​(int term_num, float v)
      Full constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • float_val

        public float float_val
        The stored float value.
    • Constructor Detail

      • 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.