public class ReconExpressionToken
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ReconOperator |
operator |
int |
tokenType |
java.lang.String |
tokenUnit |
java.lang.String |
tokenValue |
Constructor and Description |
---|
ReconExpressionToken(int tokenType,
java.lang.String tokenValue,
java.lang.String tokenUnit,
ReconOperator operator) |
Modifier and Type | Method and Description |
---|---|
int |
getOperatorPrecedence() |
boolean |
isLeftParenthesis()
Tests if this token's type is '(' (open parenthesis)
|
boolean |
isOperand() |
boolean |
isOperator() |
boolean |
isRightAssociativeOperator() |
boolean |
isRightParenthesis()
Tests if this token's type is ')' (close parenthesis)
|
public int tokenType
public java.lang.String tokenValue
public java.lang.String tokenUnit
public ReconOperator operator
public ReconExpressionToken(int tokenType, java.lang.String tokenValue, java.lang.String tokenUnit, ReconOperator operator)
public boolean isRightAssociativeOperator() throws MXException
MXException
public int getOperatorPrecedence() throws MXException
MXException
public boolean isOperand()
public boolean isOperator()
public boolean isLeftParenthesis()
public boolean isRightParenthesis()