muina 0.2.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -0
- data/README.md +0 -35
- data/lib/muina/maybe/none.rb +61 -0
- data/lib/muina/maybe/some.rb +62 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/result/failure.rb +7 -18
- data/lib/muina/result/success.rb +7 -18
- data/lib/muina/result.rb +6 -8
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -225
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -181
- data/.ruby-version +0 -1
- data/.simplecov +0 -14
- data/CHANGELOG.md +0 -38
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -265
- data/Guardfile +0 -24
- data/Rakefile +0 -13
- data/SECURITY.md +0 -14
- data/bin/bundle +0 -114
- data/bin/console +0 -15
- data/bin/flay +0 -29
- data/bin/flog +0 -29
- data/bin/guard +0 -29
- data/bin/irb +0 -29
- data/bin/lefthook +0 -29
- data/bin/mutant +0 -29
- data/bin/parlour +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/srb-rbi +0 -29
- data/bin/tapioca +0 -29
- data/exe/muina +0 -11
- data/lefthook.yml +0 -39
- data/lib/muina/action/params_factory.rb +0 -17
- data/lib/muina/action/step/command.rb +0 -33
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -35
- data/lib/muina/action/step/result.rb +0 -56
- data/lib/muina/action/step.rb +0 -13
- data/lib/muina/action.rb +0 -73
- data/lib/muina/any.rb +0 -7
- data/lib/muina/classes.rb +0 -7
- data/lib/muina/deprecator.rb +0 -93
- data/lib/muina/entity.rb +0 -20
- data/lib/muina/module.rb +0 -6
- data/lib/muina/parameters.rb +0 -7
- data/lib/muina/params.rb +0 -19
- data/lib/muina/private_creation.rb +0 -12
- data/lib/muina/result/factory.rb +0 -37
- data/lib/muina/result/null.rb +0 -25
- data/lib/muina/service.rb +0 -25
- data/lib/muina/symbol_hash.rb +0 -7
- data/lib/muina/unit.rb +0 -10
- data/lib/muina/untyped_array.rb +0 -7
- data/lib/muina/untyped_hash.rb +0 -7
- data/lib/muina/value.rb +0 -24
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -311
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
- data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
- data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
- data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
- data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
- data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
- data/sorbet/rbi/todo.rbi +0 -8
- data/sorbet/rbi/typed_params.rbi +0 -7
- data/sorbet/tapioca/require.rb +0 -16
@@ -1,2037 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `unparser` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
class Parser::Builders::Default
|
8
|
-
def initialize; end
|
9
|
-
|
10
|
-
def __ENCODING__(__ENCODING__t); end
|
11
|
-
def __FILE__(__FILE__t); end
|
12
|
-
def __LINE__(__LINE__t); end
|
13
|
-
def accessible(node); end
|
14
|
-
def alias(alias_t, to, from); end
|
15
|
-
def arg(name_t); end
|
16
|
-
def arg_expr(expr); end
|
17
|
-
def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end
|
18
|
-
def array(begin_t, elements, end_t); end
|
19
|
-
def array_pattern(lbrack_t, elements, rbrack_t); end
|
20
|
-
def assign(lhs, eql_t, rhs); end
|
21
|
-
def assignable(node); end
|
22
|
-
def associate(begin_t, pairs, end_t); end
|
23
|
-
def attr_asgn(receiver, dot_t, selector_t); end
|
24
|
-
def back_ref(token); end
|
25
|
-
def begin(begin_t, body, end_t); end
|
26
|
-
def begin_body(compound_stmt, rescue_bodies = T.unsafe(nil), else_t = T.unsafe(nil), else_ = T.unsafe(nil), ensure_t = T.unsafe(nil), ensure_ = T.unsafe(nil)); end
|
27
|
-
def begin_keyword(begin_t, body, end_t); end
|
28
|
-
def binary_op(receiver, operator_t, arg); end
|
29
|
-
def block(method_call, begin_t, args, body, end_t); end
|
30
|
-
def block_pass(amper_t, arg); end
|
31
|
-
def blockarg(amper_t, name_t); end
|
32
|
-
def blockarg_expr(amper_t, expr); end
|
33
|
-
def call_lambda(lambda_t); end
|
34
|
-
def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
35
|
-
def call_type_for_dot(dot_t); end
|
36
|
-
def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
|
37
|
-
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
|
38
|
-
def character(char_t); end
|
39
|
-
def complex(complex_t); end
|
40
|
-
def compstmt(statements); end
|
41
|
-
def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
|
42
|
-
def condition_mod(if_true, if_false, cond_t, cond); end
|
43
|
-
def const(name_t); end
|
44
|
-
def const_fetch(scope, t_colon2, name_t); end
|
45
|
-
def const_global(t_colon3, name_t); end
|
46
|
-
def const_op_assignable(node); end
|
47
|
-
def const_pattern(const, ldelim_t, pattern, rdelim_t); end
|
48
|
-
def cvar(token); end
|
49
|
-
def dedent_string(node, dedent_level); end
|
50
|
-
def def_class(class_t, name, lt_t, superclass, body, end_t); end
|
51
|
-
def def_endless_method(def_t, name_t, args, assignment_t, body); end
|
52
|
-
def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end
|
53
|
-
def def_method(def_t, name_t, args, body, end_t); end
|
54
|
-
def def_module(module_t, name, body, end_t); end
|
55
|
-
def def_sclass(class_t, lshft_t, expr, body, end_t); end
|
56
|
-
def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
|
57
|
-
def emit_file_line_as_literals; end
|
58
|
-
def emit_file_line_as_literals=(_arg0); end
|
59
|
-
def false(false_t); end
|
60
|
-
def find_pattern(lbrack_t, elements, rbrack_t); end
|
61
|
-
def float(float_t); end
|
62
|
-
def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
|
63
|
-
def forward_arg(dots_t); end
|
64
|
-
def forward_only_args(begin_t, dots_t, end_t); end
|
65
|
-
def forwarded_args(dots_t); end
|
66
|
-
def gvar(token); end
|
67
|
-
def hash_pattern(lbrace_t, kwargs, rbrace_t); end
|
68
|
-
def ident(token); end
|
69
|
-
def if_guard(if_t, if_body); end
|
70
|
-
def in_match(lhs, in_t, rhs); end
|
71
|
-
def in_pattern(in_t, pattern, guard, then_t, body); end
|
72
|
-
def index(receiver, lbrack_t, indexes, rbrack_t); end
|
73
|
-
def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
|
74
|
-
def integer(integer_t); end
|
75
|
-
def ivar(token); end
|
76
|
-
def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
77
|
-
def kwarg(name_t); end
|
78
|
-
def kwnilarg(dstar_t, nil_t); end
|
79
|
-
def kwoptarg(name_t, value); end
|
80
|
-
def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end
|
81
|
-
def kwsplat(dstar_t, arg); end
|
82
|
-
def logical_op(type, lhs, op_t, rhs); end
|
83
|
-
def loop(type, keyword_t, cond, do_t, body, end_t); end
|
84
|
-
def loop_mod(type, body, keyword_t, cond); end
|
85
|
-
def match_alt(left, pipe_t, right); end
|
86
|
-
def match_as(value, assoc_t, as); end
|
87
|
-
def match_hash_var(name_t); end
|
88
|
-
def match_hash_var_from_str(begin_t, strings, end_t); end
|
89
|
-
def match_label(label_type, label); end
|
90
|
-
def match_nil_pattern(dstar_t, nil_t); end
|
91
|
-
def match_op(receiver, match_t, arg); end
|
92
|
-
def match_pair(label_type, label, value); end
|
93
|
-
def match_pattern(lhs, match_t, rhs); end
|
94
|
-
def match_pattern_p(lhs, match_t, rhs); end
|
95
|
-
def match_rest(star_t, name_t = T.unsafe(nil)); end
|
96
|
-
def match_var(name_t); end
|
97
|
-
def match_with_trailing_comma(match, comma_t); end
|
98
|
-
def multi_assign(lhs, eql_t, rhs); end
|
99
|
-
def multi_lhs(begin_t, items, end_t); end
|
100
|
-
def nil(nil_t); end
|
101
|
-
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
102
|
-
def nth_ref(token); end
|
103
|
-
def numargs(max_numparam); end
|
104
|
-
def objc_kwarg(kwname_t, assoc_t, name_t); end
|
105
|
-
def objc_restarg(star_t, name = T.unsafe(nil)); end
|
106
|
-
def objc_varargs(pair, rest_of_varargs); end
|
107
|
-
def op_assign(lhs, op_t, rhs); end
|
108
|
-
def optarg(name_t, eql_t, value); end
|
109
|
-
def pair(key, assoc_t, value); end
|
110
|
-
def pair_keyword(key_t, value); end
|
111
|
-
def pair_list_18(list); end
|
112
|
-
def pair_quoted(begin_t, parts, end_t, value); end
|
113
|
-
def parser; end
|
114
|
-
def parser=(_arg0); end
|
115
|
-
def pin(pin_t, var); end
|
116
|
-
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
|
117
|
-
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
|
118
|
-
def procarg0(arg); end
|
119
|
-
def range_exclusive(lhs, dot3_t, rhs); end
|
120
|
-
def range_inclusive(lhs, dot2_t, rhs); end
|
121
|
-
def rational(rational_t); end
|
122
|
-
def regexp_compose(begin_t, parts, end_t, options); end
|
123
|
-
def regexp_options(regopt_t); end
|
124
|
-
def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
|
125
|
-
def restarg(star_t, name_t = T.unsafe(nil)); end
|
126
|
-
def restarg_expr(star_t, expr = T.unsafe(nil)); end
|
127
|
-
def self(token); end
|
128
|
-
def shadowarg(name_t); end
|
129
|
-
def splat(star_t, arg = T.unsafe(nil)); end
|
130
|
-
def string(string_t); end
|
131
|
-
def string_compose(begin_t, parts, end_t); end
|
132
|
-
def string_internal(string_t); end
|
133
|
-
def symbol(symbol_t); end
|
134
|
-
def symbol_compose(begin_t, parts, end_t); end
|
135
|
-
def symbol_internal(symbol_t); end
|
136
|
-
def symbols_compose(begin_t, parts, end_t); end
|
137
|
-
def ternary(cond, question_t, if_true, colon_t, if_false); end
|
138
|
-
def true(true_t); end
|
139
|
-
def unary_num(unary_t, numeric); end
|
140
|
-
def unary_op(op_t, receiver); end
|
141
|
-
def undef_method(undef_t, names); end
|
142
|
-
def unless_guard(unless_t, unless_body); end
|
143
|
-
def when(when_t, patterns, then_t, body); end
|
144
|
-
def word(parts); end
|
145
|
-
def words_compose(begin_t, parts, end_t); end
|
146
|
-
def xstring_compose(begin_t, parts, end_t); end
|
147
|
-
|
148
|
-
private
|
149
|
-
|
150
|
-
def arg_name_collides?(this_name, that_name); end
|
151
|
-
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
|
152
|
-
def binary_op_map(left_e, op_t, right_e); end
|
153
|
-
def block_map(receiver_l, begin_t, end_t); end
|
154
|
-
def check_assignment_to_numparam(name, loc); end
|
155
|
-
def check_condition(cond); end
|
156
|
-
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
|
157
|
-
def check_duplicate_args(args, map = T.unsafe(nil)); end
|
158
|
-
def check_duplicate_pattern_key(name, loc); end
|
159
|
-
def check_duplicate_pattern_variable(name, loc); end
|
160
|
-
def check_lvar_name(name, loc); end
|
161
|
-
def check_reserved_for_numparam(name, loc); end
|
162
|
-
def collapse_string_parts?(parts); end
|
163
|
-
def collection_map(begin_t, parts, end_t); end
|
164
|
-
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
|
165
|
-
def constant_map(scope, colon2_t, name_t); end
|
166
|
-
def definition_map(keyword_t, operator_t, name_t, end_t); end
|
167
|
-
def delimited_string_map(string_t); end
|
168
|
-
def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
|
169
|
-
def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
|
170
|
-
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
|
171
|
-
def expr_map(loc); end
|
172
|
-
def for_map(keyword_t, in_t, begin_t, end_t); end
|
173
|
-
def guard_map(keyword_t, guard_body_e); end
|
174
|
-
def index_map(receiver_e, lbrack_t, rbrack_t); end
|
175
|
-
def join_exprs(left_expr, right_expr); end
|
176
|
-
def keyword_map(keyword_t, begin_t, args, end_t); end
|
177
|
-
def keyword_mod_map(pre_e, keyword_t, post_e); end
|
178
|
-
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
|
179
|
-
def kwargs?(node); end
|
180
|
-
def loc(token); end
|
181
|
-
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
|
182
|
-
def n(type, children, source_map); end
|
183
|
-
def n0(type, source_map); end
|
184
|
-
def numeric(kind, token); end
|
185
|
-
def pair_keyword_map(key_t, value_e); end
|
186
|
-
def pair_quoted_map(begin_t, end_t, value_e); end
|
187
|
-
def prefix_string_map(symbol); end
|
188
|
-
def range_map(start_e, op_t, end_e); end
|
189
|
-
def regexp_map(begin_t, end_t, options_e); end
|
190
|
-
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
|
191
|
-
def rewrite_hash_args_to_kwargs(args); end
|
192
|
-
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
|
193
|
-
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
|
194
|
-
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
195
|
-
def send_unary_op_map(selector_t, arg_e); end
|
196
|
-
def static_regexp(parts, options); end
|
197
|
-
def static_regexp_node(node); end
|
198
|
-
def static_string(nodes); end
|
199
|
-
def string_map(begin_t, parts, end_t); end
|
200
|
-
def string_value(token); end
|
201
|
-
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
|
202
|
-
def token_map(token); end
|
203
|
-
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
|
204
|
-
def unquoted_map(token); end
|
205
|
-
def validate_definee(definee); end
|
206
|
-
def value(token); end
|
207
|
-
def var_send_map(variable_e); end
|
208
|
-
def variable_map(name_t); end
|
209
|
-
|
210
|
-
class << self
|
211
|
-
def emit_arg_inside_procarg0; end
|
212
|
-
def emit_arg_inside_procarg0=(_arg0); end
|
213
|
-
def emit_encoding; end
|
214
|
-
def emit_encoding=(_arg0); end
|
215
|
-
def emit_forward_arg; end
|
216
|
-
def emit_forward_arg=(_arg0); end
|
217
|
-
def emit_index; end
|
218
|
-
def emit_index=(_arg0); end
|
219
|
-
def emit_kwargs; end
|
220
|
-
def emit_kwargs=(_arg0); end
|
221
|
-
def emit_lambda; end
|
222
|
-
def emit_lambda=(_arg0); end
|
223
|
-
def emit_match_pattern; end
|
224
|
-
def emit_match_pattern=(_arg0); end
|
225
|
-
def emit_procarg0; end
|
226
|
-
def emit_procarg0=(_arg0); end
|
227
|
-
def modernize; end
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
module Unparser
|
232
|
-
class << self
|
233
|
-
def buffer(source, identification = T.unsafe(nil)); end
|
234
|
-
def parse(source); end
|
235
|
-
def parse_either(source); end
|
236
|
-
def parse_with_comments(source); end
|
237
|
-
def parser; end
|
238
|
-
def unparse(node, comment_array = T.unsafe(nil)); end
|
239
|
-
def unparse_either(node); end
|
240
|
-
def unparse_validate(node, comment_array = T.unsafe(nil)); end
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
244
|
-
module Unparser::AST
|
245
|
-
class << self
|
246
|
-
def local_variable_assignments(node); end
|
247
|
-
def local_variable_reads(node); end
|
248
|
-
def not_close_scope?(node); end
|
249
|
-
def not_reset_scope?(node); end
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
Unparser::AST::ASSIGN_NODES = T.let(T.unsafe(nil), Set)
|
254
|
-
Unparser::AST::CLOSE_NODES = T.let(T.unsafe(nil), Array)
|
255
|
-
|
256
|
-
class Unparser::AST::Enumerator
|
257
|
-
include ::Enumerable
|
258
|
-
include ::Unparser::Equalizer::Methods
|
259
|
-
include ::Unparser::Adamantium
|
260
|
-
include ::Unparser::Adamantium::InstanceMethods
|
261
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
262
|
-
extend ::Unparser::Adamantium::ClassMethods
|
263
|
-
|
264
|
-
def each(&block); end
|
265
|
-
def type(type); end
|
266
|
-
def types(types); end
|
267
|
-
|
268
|
-
class << self
|
269
|
-
def new(node, controller = T.unsafe(nil)); end
|
270
|
-
|
271
|
-
private
|
272
|
-
|
273
|
-
def set(enumerable); end
|
274
|
-
def type(node, type); end
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
|
-
Unparser::AST::FIRST_CHILD = T.let(T.unsafe(nil), Proc)
|
279
|
-
Unparser::AST::INHERIT_NODES = T.let(T.unsafe(nil), Array)
|
280
|
-
|
281
|
-
class Unparser::AST::LocalVariableScope
|
282
|
-
include ::Unparser::Equalizer::Methods
|
283
|
-
include ::Unparser::Adamantium
|
284
|
-
include ::Unparser::Adamantium::InstanceMethods
|
285
|
-
include ::Enumerable
|
286
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
287
|
-
extend ::Unparser::Adamantium::ClassMethods
|
288
|
-
|
289
|
-
def initialize(node); end
|
290
|
-
|
291
|
-
def first_assignment?(node); end
|
292
|
-
def first_assignment_in?(left, right); end
|
293
|
-
def local_variable_defined_for_node?(node, name); end
|
294
|
-
|
295
|
-
private
|
296
|
-
|
297
|
-
def match(needle); end
|
298
|
-
end
|
299
|
-
|
300
|
-
class Unparser::AST::LocalVariableScopeEnumerator
|
301
|
-
include ::Enumerable
|
302
|
-
|
303
|
-
def initialize; end
|
304
|
-
|
305
|
-
def each(node, &block); end
|
306
|
-
|
307
|
-
private
|
308
|
-
|
309
|
-
def current; end
|
310
|
-
def define(name); end
|
311
|
-
def enter(node); end
|
312
|
-
def leave(node); end
|
313
|
-
def pop; end
|
314
|
-
def push_inherit; end
|
315
|
-
def push_reset; end
|
316
|
-
def visit(node, &block); end
|
317
|
-
|
318
|
-
class << self
|
319
|
-
def each(node, &block); end
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
Unparser::AST::RESET_NODES = T.let(T.unsafe(nil), Array)
|
324
|
-
Unparser::AST::TAUTOLOGY = T.let(T.unsafe(nil), Proc)
|
325
|
-
|
326
|
-
class Unparser::AST::Walker
|
327
|
-
include ::Unparser::Equalizer::Methods
|
328
|
-
|
329
|
-
def call(node); end
|
330
|
-
|
331
|
-
class << self
|
332
|
-
def call(node, controller = T.unsafe(nil), &block); end
|
333
|
-
end
|
334
|
-
end
|
335
|
-
|
336
|
-
module Unparser::AbstractType
|
337
|
-
mixes_in_class_methods ::Unparser::AbstractType::AbstractMethodDeclarations
|
338
|
-
|
339
|
-
class << self
|
340
|
-
private
|
341
|
-
|
342
|
-
def create_new_method(abstract_class); end
|
343
|
-
def included(descendant); end
|
344
|
-
end
|
345
|
-
end
|
346
|
-
|
347
|
-
module Unparser::AbstractType::AbstractMethodDeclarations
|
348
|
-
def abstract_method(*names); end
|
349
|
-
def abstract_singleton_method(*names); end
|
350
|
-
|
351
|
-
private
|
352
|
-
|
353
|
-
def create_abstract_instance_method(name); end
|
354
|
-
def create_abstract_singleton_method(name); end
|
355
|
-
end
|
356
|
-
|
357
|
-
module Unparser::Adamantium
|
358
|
-
include ::Unparser::Adamantium::InstanceMethods
|
359
|
-
|
360
|
-
mixes_in_class_methods ::Unparser::Adamantium::ClassMethods
|
361
|
-
|
362
|
-
class << self
|
363
|
-
private
|
364
|
-
|
365
|
-
def included(descendant); end
|
366
|
-
end
|
367
|
-
end
|
368
|
-
|
369
|
-
module Unparser::Adamantium::ClassMethods
|
370
|
-
def new(*_arg0); end
|
371
|
-
end
|
372
|
-
|
373
|
-
module Unparser::Adamantium::InstanceMethods
|
374
|
-
def dup; end
|
375
|
-
def freeze; end
|
376
|
-
|
377
|
-
private
|
378
|
-
|
379
|
-
def memoized_method_cache; end
|
380
|
-
end
|
381
|
-
|
382
|
-
class Unparser::Adamantium::Memory
|
383
|
-
def initialize(values); end
|
384
|
-
|
385
|
-
def fetch(name); end
|
386
|
-
end
|
387
|
-
|
388
|
-
class Unparser::Adamantium::MethodBuilder
|
389
|
-
def initialize(descendant, method_name); end
|
390
|
-
|
391
|
-
def call; end
|
392
|
-
|
393
|
-
private
|
394
|
-
|
395
|
-
def assert_arity(arity); end
|
396
|
-
def create_memoized_method; end
|
397
|
-
def remove_original_method; end
|
398
|
-
def set_method_visibility; end
|
399
|
-
def visibility; end
|
400
|
-
end
|
401
|
-
|
402
|
-
class Unparser::Adamantium::MethodBuilder::BlockNotAllowedError < ::ArgumentError
|
403
|
-
def initialize(descendant, method); end
|
404
|
-
end
|
405
|
-
|
406
|
-
class Unparser::Adamantium::MethodBuilder::InvalidArityError < ::ArgumentError
|
407
|
-
def initialize(descendant, method, arity); end
|
408
|
-
end
|
409
|
-
|
410
|
-
module Unparser::Adamantium::ModuleMethods
|
411
|
-
def memoize(*methods); end
|
412
|
-
def memoized?(method_name); end
|
413
|
-
def unmemoized_instance_method(method_name); end
|
414
|
-
|
415
|
-
private
|
416
|
-
|
417
|
-
def memoize_method(method_name); end
|
418
|
-
def memoized_methods; end
|
419
|
-
end
|
420
|
-
|
421
|
-
class Unparser::Anima < ::Module
|
422
|
-
include ::Unparser::Equalizer::Methods
|
423
|
-
include ::Unparser::Adamantium
|
424
|
-
include ::Unparser::Adamantium::InstanceMethods
|
425
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
426
|
-
extend ::Unparser::Adamantium::ClassMethods
|
427
|
-
|
428
|
-
def initialize(*names); end
|
429
|
-
|
430
|
-
def add(*names); end
|
431
|
-
def attribute_names(&block); end
|
432
|
-
def attributes; end
|
433
|
-
def attributes_hash(object); end
|
434
|
-
def initialize_instance(object, attribute_hash); end
|
435
|
-
def remove(*names); end
|
436
|
-
|
437
|
-
private
|
438
|
-
|
439
|
-
def assert_known_attributes(klass, attribute_hash); end
|
440
|
-
def included(descendant); end
|
441
|
-
def new(attributes); end
|
442
|
-
end
|
443
|
-
|
444
|
-
class Unparser::Anima::Attribute
|
445
|
-
include ::Unparser::Equalizer::Methods
|
446
|
-
include ::Unparser::Adamantium
|
447
|
-
include ::Unparser::Adamantium::InstanceMethods
|
448
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
449
|
-
extend ::Unparser::Adamantium::ClassMethods
|
450
|
-
|
451
|
-
def initialize(name); end
|
452
|
-
|
453
|
-
def get(object); end
|
454
|
-
def instance_variable_name; end
|
455
|
-
def load(object, attributes); end
|
456
|
-
def name; end
|
457
|
-
def set(object, value); end
|
458
|
-
end
|
459
|
-
|
460
|
-
class Unparser::Anima::Error < ::RuntimeError
|
461
|
-
def initialize(klass, missing, unknown); end
|
462
|
-
end
|
463
|
-
|
464
|
-
Unparser::Anima::Error::FORMAT = T.let(T.unsafe(nil), String)
|
465
|
-
|
466
|
-
module Unparser::Anima::InstanceMethods
|
467
|
-
def initialize(attributes); end
|
468
|
-
|
469
|
-
def to_h; end
|
470
|
-
def with(attributes); end
|
471
|
-
end
|
472
|
-
|
473
|
-
class Unparser::Buffer
|
474
|
-
def initialize; end
|
475
|
-
|
476
|
-
def append(string); end
|
477
|
-
def append_without_prefix(string); end
|
478
|
-
def capture_content; end
|
479
|
-
def content; end
|
480
|
-
def fresh_line?; end
|
481
|
-
def indent; end
|
482
|
-
def nl; end
|
483
|
-
def root_indent; end
|
484
|
-
def unindent; end
|
485
|
-
def write(fragment); end
|
486
|
-
|
487
|
-
private
|
488
|
-
|
489
|
-
def prefix; end
|
490
|
-
end
|
491
|
-
|
492
|
-
Unparser::Buffer::INDENT_SPACE = T.let(T.unsafe(nil), String)
|
493
|
-
Unparser::Buffer::NL = T.let(T.unsafe(nil), String)
|
494
|
-
|
495
|
-
class Unparser::Builder < ::Parser::Builders::Default
|
496
|
-
def initialize; end
|
497
|
-
end
|
498
|
-
|
499
|
-
class Unparser::CLI
|
500
|
-
def initialize(arguments); end
|
501
|
-
|
502
|
-
def add_options(builder); end
|
503
|
-
def exit_status; end
|
504
|
-
|
505
|
-
private
|
506
|
-
|
507
|
-
def effective_targets; end
|
508
|
-
def process_target(target); end
|
509
|
-
def targets(file_name); end
|
510
|
-
|
511
|
-
class << self
|
512
|
-
def run(*arguments); end
|
513
|
-
end
|
514
|
-
end
|
515
|
-
|
516
|
-
Unparser::CLI::EXIT_FAILURE = T.let(T.unsafe(nil), Integer)
|
517
|
-
Unparser::CLI::EXIT_SUCCESS = T.let(T.unsafe(nil), Integer)
|
518
|
-
|
519
|
-
class Unparser::CLI::Target
|
520
|
-
include ::Unparser::AbstractType
|
521
|
-
extend ::Unparser::AbstractType::AbstractMethodDeclarations
|
522
|
-
|
523
|
-
class << self
|
524
|
-
def new(*args, &block); end
|
525
|
-
end
|
526
|
-
end
|
527
|
-
|
528
|
-
class Unparser::CLI::Target::Path < ::Unparser::CLI::Target
|
529
|
-
include ::Unparser::Equalizer::Methods
|
530
|
-
|
531
|
-
def literal_validation; end
|
532
|
-
def validation; end
|
533
|
-
end
|
534
|
-
|
535
|
-
class Unparser::CLI::Target::String
|
536
|
-
include ::Unparser::Equalizer::Methods
|
537
|
-
|
538
|
-
def literal_validation; end
|
539
|
-
def validation; end
|
540
|
-
end
|
541
|
-
|
542
|
-
class Unparser::Color
|
543
|
-
include ::Unparser::Equalizer::Methods
|
544
|
-
include ::Unparser::Adamantium
|
545
|
-
include ::Unparser::Adamantium::InstanceMethods
|
546
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
547
|
-
extend ::Unparser::Adamantium::ClassMethods
|
548
|
-
|
549
|
-
def format(text); end
|
550
|
-
end
|
551
|
-
|
552
|
-
Unparser::Color::GREEN = T.let(T.unsafe(nil), Unparser::Color)
|
553
|
-
Unparser::Color::NONE = T.let(T.unsafe(nil), T.untyped)
|
554
|
-
Unparser::Color::RED = T.let(T.unsafe(nil), Unparser::Color)
|
555
|
-
|
556
|
-
class Unparser::Comments
|
557
|
-
def initialize(comments); end
|
558
|
-
|
559
|
-
def consume(node, source_part = T.unsafe(nil)); end
|
560
|
-
def source_range(*arguments); end
|
561
|
-
def take_all; end
|
562
|
-
def take_before(node, source_part); end
|
563
|
-
def take_eol_comments; end
|
564
|
-
|
565
|
-
private
|
566
|
-
|
567
|
-
def take_up_to_line(line); end
|
568
|
-
def take_while; end
|
569
|
-
def unshift_documents(comments); end
|
570
|
-
|
571
|
-
class << self
|
572
|
-
def source_range(node, part); end
|
573
|
-
end
|
574
|
-
end
|
575
|
-
|
576
|
-
class Unparser::Concord < ::Module
|
577
|
-
include ::Unparser::Equalizer::Methods
|
578
|
-
include ::Unparser::Adamantium
|
579
|
-
include ::Unparser::Adamantium::InstanceMethods
|
580
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
581
|
-
extend ::Unparser::Adamantium::ClassMethods
|
582
|
-
|
583
|
-
def initialize(*names); end
|
584
|
-
|
585
|
-
def names; end
|
586
|
-
|
587
|
-
private
|
588
|
-
|
589
|
-
def define_equalizer; end
|
590
|
-
def define_initialize; end
|
591
|
-
def define_readers; end
|
592
|
-
def instance_variable_names; end
|
593
|
-
end
|
594
|
-
|
595
|
-
Unparser::Concord::MAX_NR_OF_OBJECTS = T.let(T.unsafe(nil), Integer)
|
596
|
-
|
597
|
-
class Unparser::Concord::Public < ::Unparser::Concord
|
598
|
-
def included(descendant); end
|
599
|
-
end
|
600
|
-
|
601
|
-
module Unparser::Constants; end
|
602
|
-
Unparser::Constants::BINARY_OPERATORS = T.let(T.unsafe(nil), Set)
|
603
|
-
Unparser::Constants::KEYWORDS = T.let(T.unsafe(nil), Set)
|
604
|
-
Unparser::Constants::K_ALIAS = T.let(T.unsafe(nil), String)
|
605
|
-
Unparser::Constants::K_AND = T.let(T.unsafe(nil), String)
|
606
|
-
Unparser::Constants::K_BEGIN = T.let(T.unsafe(nil), String)
|
607
|
-
Unparser::Constants::K_BREAK = T.let(T.unsafe(nil), String)
|
608
|
-
Unparser::Constants::K_CASE = T.let(T.unsafe(nil), String)
|
609
|
-
Unparser::Constants::K_CLASS = T.let(T.unsafe(nil), String)
|
610
|
-
Unparser::Constants::K_DEF = T.let(T.unsafe(nil), String)
|
611
|
-
Unparser::Constants::K_DEFINE = T.let(T.unsafe(nil), String)
|
612
|
-
Unparser::Constants::K_DEFINED = T.let(T.unsafe(nil), String)
|
613
|
-
Unparser::Constants::K_DO = T.let(T.unsafe(nil), String)
|
614
|
-
Unparser::Constants::K_EEND = T.let(T.unsafe(nil), String)
|
615
|
-
Unparser::Constants::K_ELSE = T.let(T.unsafe(nil), String)
|
616
|
-
Unparser::Constants::K_ELSIF = T.let(T.unsafe(nil), String)
|
617
|
-
Unparser::Constants::K_ENCODING = T.let(T.unsafe(nil), String)
|
618
|
-
Unparser::Constants::K_END = T.let(T.unsafe(nil), String)
|
619
|
-
Unparser::Constants::K_ENSURE = T.let(T.unsafe(nil), String)
|
620
|
-
Unparser::Constants::K_FALSE = T.let(T.unsafe(nil), String)
|
621
|
-
Unparser::Constants::K_FILE = T.let(T.unsafe(nil), String)
|
622
|
-
Unparser::Constants::K_FOR = T.let(T.unsafe(nil), String)
|
623
|
-
Unparser::Constants::K_IF = T.let(T.unsafe(nil), String)
|
624
|
-
Unparser::Constants::K_IN = T.let(T.unsafe(nil), String)
|
625
|
-
Unparser::Constants::K_MODULE = T.let(T.unsafe(nil), String)
|
626
|
-
Unparser::Constants::K_NEXT = T.let(T.unsafe(nil), String)
|
627
|
-
Unparser::Constants::K_NIL = T.let(T.unsafe(nil), String)
|
628
|
-
Unparser::Constants::K_NOT = T.let(T.unsafe(nil), String)
|
629
|
-
Unparser::Constants::K_OR = T.let(T.unsafe(nil), String)
|
630
|
-
Unparser::Constants::K_POSTEXE = T.let(T.unsafe(nil), String)
|
631
|
-
Unparser::Constants::K_PREEXE = T.let(T.unsafe(nil), String)
|
632
|
-
Unparser::Constants::K_REDO = T.let(T.unsafe(nil), String)
|
633
|
-
Unparser::Constants::K_RESCUE = T.let(T.unsafe(nil), String)
|
634
|
-
Unparser::Constants::K_RETRY = T.let(T.unsafe(nil), String)
|
635
|
-
Unparser::Constants::K_RETURN = T.let(T.unsafe(nil), String)
|
636
|
-
Unparser::Constants::K_SELF = T.let(T.unsafe(nil), String)
|
637
|
-
Unparser::Constants::K_SUPER = T.let(T.unsafe(nil), String)
|
638
|
-
Unparser::Constants::K_THEN = T.let(T.unsafe(nil), String)
|
639
|
-
Unparser::Constants::K_TRUE = T.let(T.unsafe(nil), String)
|
640
|
-
Unparser::Constants::K_UNDEF = T.let(T.unsafe(nil), String)
|
641
|
-
Unparser::Constants::K_UNLESS = T.let(T.unsafe(nil), String)
|
642
|
-
Unparser::Constants::K_UNTIL = T.let(T.unsafe(nil), String)
|
643
|
-
Unparser::Constants::K_WHEN = T.let(T.unsafe(nil), String)
|
644
|
-
Unparser::Constants::K_WHILE = T.let(T.unsafe(nil), String)
|
645
|
-
Unparser::Constants::K_YIELD = T.let(T.unsafe(nil), String)
|
646
|
-
Unparser::Constants::UNARY_OPERATORS = T.let(T.unsafe(nil), Set)
|
647
|
-
|
648
|
-
module Unparser::DSL
|
649
|
-
private
|
650
|
-
|
651
|
-
def children(*names); end
|
652
|
-
def define_child(name, index); end
|
653
|
-
def define_group(name, range); end
|
654
|
-
def define_remaining_children(names); end
|
655
|
-
end
|
656
|
-
|
657
|
-
class Unparser::Diff
|
658
|
-
include ::Unparser::Equalizer::Methods
|
659
|
-
include ::Unparser::Adamantium
|
660
|
-
include ::Unparser::Adamantium::InstanceMethods
|
661
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
662
|
-
extend ::Unparser::Adamantium::ClassMethods
|
663
|
-
|
664
|
-
def colorized_diff(&block); end
|
665
|
-
def diff(&block); end
|
666
|
-
|
667
|
-
private
|
668
|
-
|
669
|
-
def diffs; end
|
670
|
-
def hunks; end
|
671
|
-
def max_length; end
|
672
|
-
def minimized_hunk; end
|
673
|
-
|
674
|
-
class << self
|
675
|
-
def build(old, new); end
|
676
|
-
|
677
|
-
private
|
678
|
-
|
679
|
-
def colorize_line(line); end
|
680
|
-
def lines(source); end
|
681
|
-
end
|
682
|
-
end
|
683
|
-
|
684
|
-
Unparser::Diff::ADDITION = T.let(T.unsafe(nil), String)
|
685
|
-
Unparser::Diff::DELETION = T.let(T.unsafe(nil), String)
|
686
|
-
Unparser::Diff::NEWLINE = T.let(T.unsafe(nil), String)
|
687
|
-
Unparser::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
|
688
|
-
Unparser::EMPTY_STRING = T.let(T.unsafe(nil), String)
|
689
|
-
|
690
|
-
class Unparser::Either
|
691
|
-
include ::Unparser::RequireBlock
|
692
|
-
include ::Unparser::Equalizer::Methods
|
693
|
-
include ::Unparser::Adamantium
|
694
|
-
include ::Unparser::Adamantium::InstanceMethods
|
695
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
696
|
-
extend ::Unparser::Adamantium::ClassMethods
|
697
|
-
|
698
|
-
def left?; end
|
699
|
-
def right?; end
|
700
|
-
|
701
|
-
class << self
|
702
|
-
def wrap_error(*exceptions); end
|
703
|
-
end
|
704
|
-
end
|
705
|
-
|
706
|
-
class Unparser::Either::Left < ::Unparser::Either
|
707
|
-
def bind(&block); end
|
708
|
-
def either(left, _right); end
|
709
|
-
def fmap(&block); end
|
710
|
-
def from_left; end
|
711
|
-
def from_right; end
|
712
|
-
def lmap; end
|
713
|
-
end
|
714
|
-
|
715
|
-
class Unparser::Either::Right < ::Unparser::Either
|
716
|
-
def bind; end
|
717
|
-
def either(_left, right); end
|
718
|
-
def fmap; end
|
719
|
-
def from_left; end
|
720
|
-
def from_right; end
|
721
|
-
def lmap(&block); end
|
722
|
-
end
|
723
|
-
|
724
|
-
class Unparser::Emitter
|
725
|
-
extend ::Unparser::DSL
|
726
|
-
include ::Unparser::Generation
|
727
|
-
include ::Unparser::Constants
|
728
|
-
include ::Unparser::AbstractType
|
729
|
-
include ::Unparser::Adamantium
|
730
|
-
include ::Unparser::Adamantium::InstanceMethods
|
731
|
-
include ::Unparser::Anima::InstanceMethods
|
732
|
-
include ::Unparser::Equalizer::Methods
|
733
|
-
extend ::Unparser::AbstractType::AbstractMethodDeclarations
|
734
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
735
|
-
extend ::Unparser::Adamantium::ClassMethods
|
736
|
-
include ::Unparser::NodeHelpers
|
737
|
-
|
738
|
-
def buffer; end
|
739
|
-
def comments; end
|
740
|
-
def dispatch(*_arg0); end
|
741
|
-
def emit_mlhs; end
|
742
|
-
def local_variable_scope; end
|
743
|
-
def node; end
|
744
|
-
def node_type; end
|
745
|
-
|
746
|
-
class << self
|
747
|
-
def anima; end
|
748
|
-
def emitter(buffer:, comments:, node:, local_variable_scope:); end
|
749
|
-
def new(*args, &block); end
|
750
|
-
|
751
|
-
private
|
752
|
-
|
753
|
-
def handle(*types); end
|
754
|
-
end
|
755
|
-
end
|
756
|
-
|
757
|
-
class Unparser::Emitter::Alias < ::Unparser::Emitter
|
758
|
-
private
|
759
|
-
|
760
|
-
def dispatch; end
|
761
|
-
def remaining_children; end
|
762
|
-
def source; end
|
763
|
-
def target; end
|
764
|
-
end
|
765
|
-
|
766
|
-
class Unparser::Emitter::Args < ::Unparser::Emitter
|
767
|
-
def emit_block_arguments; end
|
768
|
-
def emit_def_arguments; end
|
769
|
-
def emit_lambda_arguments; end
|
770
|
-
|
771
|
-
private
|
772
|
-
|
773
|
-
def emit_shadowargs; end
|
774
|
-
def normal_arguments(&block); end
|
775
|
-
def shadowargs(&block); end
|
776
|
-
end
|
777
|
-
|
778
|
-
class Unparser::Emitter::Argument < ::Unparser::Emitter
|
779
|
-
private
|
780
|
-
|
781
|
-
def dispatch; end
|
782
|
-
def name; end
|
783
|
-
def remaining_children; end
|
784
|
-
end
|
785
|
-
|
786
|
-
class Unparser::Emitter::Array < ::Unparser::Emitter
|
787
|
-
def emit_heredoc_reminders; end
|
788
|
-
|
789
|
-
private
|
790
|
-
|
791
|
-
def dispatch; end
|
792
|
-
def emitters(&block); end
|
793
|
-
end
|
794
|
-
|
795
|
-
class Unparser::Emitter::ArrayPattern < ::Unparser::Emitter
|
796
|
-
private
|
797
|
-
|
798
|
-
def dispatch; end
|
799
|
-
def emit_member(node); end
|
800
|
-
end
|
801
|
-
|
802
|
-
class Unparser::Emitter::Assignment < ::Unparser::Emitter
|
803
|
-
def emit_heredoc_reminders; end
|
804
|
-
def emit_left(*_arg0); end
|
805
|
-
def symbol_name; end
|
806
|
-
|
807
|
-
private
|
808
|
-
|
809
|
-
def dispatch; end
|
810
|
-
def emit_right; end
|
811
|
-
end
|
812
|
-
|
813
|
-
Unparser::Emitter::Assignment::BINARY_OPERATOR = T.let(T.unsafe(nil), Array)
|
814
|
-
|
815
|
-
class Unparser::Emitter::Assignment::Constant < ::Unparser::Emitter::Assignment
|
816
|
-
private
|
817
|
-
|
818
|
-
def base; end
|
819
|
-
def emit_left; end
|
820
|
-
def name; end
|
821
|
-
def remaining_children; end
|
822
|
-
def right; end
|
823
|
-
end
|
824
|
-
|
825
|
-
class Unparser::Emitter::Assignment::Variable < ::Unparser::Emitter::Assignment
|
826
|
-
private
|
827
|
-
|
828
|
-
def emit_left; end
|
829
|
-
def name; end
|
830
|
-
def remaining_children; end
|
831
|
-
def right; end
|
832
|
-
end
|
833
|
-
|
834
|
-
class Unparser::Emitter::Begin < ::Unparser::Emitter
|
835
|
-
def emit_heredoc_reminders; end
|
836
|
-
|
837
|
-
private
|
838
|
-
|
839
|
-
def body; end
|
840
|
-
def dispatch; end
|
841
|
-
def remaining_children; end
|
842
|
-
end
|
843
|
-
|
844
|
-
class Unparser::Emitter::Binary < ::Unparser::Emitter
|
845
|
-
private
|
846
|
-
|
847
|
-
def dispatch; end
|
848
|
-
def writer(&block); end
|
849
|
-
end
|
850
|
-
|
851
|
-
class Unparser::Emitter::BinaryAssign < ::Unparser::Emitter
|
852
|
-
def emit_heredoc_reminders; end
|
853
|
-
|
854
|
-
private
|
855
|
-
|
856
|
-
def dispatch; end
|
857
|
-
def expression; end
|
858
|
-
def remaining_children; end
|
859
|
-
def target; end
|
860
|
-
end
|
861
|
-
|
862
|
-
Unparser::Emitter::BinaryAssign::MAP = T.let(T.unsafe(nil), Hash)
|
863
|
-
|
864
|
-
class Unparser::Emitter::Block < ::Unparser::Emitter
|
865
|
-
private
|
866
|
-
|
867
|
-
def arguments; end
|
868
|
-
def body; end
|
869
|
-
def dispatch; end
|
870
|
-
def emit_block_arguments; end
|
871
|
-
def emit_lambda_arguments; end
|
872
|
-
def emit_send_target; end
|
873
|
-
def emit_target; end
|
874
|
-
def need_do?; end
|
875
|
-
def numblock?; end
|
876
|
-
def remaining_children; end
|
877
|
-
def target; end
|
878
|
-
def target_writer(&block); end
|
879
|
-
def write_close; end
|
880
|
-
def write_open; end
|
881
|
-
end
|
882
|
-
|
883
|
-
class Unparser::Emitter::BlockPass < ::Unparser::Emitter
|
884
|
-
private
|
885
|
-
|
886
|
-
def dispatch; end
|
887
|
-
def name; end
|
888
|
-
def remaining_children; end
|
889
|
-
end
|
890
|
-
|
891
|
-
class Unparser::Emitter::CBase < ::Unparser::Emitter
|
892
|
-
private
|
893
|
-
|
894
|
-
def dispatch; end
|
895
|
-
end
|
896
|
-
|
897
|
-
class Unparser::Emitter::Case < ::Unparser::Emitter
|
898
|
-
private
|
899
|
-
|
900
|
-
def condition; end
|
901
|
-
def dispatch; end
|
902
|
-
def emit_condition; end
|
903
|
-
def emit_else; end
|
904
|
-
def emit_whens; end
|
905
|
-
def remaining_children; end
|
906
|
-
def whens(&block); end
|
907
|
-
end
|
908
|
-
|
909
|
-
class Unparser::Emitter::CaseGuard < ::Unparser::Emitter
|
910
|
-
private
|
911
|
-
|
912
|
-
def condition; end
|
913
|
-
def dispatch; end
|
914
|
-
def remaining_children; end
|
915
|
-
end
|
916
|
-
|
917
|
-
Unparser::Emitter::CaseGuard::MAP = T.let(T.unsafe(nil), Hash)
|
918
|
-
|
919
|
-
class Unparser::Emitter::CaseMatch < ::Unparser::Emitter
|
920
|
-
private
|
921
|
-
|
922
|
-
def dispatch; end
|
923
|
-
def else_branch; end
|
924
|
-
def emit_else_branch; end
|
925
|
-
def patterns(&block); end
|
926
|
-
def remaining_children; end
|
927
|
-
def target; end
|
928
|
-
end
|
929
|
-
|
930
|
-
class Unparser::Emitter::Class < ::Unparser::Emitter
|
931
|
-
include ::Unparser::Emitter::LocalVariableRoot
|
932
|
-
|
933
|
-
def local_variable_scope(&block); end
|
934
|
-
|
935
|
-
private
|
936
|
-
|
937
|
-
def body; end
|
938
|
-
def dispatch; end
|
939
|
-
def emit_superclass; end
|
940
|
-
def name; end
|
941
|
-
def remaining_children; end
|
942
|
-
def superclass; end
|
943
|
-
end
|
944
|
-
|
945
|
-
class Unparser::Emitter::Const < ::Unparser::Emitter
|
946
|
-
private
|
947
|
-
|
948
|
-
def dispatch; end
|
949
|
-
def emit_scope; end
|
950
|
-
def name; end
|
951
|
-
def remaining_children; end
|
952
|
-
def scope; end
|
953
|
-
end
|
954
|
-
|
955
|
-
class Unparser::Emitter::ConstPattern < ::Unparser::Emitter
|
956
|
-
private
|
957
|
-
|
958
|
-
def const; end
|
959
|
-
def dispatch; end
|
960
|
-
def pattern; end
|
961
|
-
def remaining_children; end
|
962
|
-
end
|
963
|
-
|
964
|
-
class Unparser::Emitter::DStr < ::Unparser::Emitter
|
965
|
-
def emit_heredoc_reminders; end
|
966
|
-
|
967
|
-
private
|
968
|
-
|
969
|
-
def dispatch; end
|
970
|
-
end
|
971
|
-
|
972
|
-
class Unparser::Emitter::DSym < ::Unparser::Emitter
|
973
|
-
private
|
974
|
-
|
975
|
-
def dispatch; end
|
976
|
-
def emit_begin_child(component); end
|
977
|
-
def emit_str_child(value); end
|
978
|
-
end
|
979
|
-
|
980
|
-
class Unparser::Emitter::Def < ::Unparser::Emitter
|
981
|
-
include ::Unparser::Emitter::LocalVariableRoot
|
982
|
-
|
983
|
-
def local_variable_scope(&block); end
|
984
|
-
|
985
|
-
private
|
986
|
-
|
987
|
-
def body(*_arg0); end
|
988
|
-
def dispatch; end
|
989
|
-
def emit_arguments; end
|
990
|
-
def emit_name(*_arg0); end
|
991
|
-
end
|
992
|
-
|
993
|
-
class Unparser::Emitter::Def::Instance < ::Unparser::Emitter::Def
|
994
|
-
private
|
995
|
-
|
996
|
-
def arguments; end
|
997
|
-
def body; end
|
998
|
-
def emit_name; end
|
999
|
-
def name; end
|
1000
|
-
def remaining_children; end
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
class Unparser::Emitter::Def::Singleton < ::Unparser::Emitter::Def
|
1004
|
-
private
|
1005
|
-
|
1006
|
-
def arguments; end
|
1007
|
-
def body; end
|
1008
|
-
def emit_name; end
|
1009
|
-
def name; end
|
1010
|
-
def remaining_children; end
|
1011
|
-
def subject; end
|
1012
|
-
def subject_without_parens?; end
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
class Unparser::Emitter::Defined < ::Unparser::Emitter
|
1016
|
-
private
|
1017
|
-
|
1018
|
-
def dispatch; end
|
1019
|
-
def remaining_children; end
|
1020
|
-
def subject; end
|
1021
|
-
end
|
1022
|
-
|
1023
|
-
class Unparser::Emitter::FlipFlop < ::Unparser::Emitter
|
1024
|
-
def symbol_name; end
|
1025
|
-
|
1026
|
-
private
|
1027
|
-
|
1028
|
-
def dispatch; end
|
1029
|
-
def left; end
|
1030
|
-
def remaining_children; end
|
1031
|
-
def right; end
|
1032
|
-
end
|
1033
|
-
|
1034
|
-
Unparser::Emitter::FlipFlop::MAP = T.let(T.unsafe(nil), Hash)
|
1035
|
-
Unparser::Emitter::FlipFlop::SYMBOLS = T.let(T.unsafe(nil), Hash)
|
1036
|
-
|
1037
|
-
class Unparser::Emitter::Float < ::Unparser::Emitter
|
1038
|
-
private
|
1039
|
-
|
1040
|
-
def dispatch; end
|
1041
|
-
def remaining_children; end
|
1042
|
-
def value; end
|
1043
|
-
end
|
1044
|
-
|
1045
|
-
Unparser::Emitter::Float::INFINITY = T.let(T.unsafe(nil), Float)
|
1046
|
-
Unparser::Emitter::Float::NEG_INFINITY = T.let(T.unsafe(nil), Float)
|
1047
|
-
|
1048
|
-
class Unparser::Emitter::FlowModifier < ::Unparser::Emitter
|
1049
|
-
def emit_heredoc_reminders; end
|
1050
|
-
|
1051
|
-
private
|
1052
|
-
|
1053
|
-
def dispatch; end
|
1054
|
-
def emit_arguments; end
|
1055
|
-
end
|
1056
|
-
|
1057
|
-
Unparser::Emitter::FlowModifier::MAP = T.let(T.unsafe(nil), Hash)
|
1058
|
-
|
1059
|
-
class Unparser::Emitter::For < ::Unparser::Emitter
|
1060
|
-
private
|
1061
|
-
|
1062
|
-
def assignment; end
|
1063
|
-
def body; end
|
1064
|
-
def condition; end
|
1065
|
-
def dispatch; end
|
1066
|
-
def emit_condition; end
|
1067
|
-
def remaining_children; end
|
1068
|
-
end
|
1069
|
-
|
1070
|
-
class Unparser::Emitter::Hash < ::Unparser::Emitter
|
1071
|
-
def emit_heredoc_reminders; end
|
1072
|
-
def emit_last_argument_hash; end
|
1073
|
-
|
1074
|
-
private
|
1075
|
-
|
1076
|
-
def dispatch; end
|
1077
|
-
def emit_hash_body; end
|
1078
|
-
def emit_heredoc_reminder_member(node); end
|
1079
|
-
end
|
1080
|
-
|
1081
|
-
class Unparser::Emitter::HashPattern < ::Unparser::Emitter
|
1082
|
-
def emit_const_pattern; end
|
1083
|
-
|
1084
|
-
private
|
1085
|
-
|
1086
|
-
def dispatch; end
|
1087
|
-
def emit_hash_body; end
|
1088
|
-
def emit_match_var(node); end
|
1089
|
-
def emit_member(node); end
|
1090
|
-
def emit_pair(node); end
|
1091
|
-
def write_symbol_body(symbol); end
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
class Unparser::Emitter::Hookexe < ::Unparser::Emitter
|
1095
|
-
private
|
1096
|
-
|
1097
|
-
def body; end
|
1098
|
-
def dispatch; end
|
1099
|
-
def remaining_children; end
|
1100
|
-
end
|
1101
|
-
|
1102
|
-
Unparser::Emitter::Hookexe::MAP = T.let(T.unsafe(nil), Hash)
|
1103
|
-
|
1104
|
-
class Unparser::Emitter::If < ::Unparser::Emitter
|
1105
|
-
def emit_ternary; end
|
1106
|
-
|
1107
|
-
private
|
1108
|
-
|
1109
|
-
def condition; end
|
1110
|
-
def dispatch; end
|
1111
|
-
def else_branch; end
|
1112
|
-
def emit_condition; end
|
1113
|
-
def emit_else_branch; end
|
1114
|
-
def emit_if_branch; end
|
1115
|
-
def emit_normal; end
|
1116
|
-
def emit_postcondition; end
|
1117
|
-
def if_branch; end
|
1118
|
-
def keyword; end
|
1119
|
-
def postcondition?; end
|
1120
|
-
def remaining_children; end
|
1121
|
-
def unless?; end
|
1122
|
-
end
|
1123
|
-
|
1124
|
-
class Unparser::Emitter::InMatch < ::Unparser::Emitter
|
1125
|
-
private
|
1126
|
-
|
1127
|
-
def dispatch; end
|
1128
|
-
def pattern; end
|
1129
|
-
def remaining_children; end
|
1130
|
-
def target; end
|
1131
|
-
end
|
1132
|
-
|
1133
|
-
class Unparser::Emitter::InPattern < ::Unparser::Emitter
|
1134
|
-
private
|
1135
|
-
|
1136
|
-
def branch; end
|
1137
|
-
def dispatch; end
|
1138
|
-
def else_branch; end
|
1139
|
-
def remaining_children; end
|
1140
|
-
def target; end
|
1141
|
-
def unless_guard; end
|
1142
|
-
end
|
1143
|
-
|
1144
|
-
class Unparser::Emitter::Index < ::Unparser::Emitter
|
1145
|
-
private
|
1146
|
-
|
1147
|
-
def dispatch; end
|
1148
|
-
def emit_receiver; end
|
1149
|
-
end
|
1150
|
-
|
1151
|
-
class Unparser::Emitter::Index::Assign < ::Unparser::Emitter::Index
|
1152
|
-
def dispatch; end
|
1153
|
-
def emit_heredoc_reminders; end
|
1154
|
-
def emit_mlhs; end
|
1155
|
-
|
1156
|
-
private
|
1157
|
-
|
1158
|
-
def emit_operation(indices); end
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
Unparser::Emitter::Index::Assign::NO_VALUE_PARENT = T.let(T.unsafe(nil), Set)
|
1162
|
-
Unparser::Emitter::Index::Assign::VALUE_RANGE = T.let(T.unsafe(nil), Range)
|
1163
|
-
|
1164
|
-
class Unparser::Emitter::Index::Reference < ::Unparser::Emitter::Index
|
1165
|
-
private
|
1166
|
-
|
1167
|
-
def emit_operation; end
|
1168
|
-
def indices(&block); end
|
1169
|
-
end
|
1170
|
-
|
1171
|
-
class Unparser::Emitter::KWBegin < ::Unparser::Emitter
|
1172
|
-
private
|
1173
|
-
|
1174
|
-
def dispatch; end
|
1175
|
-
def emit_multiple_body; end
|
1176
|
-
end
|
1177
|
-
|
1178
|
-
class Unparser::Emitter::KeywordOptional < ::Unparser::Emitter
|
1179
|
-
private
|
1180
|
-
|
1181
|
-
def dispatch; end
|
1182
|
-
def name; end
|
1183
|
-
def remaining_children; end
|
1184
|
-
def value; end
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
class Unparser::Emitter::KwSplat < ::Unparser::Emitter
|
1188
|
-
private
|
1189
|
-
|
1190
|
-
def dispatch; end
|
1191
|
-
def remaining_children; end
|
1192
|
-
def subject; end
|
1193
|
-
end
|
1194
|
-
|
1195
|
-
class Unparser::Emitter::Kwarg < ::Unparser::Emitter
|
1196
|
-
private
|
1197
|
-
|
1198
|
-
def dispatch; end
|
1199
|
-
def name; end
|
1200
|
-
def remaining_children; end
|
1201
|
-
end
|
1202
|
-
|
1203
|
-
class Unparser::Emitter::Kwargs < ::Unparser::Emitter
|
1204
|
-
def dispatch; end
|
1205
|
-
end
|
1206
|
-
|
1207
|
-
class Unparser::Emitter::Lambda < ::Unparser::Emitter
|
1208
|
-
private
|
1209
|
-
|
1210
|
-
def dispatch; end
|
1211
|
-
end
|
1212
|
-
|
1213
|
-
module Unparser::Emitter::LocalVariableRoot
|
1214
|
-
def local_variable_scope; end
|
1215
|
-
|
1216
|
-
class << self
|
1217
|
-
def included(descendant); end
|
1218
|
-
end
|
1219
|
-
end
|
1220
|
-
|
1221
|
-
class Unparser::Emitter::MASGN < ::Unparser::Emitter
|
1222
|
-
private
|
1223
|
-
|
1224
|
-
def dispatch; end
|
1225
|
-
def remaining_children; end
|
1226
|
-
def source; end
|
1227
|
-
def target; end
|
1228
|
-
end
|
1229
|
-
|
1230
|
-
class Unparser::Emitter::MLHS < ::Unparser::Emitter
|
1231
|
-
private
|
1232
|
-
|
1233
|
-
def dispatch; end
|
1234
|
-
def emit_many; end
|
1235
|
-
def emit_one_child_mlhs; end
|
1236
|
-
end
|
1237
|
-
|
1238
|
-
Unparser::Emitter::MLHS::NO_COMMA = T.let(T.unsafe(nil), Array)
|
1239
|
-
class Unparser::Emitter::Match < ::Unparser::Emitter; end
|
1240
|
-
|
1241
|
-
class Unparser::Emitter::Match::CurrentLine < ::Unparser::Emitter::Match
|
1242
|
-
private
|
1243
|
-
|
1244
|
-
def dispatch; end
|
1245
|
-
def regexp; end
|
1246
|
-
def remaining_children; end
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
class Unparser::Emitter::Match::Lvasgn < ::Unparser::Emitter::Match
|
1250
|
-
private
|
1251
|
-
|
1252
|
-
def dispatch; end
|
1253
|
-
def lvasgn; end
|
1254
|
-
def regexp; end
|
1255
|
-
def remaining_children; end
|
1256
|
-
end
|
1257
|
-
|
1258
|
-
class Unparser::Emitter::MatchAlt < ::Unparser::Emitter
|
1259
|
-
private
|
1260
|
-
|
1261
|
-
def dispatch; end
|
1262
|
-
def left; end
|
1263
|
-
def remaining_children; end
|
1264
|
-
def right; end
|
1265
|
-
end
|
1266
|
-
|
1267
|
-
class Unparser::Emitter::MatchAs < ::Unparser::Emitter
|
1268
|
-
private
|
1269
|
-
|
1270
|
-
def dispatch; end
|
1271
|
-
def left; end
|
1272
|
-
def remaining_children; end
|
1273
|
-
def right; end
|
1274
|
-
end
|
1275
|
-
|
1276
|
-
class Unparser::Emitter::MatchPattern < ::Unparser::Emitter
|
1277
|
-
private
|
1278
|
-
|
1279
|
-
def dispatch; end
|
1280
|
-
def pattern; end
|
1281
|
-
def remaining_children; end
|
1282
|
-
def target; end
|
1283
|
-
end
|
1284
|
-
|
1285
|
-
class Unparser::Emitter::MatchRest < ::Unparser::Emitter
|
1286
|
-
def emit_array_pattern; end
|
1287
|
-
def emit_hash_pattern; end
|
1288
|
-
|
1289
|
-
private
|
1290
|
-
|
1291
|
-
def emit_match_var; end
|
1292
|
-
def match_var; end
|
1293
|
-
def remaining_children; end
|
1294
|
-
end
|
1295
|
-
|
1296
|
-
class Unparser::Emitter::MatchVar < ::Unparser::Emitter
|
1297
|
-
private
|
1298
|
-
|
1299
|
-
def dispatch; end
|
1300
|
-
def name; end
|
1301
|
-
def remaining_children; end
|
1302
|
-
end
|
1303
|
-
|
1304
|
-
class Unparser::Emitter::Module < ::Unparser::Emitter
|
1305
|
-
include ::Unparser::Emitter::LocalVariableRoot
|
1306
|
-
|
1307
|
-
def local_variable_scope(&block); end
|
1308
|
-
|
1309
|
-
private
|
1310
|
-
|
1311
|
-
def body; end
|
1312
|
-
def dispatch; end
|
1313
|
-
def name; end
|
1314
|
-
def remaining_children; end
|
1315
|
-
end
|
1316
|
-
|
1317
|
-
class Unparser::Emitter::Morearg < ::Unparser::Emitter
|
1318
|
-
private
|
1319
|
-
|
1320
|
-
def dispatch; end
|
1321
|
-
def name; end
|
1322
|
-
def remaining_children; end
|
1323
|
-
end
|
1324
|
-
|
1325
|
-
Unparser::Emitter::Morearg::MAP = T.let(T.unsafe(nil), Hash)
|
1326
|
-
Unparser::Emitter::NO_INDENT = T.let(T.unsafe(nil), Array)
|
1327
|
-
|
1328
|
-
class Unparser::Emitter::NthRef < ::Unparser::Emitter
|
1329
|
-
private
|
1330
|
-
|
1331
|
-
def dispatch; end
|
1332
|
-
def name; end
|
1333
|
-
def remaining_children; end
|
1334
|
-
end
|
1335
|
-
|
1336
|
-
Unparser::Emitter::NthRef::PREFIX = T.let(T.unsafe(nil), String)
|
1337
|
-
|
1338
|
-
class Unparser::Emitter::OpAssign < ::Unparser::Emitter
|
1339
|
-
private
|
1340
|
-
|
1341
|
-
def dispatch; end
|
1342
|
-
def emit_operator; end
|
1343
|
-
def operator; end
|
1344
|
-
def remaining_children; end
|
1345
|
-
def target; end
|
1346
|
-
def value; end
|
1347
|
-
end
|
1348
|
-
|
1349
|
-
class Unparser::Emitter::Optarg < ::Unparser::Emitter
|
1350
|
-
private
|
1351
|
-
|
1352
|
-
def dispatch; end
|
1353
|
-
def name; end
|
1354
|
-
def remaining_children; end
|
1355
|
-
def value; end
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
class Unparser::Emitter::Pair < ::Unparser::Emitter
|
1359
|
-
private
|
1360
|
-
|
1361
|
-
def colon?(key); end
|
1362
|
-
def dispatch; end
|
1363
|
-
def key; end
|
1364
|
-
def remaining_children; end
|
1365
|
-
def value; end
|
1366
|
-
end
|
1367
|
-
|
1368
|
-
Unparser::Emitter::Pair::BAREWORD = T.let(T.unsafe(nil), Regexp)
|
1369
|
-
|
1370
|
-
class Unparser::Emitter::Pin < ::Unparser::Emitter
|
1371
|
-
private
|
1372
|
-
|
1373
|
-
def dispatch; end
|
1374
|
-
def remaining_children; end
|
1375
|
-
def target; end
|
1376
|
-
end
|
1377
|
-
|
1378
|
-
class Unparser::Emitter::Post < ::Unparser::Emitter
|
1379
|
-
private
|
1380
|
-
|
1381
|
-
def body; end
|
1382
|
-
def condition; end
|
1383
|
-
def dispatch; end
|
1384
|
-
def remaining_children; end
|
1385
|
-
end
|
1386
|
-
|
1387
|
-
Unparser::Emitter::Post::MAP = T.let(T.unsafe(nil), Hash)
|
1388
|
-
|
1389
|
-
class Unparser::Emitter::Primitive < ::Unparser::Emitter
|
1390
|
-
private
|
1391
|
-
|
1392
|
-
def remaining_children; end
|
1393
|
-
def value; end
|
1394
|
-
end
|
1395
|
-
|
1396
|
-
class Unparser::Emitter::Primitive::Complex < ::Unparser::Emitter::Primitive
|
1397
|
-
private
|
1398
|
-
|
1399
|
-
def dispatch; end
|
1400
|
-
def emit_imaginary; end
|
1401
|
-
def imaginary_node; end
|
1402
|
-
end
|
1403
|
-
|
1404
|
-
Unparser::Emitter::Primitive::Complex::MAP = T.let(T.unsafe(nil), Hash)
|
1405
|
-
Unparser::Emitter::Primitive::Complex::RATIONAL_FORMAT = T.let(T.unsafe(nil), String)
|
1406
|
-
|
1407
|
-
class Unparser::Emitter::Primitive::Inspect < ::Unparser::Emitter::Primitive
|
1408
|
-
private
|
1409
|
-
|
1410
|
-
def dispatch; end
|
1411
|
-
end
|
1412
|
-
|
1413
|
-
class Unparser::Emitter::Primitive::Numeric < ::Unparser::Emitter::Primitive
|
1414
|
-
private
|
1415
|
-
|
1416
|
-
def dispatch; end
|
1417
|
-
end
|
1418
|
-
|
1419
|
-
class Unparser::Emitter::Primitive::Rational < ::Unparser::Emitter::Primitive
|
1420
|
-
private
|
1421
|
-
|
1422
|
-
def dispatch; end
|
1423
|
-
def write_rational(value); end
|
1424
|
-
end
|
1425
|
-
|
1426
|
-
Unparser::Emitter::Primitive::Rational::RATIONAL_FORMAT = T.let(T.unsafe(nil), String)
|
1427
|
-
|
1428
|
-
class Unparser::Emitter::Procarg < ::Unparser::Emitter
|
1429
|
-
private
|
1430
|
-
|
1431
|
-
def dispatch; end
|
1432
|
-
def needs_parens?; end
|
1433
|
-
end
|
1434
|
-
|
1435
|
-
Unparser::Emitter::Procarg::PARENS = T.let(T.unsafe(nil), Array)
|
1436
|
-
Unparser::Emitter::REGISTRY = T.let(T.unsafe(nil), Hash)
|
1437
|
-
|
1438
|
-
class Unparser::Emitter::Range < ::Unparser::Emitter
|
1439
|
-
def symbol_name; end
|
1440
|
-
|
1441
|
-
private
|
1442
|
-
|
1443
|
-
def begin_node; end
|
1444
|
-
def dispatch; end
|
1445
|
-
def end_node; end
|
1446
|
-
def remaining_children; end
|
1447
|
-
end
|
1448
|
-
|
1449
|
-
Unparser::Emitter::Range::SYMBOLS = T.let(T.unsafe(nil), Hash)
|
1450
|
-
Unparser::Emitter::Range::TOKENS = T.let(T.unsafe(nil), Hash)
|
1451
|
-
|
1452
|
-
class Unparser::Emitter::Regexp < ::Unparser::Emitter
|
1453
|
-
private
|
1454
|
-
|
1455
|
-
def body(&block); end
|
1456
|
-
def dispatch; end
|
1457
|
-
def emit_body(node); end
|
1458
|
-
def emit_options; end
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
class Unparser::Emitter::Repetition < ::Unparser::Emitter
|
1462
|
-
private
|
1463
|
-
|
1464
|
-
def body; end
|
1465
|
-
def condition; end
|
1466
|
-
def dispatch; end
|
1467
|
-
def emit_keyword; end
|
1468
|
-
def emit_normal; end
|
1469
|
-
def emit_postcontrol; end
|
1470
|
-
def postcontrol?; end
|
1471
|
-
def remaining_children; end
|
1472
|
-
end
|
1473
|
-
|
1474
|
-
Unparser::Emitter::Repetition::MAP = T.let(T.unsafe(nil), Hash)
|
1475
|
-
|
1476
|
-
class Unparser::Emitter::Rescue < ::Unparser::Emitter
|
1477
|
-
private
|
1478
|
-
|
1479
|
-
def dispatch; end
|
1480
|
-
end
|
1481
|
-
|
1482
|
-
class Unparser::Emitter::Restarg < ::Unparser::Emitter
|
1483
|
-
private
|
1484
|
-
|
1485
|
-
def dispatch; end
|
1486
|
-
def name; end
|
1487
|
-
def remaining_children; end
|
1488
|
-
end
|
1489
|
-
|
1490
|
-
class Unparser::Emitter::Root < ::Unparser::Emitter
|
1491
|
-
include ::Unparser::Emitter::LocalVariableRoot
|
1492
|
-
|
1493
|
-
def dispatch; end
|
1494
|
-
def local_variable_scope(&block); end
|
1495
|
-
end
|
1496
|
-
|
1497
|
-
Unparser::Emitter::Root::END_NL = T.let(T.unsafe(nil), Array)
|
1498
|
-
|
1499
|
-
class Unparser::Emitter::SClass < ::Unparser::Emitter
|
1500
|
-
private
|
1501
|
-
|
1502
|
-
def body; end
|
1503
|
-
def dispatch; end
|
1504
|
-
def object; end
|
1505
|
-
def remaining_children; end
|
1506
|
-
end
|
1507
|
-
|
1508
|
-
class Unparser::Emitter::Send < ::Unparser::Emitter
|
1509
|
-
def emit_heredoc_reminders; end
|
1510
|
-
def emit_mlhs; end
|
1511
|
-
|
1512
|
-
private
|
1513
|
-
|
1514
|
-
def dispatch; end
|
1515
|
-
def writer(&block); end
|
1516
|
-
end
|
1517
|
-
|
1518
|
-
class Unparser::Emitter::Simple < ::Unparser::Emitter
|
1519
|
-
private
|
1520
|
-
|
1521
|
-
def dispatch; end
|
1522
|
-
end
|
1523
|
-
|
1524
|
-
Unparser::Emitter::Simple::MAP = T.let(T.unsafe(nil), Hash)
|
1525
|
-
|
1526
|
-
class Unparser::Emitter::Splat < ::Unparser::Emitter
|
1527
|
-
def emit_mlhs; end
|
1528
|
-
|
1529
|
-
private
|
1530
|
-
|
1531
|
-
def dispatch; end
|
1532
|
-
def remaining_children; end
|
1533
|
-
def subject; end
|
1534
|
-
def subject_emitter(&block); end
|
1535
|
-
end
|
1536
|
-
|
1537
|
-
class Unparser::Emitter::Super < ::Unparser::Emitter
|
1538
|
-
private
|
1539
|
-
|
1540
|
-
def dispatch; end
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
class Unparser::Emitter::Undef < ::Unparser::Emitter
|
1544
|
-
private
|
1545
|
-
|
1546
|
-
def dispatch; end
|
1547
|
-
end
|
1548
|
-
|
1549
|
-
class Unparser::Emitter::Variable < ::Unparser::Emitter
|
1550
|
-
private
|
1551
|
-
|
1552
|
-
def dispatch; end
|
1553
|
-
def name; end
|
1554
|
-
def remaining_children; end
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
class Unparser::Emitter::When < ::Unparser::Emitter
|
1558
|
-
private
|
1559
|
-
|
1560
|
-
def captures(&block); end
|
1561
|
-
def dispatch; end
|
1562
|
-
def emit_captures; end
|
1563
|
-
end
|
1564
|
-
|
1565
|
-
class Unparser::Emitter::XStr < ::Unparser::Emitter
|
1566
|
-
private
|
1567
|
-
|
1568
|
-
def dispatch; end
|
1569
|
-
def emit_begin(component); end
|
1570
|
-
def emit_heredoc; end
|
1571
|
-
def emit_string(value); end
|
1572
|
-
def emit_xstr; end
|
1573
|
-
def escape_xstr(input); end
|
1574
|
-
def heredoc?; end
|
1575
|
-
end
|
1576
|
-
|
1577
|
-
class Unparser::Emitter::Yield < ::Unparser::Emitter
|
1578
|
-
private
|
1579
|
-
|
1580
|
-
def dispatch; end
|
1581
|
-
end
|
1582
|
-
|
1583
|
-
class Unparser::Equalizer < ::Module
|
1584
|
-
def initialize(*keys); end
|
1585
|
-
|
1586
|
-
private
|
1587
|
-
|
1588
|
-
def define_cmp_method; end
|
1589
|
-
def define_hash_method; end
|
1590
|
-
def define_inspect_method; end
|
1591
|
-
def define_methods; end
|
1592
|
-
def included(descendant); end
|
1593
|
-
end
|
1594
|
-
|
1595
|
-
module Unparser::Equalizer::Methods
|
1596
|
-
def ==(other); end
|
1597
|
-
def eql?(other); end
|
1598
|
-
end
|
1599
|
-
|
1600
|
-
module Unparser::Generation
|
1601
|
-
def emit_heredoc_reminders; end
|
1602
|
-
def symbol_name; end
|
1603
|
-
def write_to_buffer; end
|
1604
|
-
|
1605
|
-
private
|
1606
|
-
|
1607
|
-
def children; end
|
1608
|
-
def conditional_parentheses(flag, &block); end
|
1609
|
-
def delimited(nodes, delimiter = T.unsafe(nil), &block); end
|
1610
|
-
def emit_body(node, indent: T.unsafe(nil)); end
|
1611
|
-
def emit_body_ensure_rescue(node); end
|
1612
|
-
def emit_body_inner(node); end
|
1613
|
-
def emit_body_member(node); end
|
1614
|
-
def emit_body_rescue(node); end
|
1615
|
-
def emit_comments(comments); end
|
1616
|
-
def emit_comments_before(source_part = T.unsafe(nil)); end
|
1617
|
-
def emit_ensure(node); end
|
1618
|
-
def emit_eof_comments; end
|
1619
|
-
def emit_eol_comments; end
|
1620
|
-
def emit_join(nodes, emit_node, emit_delimiter); end
|
1621
|
-
def emit_optional_body(node, indent: T.unsafe(nil)); end
|
1622
|
-
def emit_optional_body_ensure_rescue(node); end
|
1623
|
-
def emit_rescue_postcontrol(node); end
|
1624
|
-
def emit_rescue_regular(node); end
|
1625
|
-
def emitter(node); end
|
1626
|
-
def first_child; end
|
1627
|
-
def indented; end
|
1628
|
-
def k_end; end
|
1629
|
-
def nl; end
|
1630
|
-
def parentheses(open = T.unsafe(nil), close = T.unsafe(nil)); end
|
1631
|
-
def visit(node); end
|
1632
|
-
def visit_deep(node); end
|
1633
|
-
def with_comments; end
|
1634
|
-
def write(*strings); end
|
1635
|
-
def writer_with(klass, node); end
|
1636
|
-
def ws; end
|
1637
|
-
end
|
1638
|
-
|
1639
|
-
Unparser::Generation::EXTRA_NL = T.let(T.unsafe(nil), Array)
|
1640
|
-
|
1641
|
-
class Unparser::InvalidNodeError < ::RuntimeError
|
1642
|
-
def initialize(message, node); end
|
1643
|
-
|
1644
|
-
def node; end
|
1645
|
-
end
|
1646
|
-
|
1647
|
-
module Unparser::NodeDetails
|
1648
|
-
include ::Unparser::NodeHelpers
|
1649
|
-
include ::Unparser::Constants
|
1650
|
-
|
1651
|
-
private
|
1652
|
-
|
1653
|
-
def children; end
|
1654
|
-
|
1655
|
-
class << self
|
1656
|
-
def included(descendant); end
|
1657
|
-
end
|
1658
|
-
end
|
1659
|
-
|
1660
|
-
class Unparser::NodeDetails::Send
|
1661
|
-
extend ::Unparser::DSL
|
1662
|
-
include ::Unparser::Constants
|
1663
|
-
include ::Unparser::NodeDetails
|
1664
|
-
include ::Unparser::Equalizer::Methods
|
1665
|
-
include ::Unparser::Adamantium
|
1666
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1667
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1668
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1669
|
-
include ::Unparser::NodeHelpers
|
1670
|
-
|
1671
|
-
def arguments(&block); end
|
1672
|
-
def arguments?; end
|
1673
|
-
def assignment?(&block); end
|
1674
|
-
def assignment_operator?; end
|
1675
|
-
def binary_syntax_allowed?; end
|
1676
|
-
def non_assignment_selector; end
|
1677
|
-
def receiver; end
|
1678
|
-
def selector; end
|
1679
|
-
def selector_binary_operator?; end
|
1680
|
-
def selector_unary_operator?; end
|
1681
|
-
def string_selector(&block); end
|
1682
|
-
|
1683
|
-
private
|
1684
|
-
|
1685
|
-
def remaining_children; end
|
1686
|
-
end
|
1687
|
-
|
1688
|
-
Unparser::NodeDetails::Send::ASSIGN_SUFFIX = T.let(T.unsafe(nil), String)
|
1689
|
-
Unparser::NodeDetails::Send::NON_ASSIGN_RANGE = T.let(T.unsafe(nil), Range)
|
1690
|
-
|
1691
|
-
module Unparser::NodeHelpers
|
1692
|
-
def n(type, children = T.unsafe(nil)); end
|
1693
|
-
def n?(type, node); end
|
1694
|
-
def s(type, *children); end
|
1695
|
-
def unwrap_single_begin(node); end
|
1696
|
-
|
1697
|
-
private
|
1698
|
-
|
1699
|
-
def n_arg?(node); end
|
1700
|
-
def n_args?(node); end
|
1701
|
-
def n_array?(node); end
|
1702
|
-
def n_array_pattern?(node); end
|
1703
|
-
def n_begin?(node); end
|
1704
|
-
def n_block?(node); end
|
1705
|
-
def n_cbase?(node); end
|
1706
|
-
def n_const?(node); end
|
1707
|
-
def n_dstr?(node); end
|
1708
|
-
def n_empty_else?(node); end
|
1709
|
-
def n_ensure?(node); end
|
1710
|
-
def n_hash?(node); end
|
1711
|
-
def n_hash_pattern?(node); end
|
1712
|
-
def n_if?(node); end
|
1713
|
-
def n_in_pattern?(node); end
|
1714
|
-
def n_int?(node); end
|
1715
|
-
def n_kwsplat?(node); end
|
1716
|
-
def n_lambda?(node); end
|
1717
|
-
def n_match_rest?(node); end
|
1718
|
-
def n_pair?(node); end
|
1719
|
-
def n_rescue?(node); end
|
1720
|
-
def n_send?(node); end
|
1721
|
-
def n_shadowarg?(node); end
|
1722
|
-
def n_splat?(node); end
|
1723
|
-
def n_str?(node); end
|
1724
|
-
def n_sym?(node); end
|
1725
|
-
end
|
1726
|
-
|
1727
|
-
module Unparser::RequireBlock
|
1728
|
-
private
|
1729
|
-
|
1730
|
-
def require_block; end
|
1731
|
-
end
|
1732
|
-
|
1733
|
-
class Unparser::UnknownNodeError < ::ArgumentError; end
|
1734
|
-
|
1735
|
-
class Unparser::Validation
|
1736
|
-
include ::Unparser::Anima::InstanceMethods
|
1737
|
-
include ::Unparser::Equalizer::Methods
|
1738
|
-
include ::Unparser::Adamantium
|
1739
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1740
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1741
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1742
|
-
|
1743
|
-
def generated_node; end
|
1744
|
-
def generated_source; end
|
1745
|
-
def identification; end
|
1746
|
-
def original_node; end
|
1747
|
-
def original_source; end
|
1748
|
-
def report(&block); end
|
1749
|
-
def success?; end
|
1750
|
-
|
1751
|
-
private
|
1752
|
-
|
1753
|
-
def make_report(label, attribute_name); end
|
1754
|
-
def node_diff_report; end
|
1755
|
-
def report_exception(exception); end
|
1756
|
-
|
1757
|
-
class << self
|
1758
|
-
def anima; end
|
1759
|
-
def from_node(original_node); end
|
1760
|
-
def from_path(path); end
|
1761
|
-
def from_string(original_source); end
|
1762
|
-
|
1763
|
-
private
|
1764
|
-
|
1765
|
-
def const_unit(_value); end
|
1766
|
-
end
|
1767
|
-
end
|
1768
|
-
|
1769
|
-
class Unparser::Validation::Literal < ::Unparser::Validation
|
1770
|
-
def report; end
|
1771
|
-
def success?; end
|
1772
|
-
|
1773
|
-
private
|
1774
|
-
|
1775
|
-
def source_diff_report; end
|
1776
|
-
end
|
1777
|
-
|
1778
|
-
module Unparser::Writer
|
1779
|
-
include ::Unparser::NodeHelpers
|
1780
|
-
include ::Unparser::Generation
|
1781
|
-
include ::Unparser::Anima::InstanceMethods
|
1782
|
-
include ::Unparser::Equalizer::Methods
|
1783
|
-
|
1784
|
-
mixes_in_class_methods ::Unparser::DSL
|
1785
|
-
|
1786
|
-
class << self
|
1787
|
-
def included(descendant); end
|
1788
|
-
end
|
1789
|
-
end
|
1790
|
-
|
1791
|
-
class Unparser::Writer::Binary
|
1792
|
-
extend ::Unparser::DSL
|
1793
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1794
|
-
include ::Unparser::NodeHelpers
|
1795
|
-
include ::Unparser::Generation
|
1796
|
-
include ::Unparser::Writer
|
1797
|
-
include ::Unparser::Anima::InstanceMethods
|
1798
|
-
include ::Unparser::Equalizer::Methods
|
1799
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1800
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1801
|
-
include ::Unparser::Adamantium
|
1802
|
-
|
1803
|
-
def buffer; end
|
1804
|
-
def comments; end
|
1805
|
-
def dispatch; end
|
1806
|
-
def emit_operator; end
|
1807
|
-
def local_variable_scope; end
|
1808
|
-
def node; end
|
1809
|
-
def symbol_name; end
|
1810
|
-
|
1811
|
-
private
|
1812
|
-
|
1813
|
-
def effective_symbol; end
|
1814
|
-
def emit_with(map); end
|
1815
|
-
def keyword_symbol; end
|
1816
|
-
def left; end
|
1817
|
-
def left_emitter(&block); end
|
1818
|
-
def operator_symbol; end
|
1819
|
-
def remaining_children; end
|
1820
|
-
def right; end
|
1821
|
-
def right_emitter(&block); end
|
1822
|
-
|
1823
|
-
class << self
|
1824
|
-
def anima; end
|
1825
|
-
end
|
1826
|
-
end
|
1827
|
-
|
1828
|
-
Unparser::Writer::Binary::KEYWORD_SYMBOLS = T.let(T.unsafe(nil), Hash)
|
1829
|
-
Unparser::Writer::Binary::KEYWORD_TOKENS = T.let(T.unsafe(nil), Hash)
|
1830
|
-
Unparser::Writer::Binary::MAP = T.let(T.unsafe(nil), Hash)
|
1831
|
-
Unparser::Writer::Binary::NEED_KEYWORD = T.let(T.unsafe(nil), Array)
|
1832
|
-
Unparser::Writer::Binary::OPERATOR_SYMBOLS = T.let(T.unsafe(nil), Hash)
|
1833
|
-
Unparser::Writer::Binary::OPERATOR_TOKENS = T.let(T.unsafe(nil), Hash)
|
1834
|
-
|
1835
|
-
class Unparser::Writer::DynamicString
|
1836
|
-
extend ::Unparser::DSL
|
1837
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1838
|
-
include ::Unparser::NodeHelpers
|
1839
|
-
include ::Unparser::Generation
|
1840
|
-
include ::Unparser::Writer
|
1841
|
-
include ::Unparser::Anima::InstanceMethods
|
1842
|
-
include ::Unparser::Equalizer::Methods
|
1843
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1844
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1845
|
-
include ::Unparser::Adamantium
|
1846
|
-
|
1847
|
-
def buffer; end
|
1848
|
-
def comments; end
|
1849
|
-
def dispatch; end
|
1850
|
-
def emit_heredoc_reminder; end
|
1851
|
-
def local_variable_scope; end
|
1852
|
-
def node; end
|
1853
|
-
|
1854
|
-
private
|
1855
|
-
|
1856
|
-
def breakpoint?(child, current); end
|
1857
|
-
def classify(node); end
|
1858
|
-
def classify_str(node); end
|
1859
|
-
def emit_body(children); end
|
1860
|
-
def emit_dstr; end
|
1861
|
-
def emit_dynamic(child); end
|
1862
|
-
def emit_dynamic_component(node); end
|
1863
|
-
def emit_heredoc_body; end
|
1864
|
-
def emit_heredoc_footer; end
|
1865
|
-
def emit_heredoc_header; end
|
1866
|
-
def emit_normal_heredoc_body; end
|
1867
|
-
def emit_segment(children, index); end
|
1868
|
-
def emit_squiggly_heredoc_body; end
|
1869
|
-
def escape_dynamic(string); end
|
1870
|
-
def heredoc?; end
|
1871
|
-
def heredoc_header; end
|
1872
|
-
def heredoc_pattern?; end
|
1873
|
-
def heredoc_pattern_2?; end
|
1874
|
-
def heredoc_pattern_3?; end
|
1875
|
-
def nl_last_child?; end
|
1876
|
-
def segments; end
|
1877
|
-
def str_empty?(node); end
|
1878
|
-
def str_nl?(node); end
|
1879
|
-
def str_ws?(node); end
|
1880
|
-
|
1881
|
-
class << self
|
1882
|
-
def anima; end
|
1883
|
-
end
|
1884
|
-
end
|
1885
|
-
|
1886
|
-
Unparser::Writer::DynamicString::FLAT_INTERPOLATION = T.let(T.unsafe(nil), Set)
|
1887
|
-
Unparser::Writer::DynamicString::PATTERNS_2 = T.let(T.unsafe(nil), Array)
|
1888
|
-
Unparser::Writer::DynamicString::PATTERNS_3 = T.let(T.unsafe(nil), Array)
|
1889
|
-
|
1890
|
-
class Unparser::Writer::Resbody
|
1891
|
-
include ::Unparser::NodeHelpers
|
1892
|
-
include ::Unparser::Generation
|
1893
|
-
include ::Unparser::Writer
|
1894
|
-
include ::Unparser::Anima::InstanceMethods
|
1895
|
-
include ::Unparser::Equalizer::Methods
|
1896
|
-
extend ::Unparser::DSL
|
1897
|
-
|
1898
|
-
def buffer; end
|
1899
|
-
def comments; end
|
1900
|
-
def emit_postcontrol; end
|
1901
|
-
def emit_regular; end
|
1902
|
-
def local_variable_scope; end
|
1903
|
-
def node; end
|
1904
|
-
|
1905
|
-
private
|
1906
|
-
|
1907
|
-
def assignment; end
|
1908
|
-
def body; end
|
1909
|
-
def emit_assignment; end
|
1910
|
-
def emit_exception; end
|
1911
|
-
def exception; end
|
1912
|
-
def remaining_children; end
|
1913
|
-
|
1914
|
-
class << self
|
1915
|
-
def anima; end
|
1916
|
-
end
|
1917
|
-
end
|
1918
|
-
|
1919
|
-
class Unparser::Writer::Rescue
|
1920
|
-
extend ::Unparser::DSL
|
1921
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1922
|
-
include ::Unparser::NodeHelpers
|
1923
|
-
include ::Unparser::Generation
|
1924
|
-
include ::Unparser::Writer
|
1925
|
-
include ::Unparser::Anima::InstanceMethods
|
1926
|
-
include ::Unparser::Equalizer::Methods
|
1927
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1928
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1929
|
-
include ::Unparser::Adamantium
|
1930
|
-
|
1931
|
-
def buffer; end
|
1932
|
-
def comments; end
|
1933
|
-
def emit_heredoc_reminders; end
|
1934
|
-
def emit_postcontrol; end
|
1935
|
-
def emit_regular; end
|
1936
|
-
def local_variable_scope; end
|
1937
|
-
def node; end
|
1938
|
-
|
1939
|
-
private
|
1940
|
-
|
1941
|
-
def body; end
|
1942
|
-
def else_node; end
|
1943
|
-
def emit_rescue_body(node); end
|
1944
|
-
def remaining_children; end
|
1945
|
-
def rescue_bodies(&block); end
|
1946
|
-
def rescue_body; end
|
1947
|
-
|
1948
|
-
class << self
|
1949
|
-
def anima; end
|
1950
|
-
end
|
1951
|
-
end
|
1952
|
-
|
1953
|
-
class Unparser::Writer::Send
|
1954
|
-
extend ::Unparser::DSL
|
1955
|
-
include ::Unparser::Generation
|
1956
|
-
include ::Unparser::Constants
|
1957
|
-
include ::Unparser::Adamantium
|
1958
|
-
include ::Unparser::Adamantium::InstanceMethods
|
1959
|
-
include ::Unparser::Writer
|
1960
|
-
include ::Unparser::Anima::InstanceMethods
|
1961
|
-
include ::Unparser::Equalizer::Methods
|
1962
|
-
extend ::Unparser::Adamantium::ModuleMethods
|
1963
|
-
extend ::Unparser::Adamantium::ClassMethods
|
1964
|
-
include ::Unparser::NodeHelpers
|
1965
|
-
|
1966
|
-
def buffer; end
|
1967
|
-
def comments; end
|
1968
|
-
def dispatch; end
|
1969
|
-
def emit_heredoc_reminders; end
|
1970
|
-
def emit_mlhs; end
|
1971
|
-
def emit_selector; end
|
1972
|
-
def local_variable_scope; end
|
1973
|
-
def node; end
|
1974
|
-
|
1975
|
-
private
|
1976
|
-
|
1977
|
-
def arguments; end
|
1978
|
-
def avoid_clash?; end
|
1979
|
-
def details(&block); end
|
1980
|
-
def effective_writer(&block); end
|
1981
|
-
def effective_writer_class; end
|
1982
|
-
def emit_arguments; end
|
1983
|
-
def emit_heredoc_reminder(argument); end
|
1984
|
-
def emit_normal_arguments; end
|
1985
|
-
def emit_operator; end
|
1986
|
-
def emit_send_regular(node); end
|
1987
|
-
def local_variable_clash?; end
|
1988
|
-
def parses_as_constant?; end
|
1989
|
-
def receiver; end
|
1990
|
-
def remaining_children; end
|
1991
|
-
def selector; end
|
1992
|
-
def write_as_attribute_assignment?; end
|
1993
|
-
|
1994
|
-
class << self
|
1995
|
-
def anima; end
|
1996
|
-
end
|
1997
|
-
end
|
1998
|
-
|
1999
|
-
class Unparser::Writer::Send::AttributeAssignment < ::Unparser::Writer::Send
|
2000
|
-
def dispatch; end
|
2001
|
-
def emit_send_mlhs; end
|
2002
|
-
|
2003
|
-
private
|
2004
|
-
|
2005
|
-
def emit_attribute; end
|
2006
|
-
def emit_receiver; end
|
2007
|
-
def first_argument; end
|
2008
|
-
def receiver; end
|
2009
|
-
def remaining_children; end
|
2010
|
-
def selector; end
|
2011
|
-
end
|
2012
|
-
|
2013
|
-
class Unparser::Writer::Send::Binary < ::Unparser::Writer::Send
|
2014
|
-
def dispatch; end
|
2015
|
-
|
2016
|
-
private
|
2017
|
-
|
2018
|
-
def emit_operator; end
|
2019
|
-
def emit_right; end
|
2020
|
-
end
|
2021
|
-
|
2022
|
-
Unparser::Writer::Send::INDEX_ASSIGN = T.let(T.unsafe(nil), Symbol)
|
2023
|
-
Unparser::Writer::Send::INDEX_REFERENCE = T.let(T.unsafe(nil), Symbol)
|
2024
|
-
Unparser::Writer::Send::OPERATORS = T.let(T.unsafe(nil), Hash)
|
2025
|
-
|
2026
|
-
class Unparser::Writer::Send::Regular < ::Unparser::Writer::Send
|
2027
|
-
def dispatch; end
|
2028
|
-
def emit_arguments_without_heredoc_body; end
|
2029
|
-
def emit_receiver; end
|
2030
|
-
def emit_send_mlhs; end
|
2031
|
-
end
|
2032
|
-
|
2033
|
-
class Unparser::Writer::Send::Unary < ::Unparser::Writer::Send
|
2034
|
-
def dispatch; end
|
2035
|
-
end
|
2036
|
-
|
2037
|
-
Unparser::Writer::Send::Unary::MAP = T.let(T.unsafe(nil), Hash)
|