Package picasso.parser.tokens.operations
Class ModToken
- java.lang.Object
-
- picasso.parser.tokens.Token
-
- picasso.parser.tokens.chars.CharToken
-
- picasso.parser.tokens.operations.ModToken
-
- All Implemented Interfaces:
OperationInterface
public class ModToken extends CharToken implements OperationInterface
Represents the mod sign token
-
-
Field Summary
-
Fields inherited from class picasso.parser.tokens.Token
ADD_OR_SUBTRACT, ASSIGNMENT, CONSTANT, EXPONENTIATION, GROUPING, MULTIPLY_OR_DIVIDE, UNARY
-
-
Constructor Summary
Constructors Constructor Description ModToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPrecedence()
-
Methods inherited from class picasso.parser.tokens.chars.CharToken
equals, isConstant, isFunction, toString, value
-
-
-
-
Method Detail
-
getPrecedence
public int getPrecedence()
- Overrides:
getPrecedence
in classToken
- Returns:
- the precedence number of each token
-
-