Class char_token


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

      Constructors 
      Constructor Description
      char_token​(int term_num)
      Constructor with default value of 0
      char_token​(int term_num, char 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

      • char_val

        public char char_val
        The stored char value.
    • Constructor Detail

      • char_token

        public char_token​(int term_num,
                          char v)
        Full constructor.
      • char_token

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