Package cs2110
Class Token.Operator
java.lang.Object
cs2110.Token
cs2110.Token.Operator
- Enclosing class:
Token
A token representing a binary arithmetic operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class cs2110.Token
Token.CondOp, Token.Function, Token.Number, Token.Operator, Token.Variable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionopValue()
Return the operator represented by this token.static boolean
validOperator
(String value) Return whether `value` represents a binary arithmetic operator recognized by the `Operator` class.