Class FormulaParser

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.yamcs.studio.data.formula.FormulaParser

public class FormulaParser extends org.antlr.runtime.Parser
  • Field Details

    • tokenNames

      public static final String[] tokenNames
    • EOF

      public static final int EOF
      See Also:
    • T__15

      public static final int T__15
      See Also:
    • T__16

      public static final int T__16
      See Also:
    • T__17

      public static final int T__17
      See Also:
    • T__18

      public static final int T__18
      See Also:
    • T__19

      public static final int T__19
      See Also:
    • T__20

      public static final int T__20
      See Also:
    • T__21

      public static final int T__21
      See Also:
    • T__22

      public static final int T__22
      See Also:
    • T__23

      public static final int T__23
      See Also:
    • T__24

      public static final int T__24
      See Also:
    • T__25

      public static final int T__25
      See Also:
    • T__26

      public static final int T__26
      See Also:
    • T__27

      public static final int T__27
      See Also:
    • T__28

      public static final int T__28
      See Also:
    • T__29

      public static final int T__29
      See Also:
    • T__30

      public static final int T__30
      See Also:
    • T__31

      public static final int T__31
      See Also:
    • T__32

      public static final int T__32
      See Also:
    • T__33

      public static final int T__33
      See Also:
    • T__34

      public static final int T__34
      See Also:
    • T__35

      public static final int T__35
      See Also:
    • T__36

      public static final int T__36
      See Also:
    • CHANNEL

      public static final int CHANNEL
      See Also:
    • ESC_SEQ

      public static final int ESC_SEQ
      See Also:
    • EXPONENT

      public static final int EXPONENT
      See Also:
    • FLOAT

      public static final int FLOAT
      See Also:
    • FUNCTION

      public static final int FUNCTION
      See Also:
    • HEX_DIGIT

      public static final int HEX_DIGIT
      See Also:
    • INT

      public static final int INT
      See Also:
    • OCTAL_ESC

      public static final int OCTAL_ESC
      See Also:
    • STRING

      public static final int STRING
      See Also:
    • UNICODE_ESC

      public static final int UNICODE_ESC
      See Also:
    • WS

      public static final int WS
      See Also:
    • FOLLOW_channel_in_singleChannel57

      public static final org.antlr.runtime.BitSet FOLLOW_channel_in_singleChannel57
    • FOLLOW_EOF_in_singleChannel59

      public static final org.antlr.runtime.BitSet FOLLOW_EOF_in_singleChannel59
    • FOLLOW_expression_in_formula84

      public static final org.antlr.runtime.BitSet FOLLOW_expression_in_formula84
    • FOLLOW_EOF_in_formula86

      public static final org.antlr.runtime.BitSet FOLLOW_EOF_in_formula86
    • FOLLOW_conditionalExpression_in_expression111

      public static final org.antlr.runtime.BitSet FOLLOW_conditionalExpression_in_expression111
    • FOLLOW_conditionalOrExpression_in_conditionalExpression138

      public static final org.antlr.runtime.BitSet FOLLOW_conditionalOrExpression_in_conditionalExpression138
    • FOLLOW_33_in_conditionalExpression154

      public static final org.antlr.runtime.BitSet FOLLOW_33_in_conditionalExpression154
    • FOLLOW_expression_in_conditionalExpression158

      public static final org.antlr.runtime.BitSet FOLLOW_expression_in_conditionalExpression158
    • FOLLOW_28_in_conditionalExpression160

      public static final org.antlr.runtime.BitSet FOLLOW_28_in_conditionalExpression160
    • FOLLOW_conditionalExpression_in_conditionalExpression164

      public static final org.antlr.runtime.BitSet FOLLOW_conditionalExpression_in_conditionalExpression164
    • FOLLOW_conditionalAndExpression_in_conditionalOrExpression202

      public static final org.antlr.runtime.BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression202
    • FOLLOW_36_in_conditionalOrExpression218

      public static final org.antlr.runtime.BitSet FOLLOW_36_in_conditionalOrExpression218
    • FOLLOW_conditionalAndExpression_in_conditionalOrExpression222

      public static final org.antlr.runtime.BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression222
    • FOLLOW_inclusiveOrExpression_in_conditionalAndExpression260

      public static final org.antlr.runtime.BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression260
    • FOLLOW_18_in_conditionalAndExpression276

      public static final org.antlr.runtime.BitSet FOLLOW_18_in_conditionalAndExpression276
    • FOLLOW_inclusiveOrExpression_in_conditionalAndExpression280

      public static final org.antlr.runtime.BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression280
    • FOLLOW_andExpression_in_inclusiveOrExpression318

      public static final org.antlr.runtime.BitSet FOLLOW_andExpression_in_inclusiveOrExpression318
    • FOLLOW_35_in_inclusiveOrExpression334

      public static final org.antlr.runtime.BitSet FOLLOW_35_in_inclusiveOrExpression334
    • FOLLOW_andExpression_in_inclusiveOrExpression338

      public static final org.antlr.runtime.BitSet FOLLOW_andExpression_in_inclusiveOrExpression338
    • FOLLOW_equalityExpression_in_andExpression376

      public static final org.antlr.runtime.BitSet FOLLOW_equalityExpression_in_andExpression376
    • FOLLOW_19_in_andExpression392

      public static final org.antlr.runtime.BitSet FOLLOW_19_in_andExpression392
    • FOLLOW_equalityExpression_in_andExpression396

      public static final org.antlr.runtime.BitSet FOLLOW_equalityExpression_in_andExpression396
    • FOLLOW_relationalExpression_in_equalityExpression434

      public static final org.antlr.runtime.BitSet FOLLOW_relationalExpression_in_equalityExpression434
    • FOLLOW_31_in_equalityExpression450

      public static final org.antlr.runtime.BitSet FOLLOW_31_in_equalityExpression450
    • FOLLOW_relationalExpression_in_equalityExpression454

      public static final org.antlr.runtime.BitSet FOLLOW_relationalExpression_in_equalityExpression454
    • FOLLOW_16_in_equalityExpression470

      public static final org.antlr.runtime.BitSet FOLLOW_16_in_equalityExpression470
    • FOLLOW_relationalExpression_in_equalityExpression474

      public static final org.antlr.runtime.BitSet FOLLOW_relationalExpression_in_equalityExpression474
    • FOLLOW_additiveExpression_in_relationalExpression512

      public static final org.antlr.runtime.BitSet FOLLOW_additiveExpression_in_relationalExpression512
    • FOLLOW_29_in_relationalExpression528

      public static final org.antlr.runtime.BitSet FOLLOW_29_in_relationalExpression528
    • FOLLOW_30_in_relationalExpression530

      public static final org.antlr.runtime.BitSet FOLLOW_30_in_relationalExpression530
    • FOLLOW_additiveExpression_in_relationalExpression534

      public static final org.antlr.runtime.BitSet FOLLOW_additiveExpression_in_relationalExpression534
    • FOLLOW_32_in_relationalExpression550

      public static final org.antlr.runtime.BitSet FOLLOW_32_in_relationalExpression550
    • FOLLOW_30_in_relationalExpression552

      public static final org.antlr.runtime.BitSet FOLLOW_30_in_relationalExpression552
    • FOLLOW_additiveExpression_in_relationalExpression556

      public static final org.antlr.runtime.BitSet FOLLOW_additiveExpression_in_relationalExpression556
    • FOLLOW_29_in_relationalExpression572

      public static final org.antlr.runtime.BitSet FOLLOW_29_in_relationalExpression572
    • FOLLOW_additiveExpression_in_relationalExpression576

      public static final org.antlr.runtime.BitSet FOLLOW_additiveExpression_in_relationalExpression576
    • FOLLOW_32_in_relationalExpression592

      public static final org.antlr.runtime.BitSet FOLLOW_32_in_relationalExpression592
    • FOLLOW_additiveExpression_in_relationalExpression596

      public static final org.antlr.runtime.BitSet FOLLOW_additiveExpression_in_relationalExpression596
    • FOLLOW_multiplicativeExpression_in_additiveExpression634

      public static final org.antlr.runtime.BitSet FOLLOW_multiplicativeExpression_in_additiveExpression634
    • FOLLOW_24_in_additiveExpression650

      public static final org.antlr.runtime.BitSet FOLLOW_24_in_additiveExpression650
    • FOLLOW_multiplicativeExpression_in_additiveExpression654

      public static final org.antlr.runtime.BitSet FOLLOW_multiplicativeExpression_in_additiveExpression654
    • FOLLOW_26_in_additiveExpression670

      public static final org.antlr.runtime.BitSet FOLLOW_26_in_additiveExpression670
    • FOLLOW_multiplicativeExpression_in_additiveExpression674

      public static final org.antlr.runtime.BitSet FOLLOW_multiplicativeExpression_in_additiveExpression674
    • FOLLOW_exponentialExpression_in_multiplicativeExpression712

      public static final org.antlr.runtime.BitSet FOLLOW_exponentialExpression_in_multiplicativeExpression712
    • FOLLOW_22_in_multiplicativeExpression728

      public static final org.antlr.runtime.BitSet FOLLOW_22_in_multiplicativeExpression728
    • FOLLOW_exponentialExpression_in_multiplicativeExpression732

      public static final org.antlr.runtime.BitSet FOLLOW_exponentialExpression_in_multiplicativeExpression732
    • FOLLOW_27_in_multiplicativeExpression748

      public static final org.antlr.runtime.BitSet FOLLOW_27_in_multiplicativeExpression748
    • FOLLOW_exponentialExpression_in_multiplicativeExpression752

      public static final org.antlr.runtime.BitSet FOLLOW_exponentialExpression_in_multiplicativeExpression752
    • FOLLOW_17_in_multiplicativeExpression768

      public static final org.antlr.runtime.BitSet FOLLOW_17_in_multiplicativeExpression768
    • FOLLOW_exponentialExpression_in_multiplicativeExpression772

      public static final org.antlr.runtime.BitSet FOLLOW_exponentialExpression_in_multiplicativeExpression772
    • FOLLOW_unaryExpression_in_exponentialExpression810

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpression_in_exponentialExpression810
    • FOLLOW_34_in_exponentialExpression826

      public static final org.antlr.runtime.BitSet FOLLOW_34_in_exponentialExpression826
    • FOLLOW_unaryExpression_in_exponentialExpression830

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpression_in_exponentialExpression830
    • FOLLOW_23_in_exponentialExpression846

      public static final org.antlr.runtime.BitSet FOLLOW_23_in_exponentialExpression846
    • FOLLOW_unaryExpression_in_exponentialExpression850

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpression_in_exponentialExpression850
    • FOLLOW_26_in_unaryExpression886

      public static final org.antlr.runtime.BitSet FOLLOW_26_in_unaryExpression886
    • FOLLOW_unaryExpression_in_unaryExpression890

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpression_in_unaryExpression890
    • FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression904

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression904
    • FOLLOW_15_in_unaryExpressionNotPlusMinus929

      public static final org.antlr.runtime.BitSet FOLLOW_15_in_unaryExpressionNotPlusMinus929
    • FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus933

      public static final org.antlr.runtime.BitSet FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus933
    • FOLLOW_primary_in_unaryExpressionNotPlusMinus947

      public static final org.antlr.runtime.BitSet FOLLOW_primary_in_unaryExpressionNotPlusMinus947
    • FOLLOW_functionExpression_in_primary972

      public static final org.antlr.runtime.BitSet FOLLOW_functionExpression_in_primary972
    • FOLLOW_parExpression_in_primary984

      public static final org.antlr.runtime.BitSet FOLLOW_parExpression_in_primary984
    • FOLLOW_channel_in_primary996

      public static final org.antlr.runtime.BitSet FOLLOW_channel_in_primary996
    • FOLLOW_numericLiteral_in_primary1008

      public static final org.antlr.runtime.BitSet FOLLOW_numericLiteral_in_primary1008
    • FOLLOW_stringLiteral_in_primary1020

      public static final org.antlr.runtime.BitSet FOLLOW_stringLiteral_in_primary1020
    • FOLLOW_constant_in_primary1032

      public static final org.antlr.runtime.BitSet FOLLOW_constant_in_primary1032
    • FOLLOW_FUNCTION_in_functionExpression1057

      public static final org.antlr.runtime.BitSet FOLLOW_FUNCTION_in_functionExpression1057
    • FOLLOW_20_in_functionExpression1059

      public static final org.antlr.runtime.BitSet FOLLOW_20_in_functionExpression1059
    • FOLLOW_expression_in_functionExpression1063

      public static final org.antlr.runtime.BitSet FOLLOW_expression_in_functionExpression1063
    • FOLLOW_25_in_functionExpression1079

      public static final org.antlr.runtime.BitSet FOLLOW_25_in_functionExpression1079
    • FOLLOW_expression_in_functionExpression1083

      public static final org.antlr.runtime.BitSet FOLLOW_expression_in_functionExpression1083
    • FOLLOW_21_in_functionExpression1098

      public static final org.antlr.runtime.BitSet FOLLOW_21_in_functionExpression1098
    • FOLLOW_20_in_parExpression1123

      public static final org.antlr.runtime.BitSet FOLLOW_20_in_parExpression1123
    • FOLLOW_expression_in_parExpression1125

      public static final org.antlr.runtime.BitSet FOLLOW_expression_in_parExpression1125
    • FOLLOW_21_in_parExpression1127

      public static final org.antlr.runtime.BitSet FOLLOW_21_in_parExpression1127
    • FOLLOW_CHANNEL_in_channel1152

      public static final org.antlr.runtime.BitSet FOLLOW_CHANNEL_in_channel1152
    • FOLLOW_INT_in_numericLiteral1177

      public static final org.antlr.runtime.BitSet FOLLOW_INT_in_numericLiteral1177
    • FOLLOW_FLOAT_in_numericLiteral1189

      public static final org.antlr.runtime.BitSet FOLLOW_FLOAT_in_numericLiteral1189
    • FOLLOW_STRING_in_stringLiteral1214

      public static final org.antlr.runtime.BitSet FOLLOW_STRING_in_stringLiteral1214
    • FOLLOW_FUNCTION_in_constant1239

      public static final org.antlr.runtime.BitSet FOLLOW_FUNCTION_in_constant1239
  • Constructor Details

    • FormulaParser

      public FormulaParser(org.antlr.runtime.TokenStream input)
    • FormulaParser

      public FormulaParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
  • Method Details

    • getDelegates

      public org.antlr.runtime.Parser[] getDelegates()
    • getTokenNames

      public String[] getTokenNames()
      Overrides:
      getTokenNames in class org.antlr.runtime.BaseRecognizer
    • getGrammarFileName

      public String getGrammarFileName()
      Overrides:
      getGrammarFileName in class org.antlr.runtime.BaseRecognizer
    • reportError

      public void reportError(org.antlr.runtime.RecognitionException e)
      Overrides:
      reportError in class org.antlr.runtime.BaseRecognizer
    • singleChannel

      public final FormulaAst singleChannel() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • formula

      public final FormulaAst formula() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • expression

      public final FormulaAst expression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • conditionalExpression

      public final FormulaAst conditionalExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • conditionalOrExpression

      public final FormulaAst conditionalOrExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • conditionalAndExpression

      public final FormulaAst conditionalAndExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • inclusiveOrExpression

      public final FormulaAst inclusiveOrExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • andExpression

      public final FormulaAst andExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • equalityExpression

      public final FormulaAst equalityExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • relationalExpression

      public final FormulaAst relationalExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • additiveExpression

      public final FormulaAst additiveExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • multiplicativeExpression

      public final FormulaAst multiplicativeExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • exponentialExpression

      public final FormulaAst exponentialExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • unaryExpression

      public final FormulaAst unaryExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • unaryExpressionNotPlusMinus

      public final FormulaAst unaryExpressionNotPlusMinus() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • primary

      public final FormulaAst primary() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • functionExpression

      public final FormulaAst functionExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • parExpression

      public final FormulaAst parExpression() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • channel

      public final FormulaAst channel() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • numericLiteral

      public final FormulaAst numericLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • stringLiteral

      public final FormulaAst stringLiteral() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException
    • constant

      public final FormulaAst constant() throws org.antlr.runtime.RecognitionException
      Throws:
      org.antlr.runtime.RecognitionException