Class str_token


  • public class str_token
    extends token
    This subclass of token represents symbols that need to maintain one String value as an attribute. It maintains that value in the public field str_val.
    See Also:
    int_token
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String str_val
      The stored string value.
    • Constructor Summary

      Constructors 
      Constructor Description
      str_token​(int term_num)
      Constructor for value defaulting to an empty string.
      str_token​(int term_num, java.lang.String 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

      • str_val

        public java.lang.String str_val
        The stored string value.
    • Constructor Detail

      • str_token

        public str_token​(int term_num,
                         java.lang.String v)
        Full constructor.
      • str_token

        public str_token​(int term_num)
        Constructor for value defaulting to an empty string.