psdi.app.recontask.engine

Class ReconExpressionToken

  • java.lang.Object
    • psdi.app.recontask.engine.ReconExpressionToken


  • public class ReconExpressionToken
    extends java.lang.Object
    • Field Detail

      • tokenType

        public int tokenType
      • tokenValue

        public java.lang.String tokenValue
      • tokenUnit

        public java.lang.String tokenUnit
    • Constructor Detail

      • ReconExpressionToken

        public ReconExpressionToken(int tokenType,
                                    java.lang.String tokenValue,
                                    java.lang.String tokenUnit,
                                    ReconOperator operator)
    • Method Detail

      • isRightAssociativeOperator

        public boolean isRightAssociativeOperator()
                                           throws MXException
        Throws:
        MXException
      • isOperand

        public boolean isOperand()
      • isOperator

        public boolean isOperator()
      • isLeftParenthesis

        public boolean isLeftParenthesis()
        Tests if this token's type is '(' (open parenthesis)
        Returns:
        true if this token's type is '('; false otherwise
      • isRightParenthesis

        public boolean isRightParenthesis()
        Tests if this token's type is ')' (close parenthesis)
        Returns:
        true if this token's type is ')'; false otherwise