Class: GQL::Parser
- Defined in:
- lib/gql/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", "STRING", "NUMBER", "TRUE", "FALSE", "NULL", "AS", "IDENT", "\"{\"", "\"}\"", "\".\"", "\"(\"", "\")\"", "\",\"", "\"=\"", "\"<\"", "\">\"", "\":\"", "\"[\"", "\"]\"", "$start", "query", "variables", "root", "call", "field_list", "identifier", "arguments", "fields", "argument_list", "argument", "variable_identifier", "json_value", "field", "alias_identifier", "variable_list", "variable", "variable_value", "object", "array", "scalar", "pairs", "pair", "string", "values" ]
- Racc_debug_parser =
false
Instance Attribute Summary
Attributes inherited from Tokenizer
Instance Method Summary collapse
Methods inherited from Tokenizer
#_next_token, #action, #load_file, #next_token, #scan_file, #scan_setup, #scan_str
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
597 598 599 |
# File 'lib/gql/parser.rb', line 597 def _reduce_none(val, _values, result) val[0] end |