Package cs2110

Class Token.Operator

java.lang.Object
cs2110.Token
cs2110.Token.Operator
Enclosing class:
Token

public static class Token.Operator extends Token
A token representing a binary arithmetic operator.
  • Method Details Link icon

    • opValue Link icon

      public Operator opValue()
      Return the operator represented by this token.
    • validOperator Link icon

      public static boolean validOperator(String value)
      Return whether `value` represents a binary arithmetic operator recognized by the `Operator` class.