Class: ExcelFormula::Parser::DFA15

Inherits:
ANTLR3::DFA
  • Object
show all
Defined in:
lib/surpass/ExcelFormulaParser.rb

Constant Summary collapse

EOT =
unpack(66, -1)
EOF =
unpack(4, -1, 1, 12, 1, -1, 1, 31, 1, -1, 1, 49, 57, -1)
MIN =
unpack(1, 17, 3, -1, 1, 4, 1, -1, 1, 4, 1, -1, 1, 4, 57, -1)
MAX =
unpack(1, 32, 3, -1, 1, 29, 1, -1, 1, 29, 1, -1, 1, 29, 57, 
-1)
ACCEPT =
unpack(1, -1, 1, 1, 1, 2, 1, 3, 1, -1, 1, 5, 1, -1, 1, 8, 
1, -1, 1, 9, 1, 10, 1, 11, 1, 4, 17, -1, 1, 7, 1, 
6, 17, -1, 1, 12, 15, -1, 1, 13)
SPECIAL =
unpack(66, -1)
TRANSITION =
[
  unpack(1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, -1, 1, 7, 2, -1, 1, 
         10, 2, -1, 1, 11, 1, 8, 1, 9),
  unpack(),
  unpack(),
  unpack(),
  unpack(13, 12, 6, -1, 1, 9, 1, -1, 1, 12, 1, 9, 1, -1, 2, 12),
  unpack(),
  unpack(13, 31, 6, -1, 1, 30, 1, -1, 1, 31, 2, -1, 2, 31),
  unpack(),
  unpack(13, 49, 6, -1, 1, 9, 1, 65, 1, 49, 1, 9, 1, -1, 2, 49),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack(),
  unpack()
].freeze

Instance Method Summary collapse

Instance Method Details

#descriptionObject



1554
1555
1556
1557
1558
# File 'lib/surpass/ExcelFormulaParser.rb', line 1554

def description
  <<-'__dfa_description__'.strip!
    99:1: primary[arg_type] : ( TRUE_CONST | FALSE_CONST | str_tok= STR_CONST | int_tok= INT_CONST | num_tok= NUM_CONST | ref2d_tok= REF2D | ref2d1_tok= REF2D COLON ref2d2_tok= REF2D | LP expr[arg_type] RP | sheet1= sheet ( COLON sheet2= sheet )? BANG ref3d_ref2d= REF2D ( COLON ref3d_ref2d2= REF2D )? | FUNC_IF LP expr[\"V\"] ( SEMICOLON | COMMA ) expr[arg_type] ( SEMICOLON | COMMA ) expr[arg_type] RP | FUNC_CHOOSE LP expr[\"V\"] ( ( SEMICOLON | COMMA ) ( expr[arg_type] | ) )* RP | name_tok= NAME | func_tok= NAME LP arg_count= expr_list[arg_type_list, min_argc, max_argc] RP );
  __dfa_description__
end