Class: Rgo::Parser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- Rgo::Parser
- Defined in:
- lib/rgo/parser.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", "UMINUS", "\"^\"", "\"*\"", "\"/\"", "\"+\"", "\"-\"", "KEYWORD_IF", "LPAREN", "RPAREN", "KEYWORD_END", "KEYWORD_ELSE", "KEYWORD_REQUIRE", "STRING", "KEYWORD_MODULE", "CONSTANT", "KEYWORD_INTERFACE", "IDENTIFIER", "COMMA", "KEYWORD_DEF", "KEYWORD_INCLUDE", "DCOLON", "COMMENT", "KEYWORD_ASSIGN", "KEYWORD_ALIAS", "\"(\"", "\")\"", "INTEGER", "INSTANCE_VARIABLE", "KEYWORD_RETURN", "KEYWORD_CLASS", "DOT", "COLON", "PLUS", "MINUS", "MULTIPLY", "DIVIDE", "GREATER", "LESS", "EQUAL", "MOD", "KEYWORD_TRUE", "KEYWORD_FALSE", "BLANK_LINE", "$start", "target", "statement_list", "statement", "comment_statement", "module_statement", "interface_statement", "require_statement", "func_call", "func_def", "include_statement", "assignment_statement", "constant_assignment_statement", "blank_line", "if_statement", "expression_statement", "alias_statement", "return_statement", "class_statement", "expression", "else_statement", "args", "arg", "none", "func_def_args", "func_def_arg", "constant_tree", "boolean", "number_operator", "class_new", "class_instance_method_call", "class_body", "instance_variables_def", "methods_def", "instance_variable_def", "method_def", "arg_options", "arg_option" ]
- Racc_debug_parser =
false
Instance Method Summary collapse
-
#_reduce_none(val, _values) ⇒ Object
reduce 89 omitted.
Instance Method Details
#_reduce_none(val, _values) ⇒ Object
reduce 89 omitted
905 906 907 |
# File 'lib/rgo/parser.rb', line 905 def _reduce_none(val, _values) val[0] end |