Class: RubyParser
- Inherits:
-
Ruby18Parser
- Object
- Racc::Parser
- Ruby18Parser
- RubyParser
- Defined in:
- lib/ruby_parser/ruby_parser_extras.rb
Constant Summary
Constants inherited from Ruby18Parser
Ruby18Parser::Racc_arg, Ruby18Parser::Racc_debug_parser, Ruby18Parser::Racc_token_to_s_table
Constants included from RubyParserStuff
Instance Attribute Summary
Attributes included from RubyParserStuff
#canonicalize_conditions, #comments, #env, #file, #in_def, #in_single, #lexer
Instance Method Summary collapse
-
#initialize ⇒ RubyParser
constructor
A new instance of RubyParser.
Methods inherited from Ruby18Parser
#_reduce_1, #_reduce_10, #_reduce_100, #_reduce_103, #_reduce_105, #_reduce_106, #_reduce_107, #_reduce_11, #_reduce_12, #_reduce_13, #_reduce_14, #_reduce_15, #_reduce_16, #_reduce_17, #_reduce_175, #_reduce_176, #_reduce_177, #_reduce_178, #_reduce_179, #_reduce_18, #_reduce_180, #_reduce_181, #_reduce_182, #_reduce_183, #_reduce_184, #_reduce_185, #_reduce_186, #_reduce_187, #_reduce_188, #_reduce_189, #_reduce_19, #_reduce_190, #_reduce_191, #_reduce_192, #_reduce_193, #_reduce_194, #_reduce_195, #_reduce_196, #_reduce_197, #_reduce_198, #_reduce_199, #_reduce_2, #_reduce_20, #_reduce_200, #_reduce_201, #_reduce_202, #_reduce_203, #_reduce_204, #_reduce_205, #_reduce_206, #_reduce_207, #_reduce_208, #_reduce_209, #_reduce_21, #_reduce_210, #_reduce_211, #_reduce_212, #_reduce_213, #_reduce_214, #_reduce_215, #_reduce_216, #_reduce_217, #_reduce_219, #_reduce_22, #_reduce_221, #_reduce_222, #_reduce_223, #_reduce_224, #_reduce_225, #_reduce_226, #_reduce_227, #_reduce_228, #_reduce_229, #_reduce_23, #_reduce_232, #_reduce_233, #_reduce_234, #_reduce_235, #_reduce_236, #_reduce_237, #_reduce_238, #_reduce_239, #_reduce_24, #_reduce_241, #_reduce_242, #_reduce_243, #_reduce_244, #_reduce_245, #_reduce_246, #_reduce_247, #_reduce_248, #_reduce_249, #_reduce_25, #_reduce_250, #_reduce_251, #_reduce_253, #_reduce_254, #_reduce_256, #_reduce_257, #_reduce_258, #_reduce_259, #_reduce_26, #_reduce_260, #_reduce_261, #_reduce_263, #_reduce_264, #_reduce_265, #_reduce_266, #_reduce_267, #_reduce_27, #_reduce_276, #_reduce_277, #_reduce_278, #_reduce_279, #_reduce_28, #_reduce_280, #_reduce_281, #_reduce_282, #_reduce_283, #_reduce_284, #_reduce_285, #_reduce_286, #_reduce_287, #_reduce_288, #_reduce_289, #_reduce_29, #_reduce_290, #_reduce_291, #_reduce_292, #_reduce_294, #_reduce_295, #_reduce_296, #_reduce_297, #_reduce_298, #_reduce_299, #_reduce_3, #_reduce_30, #_reduce_300, #_reduce_301, #_reduce_302, #_reduce_303, #_reduce_304, #_reduce_305, #_reduce_306, #_reduce_307, #_reduce_308, #_reduce_309, #_reduce_31, #_reduce_310, #_reduce_311, #_reduce_312, #_reduce_313, #_reduce_314, #_reduce_315, #_reduce_316, #_reduce_317, #_reduce_318, #_reduce_319, #_reduce_32, #_reduce_320, #_reduce_321, #_reduce_322, #_reduce_323, #_reduce_324, #_reduce_325, #_reduce_326, #_reduce_327, #_reduce_328, #_reduce_33, #_reduce_337, #_reduce_339, #_reduce_341, #_reduce_343, #_reduce_344, #_reduce_345, #_reduce_346, #_reduce_347, #_reduce_348, #_reduce_349, #_reduce_350, #_reduce_351, #_reduce_352, #_reduce_353, #_reduce_354, #_reduce_355, #_reduce_356, #_reduce_357, #_reduce_358, #_reduce_359, #_reduce_36, #_reduce_360, #_reduce_361, #_reduce_362, #_reduce_363, #_reduce_364, #_reduce_365, #_reduce_366, #_reduce_368, #_reduce_369, #_reduce_37, #_reduce_372, #_reduce_373, #_reduce_374, #_reduce_377, #_reduce_379, #_reduce_38, #_reduce_381, #_reduce_382, #_reduce_384, #_reduce_386, #_reduce_387, #_reduce_388, #_reduce_389, #_reduce_39, #_reduce_390, #_reduce_391, #_reduce_392, #_reduce_393, #_reduce_394, #_reduce_396, #_reduce_397, #_reduce_398, #_reduce_399, #_reduce_4, #_reduce_400, #_reduce_401, #_reduce_402, #_reduce_403, #_reduce_404, #_reduce_405, #_reduce_406, #_reduce_407, #_reduce_408, #_reduce_409, #_reduce_41, #_reduce_410, #_reduce_411, #_reduce_412, #_reduce_414, #_reduce_415, #_reduce_420, #_reduce_423, #_reduce_424, #_reduce_430, #_reduce_431, #_reduce_432, #_reduce_433, #_reduce_434, #_reduce_435, #_reduce_436, #_reduce_437, #_reduce_438, #_reduce_439, #_reduce_44, #_reduce_440, #_reduce_441, #_reduce_442, #_reduce_443, #_reduce_444, #_reduce_445, #_reduce_446, #_reduce_447, #_reduce_448, #_reduce_449, #_reduce_45, #_reduce_450, #_reduce_451, #_reduce_452, #_reduce_453, #_reduce_454, #_reduce_455, #_reduce_456, #_reduce_457, #_reduce_458, #_reduce_459, #_reduce_46, #_reduce_460, #_reduce_461, #_reduce_462, #_reduce_463, #_reduce_466, #_reduce_467, #_reduce_470, #_reduce_471, #_reduce_472, #_reduce_474, #_reduce_475, #_reduce_476, #_reduce_477, #_reduce_478, #_reduce_48, #_reduce_480, #_reduce_481, #_reduce_49, #_reduce_50, #_reduce_501, #_reduce_504, #_reduce_505, #_reduce_506, #_reduce_51, #_reduce_52, #_reduce_53, #_reduce_54, #_reduce_55, #_reduce_56, #_reduce_57, #_reduce_58, #_reduce_59, #_reduce_60, #_reduce_62, #_reduce_64, #_reduce_65, #_reduce_66, #_reduce_67, #_reduce_68, #_reduce_69, #_reduce_7, #_reduce_70, #_reduce_72, #_reduce_73, #_reduce_74, #_reduce_75, #_reduce_76, #_reduce_77, #_reduce_78, #_reduce_79, #_reduce_8, #_reduce_80, #_reduce_81, #_reduce_82, #_reduce_83, #_reduce_84, #_reduce_85, #_reduce_86, #_reduce_87, #_reduce_88, #_reduce_89, #_reduce_9, #_reduce_90, #_reduce_91, #_reduce_93, #_reduce_94, #_reduce_95, #_reduce_99, #_reduce_none
Methods included from RubyParserStuff
#arg_add, #arg_blk_pass, #arg_concat, #args, #args19, #aryset, #assignable, #block_append, #cond, #do_parse, #get_match_node, #gettable, #list_append, #list_prepend, #literal_concat, #logop, #new_aref, #new_body, #new_call, #new_case, #new_class, #new_compstmt, #new_defn, #new_defs, #new_for, #new_if, #new_iter, #new_masgn, #new_module, #new_op_asgn, #new_regexp, #new_sclass, #new_super, #new_undef, #new_until, #new_until_or_while, #new_while, #new_xstring, #new_yield, #next_token, #node_assign, #process, #remove_begin, #reset, #ret_args, #s, #value_expr, #void_stmts, #warning, #yyerror
Constructor Details
#initialize ⇒ RubyParser
Returns a new instance of RubyParser.
1038 1039 1040 1041 1042 |
# File 'lib/ruby_parser/ruby_parser_extras.rb', line 1038 def initialize super warn "WA\RNING: Deprecated: RubyParser. Use Ruby18Parser or Ruby19Parser" warn " from #{caller.first}" end |