Class long_token


  • public class long_token
    extends token
    This subclass of token represents symbols that need to maintain one long 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
      long long_val
      The stored long value.
    • Constructor Summary

      Constructors 
      Constructor Description
      long_token​(int term_num)
      Constructor with default value of 0.
      long_token​(int term_num, long lv)
      Full constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • long_val

        public long long_val
        The stored long value.
    • Constructor Detail

      • long_token

        public long_token​(int term_num,
                          long lv)
        Full constructor.
      • long_token

        public long_token​(int term_num)
        Constructor with default value of 0.