Class: RBS::Parser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- RBS::Parser
- Defined in:
- lib/rbs/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", "tUIDENT", "tLIDENT", "tNAMESPACE", "tINTERFACEIDENT", "tGLOBALIDENT", "tLKEYWORD", "tUKEYWORD", "tLKEYWORD_Q_E", "tUKEYWORD_Q_E", "tIVAR", "tCLASSVAR", "tANNOTATION", "tSTRING", "tSYMBOL", "tINTEGER", "tWRITE_ATTR", "kLPAREN", "kRPAREN", "kLBRACKET", "kRBRACKET", "kLBRACE", "kRBRACE", "kVOID", "kNIL", "kTRUE", "kFALSE", "kANY", "kUNTYPED", "kTOP", "kBOT", "kSELF", "kSELFQ", "kINSTANCE", "kCLASS", "kBOOL", "kSINGLETON", "kTYPE", "kDEF", "kMODULE", "kPRIVATE", "kPUBLIC", "kALIAS", "kCOLON", "kCOLON2", "kCOMMA", "kBAR", "kAMP", "kHAT", "kARROW", "kQUESTION", "kEXCLAMATION", "kSTAR", "kSTAR2", "kFATARROW", "kEQ", "kDOT", "kDOT3", "kLT", "kINTERFACE", "kEND", "kINCLUDE", "kEXTEND", "kATTRREADER", "kATTRWRITER", "kATTRACCESSOR", "tOPERATOR", "tQUOTEDMETHOD", "tQUOTEDIDENT", "kPREPEND", "kEXTENSION", "kINCOMPATIBLE", "type_TYPE", "type_SIGNATURE", "type_METHODTYPE", "tEOF", "kOUT", "kIN", "kUNCHECKED", "kOVERLOAD", "$start", "target", "type", "eof", "signatures", "method_type", "signature", "type_decl", "const_decl", "global_decl", "interface_decl", "module_decl", "class_decl", "start_new_scope", "start_merged_scope", "annotations", "class_name", "module_type_params", "super_class", "class_members", "type_list", "colon_module_self_types", "namespace", "module_self_types", "module_self_type", "qualified_name", "class_member", "method_member", "include_member", "extend_member", "prepend_member", "var_type_member", "attribute_member", "alias_member", "attribute_kind", "keyword", "method_name", "attr_var_opt", "interface_name", "interface_members", "interface_member", "overload", "attributes", "method_kind", "def_name", "method_types", "type_params", "proc_type", "params_opt", "params", "block", "simple_function_type", "method_name0", "identifier_keywords", "module_type_params0", "module_type_param", "type_param_check", "type_param_variance", "type_params0", "type_alias_name", "simple_type", "comma_opt", "record_type", "record_fields", "record_field", "keyword_name", "required_positional", "optional_positional_params", "optional_positional", "rest_positional_param", "rest_positional", "trailing_positional_params", "keyword_params", "required_keyword", "optional_keyword", "rest_keyword", "var_name_opt", "simple_name" ]
- Racc_debug_parser =
false
Instance Method Summary collapse
-
#_reduce_none(val, _values, result) ⇒ Object
reduce 247 omitted.
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
reduce 247 omitted
3586 3587 3588 |
# File 'lib/rbs/parser.rb', line 3586 def _reduce_none(val, _values, result) val[0] end |