Class: Parser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- Parser
- Defined in:
- lib/sol/grammar.tab.rb
Constant Summary collapse
- Racc_arg =
[ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ]
- Racc_token_to_s_table =
[ "$end", "error", "IF", "FUNC", "NEWLINE", "NUMBER", "STRING", "TRUE", "FALSE", "NULL", "IDENTIFIER", "CONSTANT", "\".\"", "\"!\"", "\"*\"", "\"/\"", "\"+\"", "\"-\"", "\">\"", "\">=\"", "\"<\"", "\"<=\"", "\"==\"", "\"!=\"", "\"&&\"", "\"||\"", "\"=\"", "\",\"", "\"(\"", "\")\"", "\";\"", "\"{\"", "\"}\"", "$start", "Root", "Expressions", "Expression", "Terminator", "Literal", "Call", "Operator", "Constant", "Assign", "Func", "If", "ArgList", "Block", "ParamList" ]
- Racc_debug_parser =
true
Instance Method Summary collapse
-
#_reduce_none(val, _values, result) ⇒ Object
reduce 50 omitted.
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
reduce 50 omitted
452 453 454 |
# File 'lib/sol/grammar.tab.rb', line 452 def _reduce_none(val, _values, result) val[0] end |