Class int_token


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

    • int_val

      public int int_val
      The stored int value.
  • Constructor Details

    • int_token

      public int_token(int term_num, int iv)
      Full constructor.
    • int_token

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