Class CalculatorParser

java.lang.Object
org.apfloat.calc.CalculatorParser
All Implemented Interfaces:
CalculatorParserConstants

public class CalculatorParser extends Object implements CalculatorParserConstants
  • Field Details

  • Constructor Details

  • Method Details

    • parseOneLine

      public final boolean parseOneLine() throws ParseException
      Throws:
      ParseException
    • expression

      public final Number expression() throws ParseException
      Throws:
      ParseException
    • assignmentExpression

      public final Number assignmentExpression() throws ParseException
      Throws:
      ParseException
    • additiveExpression

      public final Number additiveExpression() throws ParseException
      Throws:
      ParseException
    • multiplicativeExpression

      public final Number multiplicativeExpression() throws ParseException
      Throws:
      ParseException
    • unaryExpression

      public final Number unaryExpression() throws ParseException
      Throws:
      ParseException
    • powerExpression

      public final Number powerExpression() throws ParseException
      Throws:
      ParseException
    • factorialExpression

      public final Number factorialExpression() throws ParseException
      Throws:
      ParseException
    • element

      public final Number element() throws ParseException
      Throws:
      ParseException
    • variable

      public final String variable() throws ParseException
      Throws:
      ParseException
    • function

      public final Number function() throws ParseException
      Throws:
      ParseException
    • argumentList

      public final List<Number> argumentList() throws ParseException
      Throws:
      ParseException
    • identifier

      public final String identifier() throws ParseException
      Throws:
      ParseException
    • constant

      public final Number constant() throws ParseException
      Throws:
      ParseException
    • jj_2_1

      private boolean jj_2_1(int xla)
    • jj_2_2

      private boolean jj_2_2(int xla)
    • jj_2_3

      private boolean jj_2_3(int xla)
    • jj_2_4

      private boolean jj_2_4(int xla)
    • jj_2_5

      private boolean jj_2_5(int xla)
    • jj_2_6

      private boolean jj_2_6(int xla)
    • jj_2_7

      private boolean jj_2_7(int xla)
    • jj_2_8

      private boolean jj_2_8(int xla)
    • jj_2_9

      private boolean jj_2_9(int xla)
    • jj_2_10

      private boolean jj_2_10(int xla)
    • jj_2_11

      private boolean jj_2_11(int xla)
    • jj_2_12

      private boolean jj_2_12(int xla)
    • jj_2_13

      private boolean jj_2_13(int xla)
    • jj_2_14

      private boolean jj_2_14(int xla)
    • jj_2_15

      private boolean jj_2_15(int xla)
    • jj_2_16

      private boolean jj_2_16(int xla)
    • jj_2_17

      private boolean jj_2_17(int xla)
    • jj_2_18

      private boolean jj_2_18(int xla)
    • jj_2_19

      private boolean jj_2_19(int xla)
    • jj_2_20

      private boolean jj_2_20(int xla)
    • jj_2_21

      private boolean jj_2_21(int xla)
    • jj_2_22

      private boolean jj_2_22(int xla)
    • jj_2_23

      private boolean jj_2_23(int xla)
    • jj_2_24

      private boolean jj_2_24(int xla)
    • jj_2_25

      private boolean jj_2_25(int xla)
    • jj_2_26

      private boolean jj_2_26(int xla)
    • jj_2_27

      private boolean jj_2_27(int xla)
    • jj_2_28

      private boolean jj_2_28(int xla)
    • jj_2_29

      private boolean jj_2_29(int xla)
    • jj_2_30

      private boolean jj_2_30(int xla)
    • jj_2_31

      private boolean jj_2_31(int xla)
    • jj_2_32

      private boolean jj_2_32(int xla)
    • jj_2_33

      private boolean jj_2_33(int xla)
    • jj_2_34

      private boolean jj_2_34(int xla)
    • jj_2_35

      private boolean jj_2_35(int xla)
    • jj_2_36

      private boolean jj_2_36(int xla)
    • jj_3_4

      private boolean jj_3_4()
    • jj_3_26

      private boolean jj_3_26()
    • jj_3_27

      private boolean jj_3_27()
    • jj_3_3

      private boolean jj_3_3()
    • jj_3R_factorialExpression_178_5_15

      private boolean jj_3R_factorialExpression_178_5_15()
    • jj_3_2

      private boolean jj_3_2()
    • jj_3_1

      private boolean jj_3_1()
    • jj_3_25

      private boolean jj_3_25()
    • jj_3R_powerExpression_166_5_11

      private boolean jj_3R_powerExpression_166_5_11()
    • jj_3_24

      private boolean jj_3_24()
    • jj_3_23

      private boolean jj_3_23()
    • jj_3R_unaryExpression_155_5_10

      private boolean jj_3R_unaryExpression_155_5_10()
    • jj_3_22

      private boolean jj_3_22()
    • jj_3_36

      private boolean jj_3_36()
    • jj_3R_constant_245_5_12

      private boolean jj_3R_constant_245_5_12()
    • jj_3_35

      private boolean jj_3_35()
    • jj_3_21

      private boolean jj_3_21()
    • jj_3_20

      private boolean jj_3_20()
    • jj_3_18

      private boolean jj_3_18()
    • jj_3_19

      private boolean jj_3_19()
    • jj_3R_identifier_237_5_16

      private boolean jj_3R_identifier_237_5_16()
    • jj_3R_multiplicativeExpression_141_5_9

      private boolean jj_3R_multiplicativeExpression_141_5_9()
    • jj_3_33

      private boolean jj_3_33()
    • jj_3_17

      private boolean jj_3_17()
    • jj_3_16

      private boolean jj_3_16()
    • jj_3_15

      private boolean jj_3_15()
    • jj_3_34

      private boolean jj_3_34()
    • jj_3R_additiveExpression_127_5_8

      private boolean jj_3R_additiveExpression_127_5_8()
    • jj_3_14

      private boolean jj_3_14()
    • jj_3_13

      private boolean jj_3_13()
    • jj_3R_function_213_5_13

      private boolean jj_3R_function_213_5_13()
    • jj_3_12

      private boolean jj_3_12()
    • jj_3_11

      private boolean jj_3_11()
    • jj_3_10

      private boolean jj_3_10()
    • jj_3_9

      private boolean jj_3_9()
    • jj_3_8

      private boolean jj_3_8()
    • jj_3R_variable_203_5_14

      private boolean jj_3R_variable_203_5_14()
    • jj_3R_assignmentExpression_108_5_7

      private boolean jj_3R_assignmentExpression_108_5_7()
    • jj_3_7

      private boolean jj_3_7()
    • jj_3_6

      private boolean jj_3_6()
    • jj_3_32

      private boolean jj_3_32()
    • jj_3_31

      private boolean jj_3_31()
    • jj_3_30

      private boolean jj_3_30()
    • jj_3R_element_192_5_17

      private boolean jj_3R_element_192_5_17()
    • jj_3_29

      private boolean jj_3_29()
    • jj_3R_expression_95_5_6

      private boolean jj_3R_expression_95_5_6()
    • jj_3_5

      private boolean jj_3_5()
    • jj_3_28

      private boolean jj_3_28()
    • ReInit

      public void ReInit(InputStream stream)
      Reinitialise.
    • ReInit

      public void ReInit(InputStream stream, String encoding)
      Reinitialise.
    • ReInit

      public void ReInit(Reader stream)
      Reinitialise.
    • ReInit

      public void ReInit(CalculatorParserTokenManager tm)
      Reinitialise.
    • jj_consume_token

      private Token jj_consume_token(int kind) throws ParseException
      Throws:
      ParseException
    • jj_scan_token

      private boolean jj_scan_token(int kind)
    • getNextToken

      public final Token getNextToken()
      Get the next Token.
    • getToken

      public final Token getToken(int index)
      Get the specific Token.
    • jj_ntk_f

      private int jj_ntk_f()
    • generateParseException

      public ParseException generateParseException()
      Generate ParseException.
    • trace_enabled

      public final boolean trace_enabled()
      Trace enabled.
    • enable_tracing

      public final void enable_tracing()
      Enable tracing.
    • disable_tracing

      public final void disable_tracing()
      Disable tracing.