sorbet-result 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.standard.yml +6 -0
- data/.tool-versions +1 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +2 -4
- data/Gemfile.lock +75 -55
- data/README.md +23 -0
- data/Rakefile +3 -5
- data/lib/minitest/result_assertions.rb +48 -0
- data/lib/sorbet-result.rb +1 -5
- data/lib/typed/result.rb +169 -7
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +80 -60
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
- data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.22.2.rbi} +285 -241
- data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +8 -1
- data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.0.5.rbi} +438 -2219
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -39
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +68 -65
- data/sorbet/rbi/gems/{rbi@0.0.16.rbi → rbi@0.1.9.rbi} +712 -714
- data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.0.rbi} +187 -165
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +116 -52
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +77 -77
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi +8 -0
- data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.60.2.rbi} +3593 -1700
- data/sorbet/rbi/gems/{spoom@1.2.1.rbi → spoom@1.2.4.rbi} +1378 -104
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
- data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +8 -0
- data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +52 -0
- data/sorbet/rbi/gems/standard@1.34.0.rbi +850 -0
- data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
- data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.12.0.rbi} +776 -574
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
- data/sorbet/rbi/gems/yard@0.9.34.rbi +2 -2
- data/sorbet/tapioca/config.yml +3 -12
- data/sorbet/tapioca/require.rb +0 -1
- metadata +41 -34
- data/.rubocop.yml +0 -33
- data/lib/typed/failure.rb +0 -81
- data/lib/typed/success.rb +0 -80
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
- data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
- data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.4.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -7,14 +7,7 @@
|
|
7
7
|
# @api public
|
8
8
|
#
|
9
9
|
# source://parser//lib/parser.rb#19
|
10
|
-
module Parser
|
11
|
-
class << self
|
12
|
-
private
|
13
|
-
|
14
|
-
# source://parser//lib/parser/current.rb#5
|
15
|
-
def warn_syntax_deviation(feature, version); end
|
16
|
-
end
|
17
|
-
end
|
10
|
+
module Parser; end
|
18
11
|
|
19
12
|
# @api public
|
20
13
|
#
|
@@ -876,7 +869,7 @@ class Parser::Builders::Default
|
|
876
869
|
# source://parser//lib/parser/builders/default.rb#243
|
877
870
|
def initialize; end
|
878
871
|
|
879
|
-
# source://parser//lib/parser/builders/default.rb#
|
872
|
+
# source://parser//lib/parser/builders/default.rb#703
|
880
873
|
def __ENCODING__(__ENCODING__t); end
|
881
874
|
|
882
875
|
# source://parser//lib/parser/builders/default.rb#348
|
@@ -885,79 +878,79 @@ class Parser::Builders::Default
|
|
885
878
|
# source://parser//lib/parser/builders/default.rb#312
|
886
879
|
def __LINE__(__LINE__t); end
|
887
880
|
|
888
|
-
# source://parser//lib/parser/builders/default.rb#
|
881
|
+
# source://parser//lib/parser/builders/default.rb#622
|
889
882
|
def accessible(node); end
|
890
883
|
|
891
|
-
# source://parser//lib/parser/builders/default.rb#
|
884
|
+
# source://parser//lib/parser/builders/default.rb#878
|
892
885
|
def alias(alias_t, to, from); end
|
893
886
|
|
894
|
-
# source://parser//lib/parser/builders/default.rb#
|
887
|
+
# source://parser//lib/parser/builders/default.rb#917
|
895
888
|
def arg(name_t); end
|
896
889
|
|
897
|
-
# source://parser//lib/parser/builders/default.rb#
|
890
|
+
# source://parser//lib/parser/builders/default.rb#1007
|
898
891
|
def arg_expr(expr); end
|
899
892
|
|
900
|
-
# source://parser//lib/parser/builders/default.rb#
|
893
|
+
# source://parser//lib/parser/builders/default.rb#887
|
901
894
|
def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end
|
902
895
|
|
903
896
|
# source://parser//lib/parser/builders/default.rb#440
|
904
897
|
def array(begin_t, elements, end_t); end
|
905
898
|
|
906
|
-
# source://parser//lib/parser/builders/default.rb#
|
899
|
+
# source://parser//lib/parser/builders/default.rb#1590
|
907
900
|
def array_pattern(lbrack_t, elements, rbrack_t); end
|
908
901
|
|
909
|
-
# source://parser//lib/parser/builders/default.rb#
|
902
|
+
# source://parser//lib/parser/builders/default.rb#767
|
910
903
|
def assign(lhs, eql_t, rhs); end
|
911
904
|
|
912
|
-
# source://parser//lib/parser/builders/default.rb#
|
905
|
+
# source://parser//lib/parser/builders/default.rb#712
|
913
906
|
def assignable(node); end
|
914
907
|
|
915
908
|
# source://parser//lib/parser/builders/default.rb#540
|
916
909
|
def associate(begin_t, pairs, end_t); end
|
917
910
|
|
918
|
-
# source://parser//lib/parser/builders/default.rb#
|
911
|
+
# source://parser//lib/parser/builders/default.rb#1171
|
919
912
|
def attr_asgn(receiver, dot_t, selector_t); end
|
920
913
|
|
921
|
-
# source://parser//lib/parser/builders/default.rb#
|
914
|
+
# source://parser//lib/parser/builders/default.rb#612
|
922
915
|
def back_ref(token); end
|
923
916
|
|
924
|
-
# source://parser//lib/parser/builders/default.rb#
|
917
|
+
# source://parser//lib/parser/builders/default.rb#1435
|
925
918
|
def begin(begin_t, body, end_t); end
|
926
919
|
|
927
|
-
# source://parser//lib/parser/builders/default.rb#
|
920
|
+
# source://parser//lib/parser/builders/default.rb#1377
|
928
921
|
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
|
929
922
|
|
930
|
-
# source://parser//lib/parser/builders/default.rb#
|
923
|
+
# source://parser//lib/parser/builders/default.rb#1453
|
931
924
|
def begin_keyword(begin_t, body, end_t); end
|
932
925
|
|
933
|
-
# source://parser//lib/parser/builders/default.rb#
|
926
|
+
# source://parser//lib/parser/builders/default.rb#1205
|
934
927
|
def binary_op(receiver, operator_t, arg); end
|
935
928
|
|
936
|
-
# source://parser//lib/parser/builders/default.rb#
|
929
|
+
# source://parser//lib/parser/builders/default.rb#1122
|
937
930
|
def block(method_call, begin_t, args, body, end_t); end
|
938
931
|
|
939
|
-
# source://parser//lib/parser/builders/default.rb#
|
932
|
+
# source://parser//lib/parser/builders/default.rb#1157
|
940
933
|
def block_pass(amper_t, arg); end
|
941
934
|
|
942
|
-
# source://parser//lib/parser/builders/default.rb#
|
935
|
+
# source://parser//lib/parser/builders/default.rb#982
|
943
936
|
def blockarg(amper_t, name_t); end
|
944
937
|
|
945
|
-
# source://parser//lib/parser/builders/default.rb#
|
938
|
+
# source://parser//lib/parser/builders/default.rb#1027
|
946
939
|
def blockarg_expr(amper_t, expr); end
|
947
940
|
|
948
|
-
# source://parser//lib/parser/builders/default.rb#
|
941
|
+
# source://parser//lib/parser/builders/default.rb#1113
|
949
942
|
def call_lambda(lambda_t); end
|
950
943
|
|
951
|
-
# source://parser//lib/parser/builders/default.rb#
|
944
|
+
# source://parser//lib/parser/builders/default.rb#1096
|
952
945
|
def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
953
946
|
|
954
|
-
# source://parser//lib/parser/builders/default.rb#
|
947
|
+
# source://parser//lib/parser/builders/default.rb#1068
|
955
948
|
def call_type_for_dot(dot_t); end
|
956
949
|
|
957
|
-
# source://parser//lib/parser/builders/default.rb#
|
950
|
+
# source://parser//lib/parser/builders/default.rb#1310
|
958
951
|
def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
|
959
952
|
|
960
|
-
# source://parser//lib/parser/builders/default.rb#
|
953
|
+
# source://parser//lib/parser/builders/default.rb#1473
|
961
954
|
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
|
962
955
|
|
963
956
|
# source://parser//lib/parser/builders/default.rb#343
|
@@ -966,55 +959,55 @@ class Parser::Builders::Default
|
|
966
959
|
# source://parser//lib/parser/builders/default.rb#284
|
967
960
|
def complex(complex_t); end
|
968
961
|
|
969
|
-
# source://parser//lib/parser/builders/default.rb#
|
962
|
+
# source://parser//lib/parser/builders/default.rb#1423
|
970
963
|
def compstmt(statements); end
|
971
964
|
|
972
|
-
# source://parser//lib/parser/builders/default.rb#
|
965
|
+
# source://parser//lib/parser/builders/default.rb#1286
|
973
966
|
def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
|
974
967
|
|
975
|
-
# source://parser//lib/parser/builders/default.rb#
|
968
|
+
# source://parser//lib/parser/builders/default.rb#1292
|
976
969
|
def condition_mod(if_true, if_false, cond_t, cond); end
|
977
970
|
|
978
|
-
# source://parser//lib/parser/builders/default.rb#
|
971
|
+
# source://parser//lib/parser/builders/default.rb#686
|
979
972
|
def const(name_t); end
|
980
973
|
|
981
|
-
# source://parser//lib/parser/builders/default.rb#
|
974
|
+
# source://parser//lib/parser/builders/default.rb#698
|
982
975
|
def const_fetch(scope, t_colon2, name_t); end
|
983
976
|
|
984
|
-
# source://parser//lib/parser/builders/default.rb#
|
977
|
+
# source://parser//lib/parser/builders/default.rb#691
|
985
978
|
def const_global(t_colon3, name_t); end
|
986
979
|
|
987
|
-
# source://parser//lib/parser/builders/default.rb#
|
980
|
+
# source://parser//lib/parser/builders/default.rb#763
|
988
981
|
def const_op_assignable(node); end
|
989
982
|
|
990
|
-
# source://parser//lib/parser/builders/default.rb#
|
983
|
+
# source://parser//lib/parser/builders/default.rb#1620
|
991
984
|
def const_pattern(const, ldelim_t, pattern, rdelim_t); end
|
992
985
|
|
993
|
-
# source://parser//lib/parser/builders/default.rb#
|
986
|
+
# source://parser//lib/parser/builders/default.rb#607
|
994
987
|
def cvar(token); end
|
995
988
|
|
996
989
|
# source://parser//lib/parser/builders/default.rb#388
|
997
990
|
def dedent_string(node, dedent_level); end
|
998
991
|
|
999
|
-
# source://parser//lib/parser/builders/default.rb#
|
992
|
+
# source://parser//lib/parser/builders/default.rb#814
|
1000
993
|
def def_class(class_t, name, lt_t, superclass, body, end_t); end
|
1001
994
|
|
1002
|
-
# source://parser//lib/parser/builders/default.rb#
|
995
|
+
# source://parser//lib/parser/builders/default.rb#845
|
1003
996
|
def def_endless_method(def_t, name_t, args, assignment_t, body); end
|
1004
997
|
|
1005
|
-
# source://parser//lib/parser/builders/default.rb#
|
998
|
+
# source://parser//lib/parser/builders/default.rb#863
|
1006
999
|
def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end
|
1007
1000
|
|
1008
|
-
# source://parser//lib/parser/builders/default.rb#
|
1001
|
+
# source://parser//lib/parser/builders/default.rb#837
|
1009
1002
|
def def_method(def_t, name_t, args, body, end_t); end
|
1010
1003
|
|
1011
|
-
# source://parser//lib/parser/builders/default.rb#
|
1004
|
+
# source://parser//lib/parser/builders/default.rb#827
|
1012
1005
|
def def_module(module_t, name, body, end_t); end
|
1013
1006
|
|
1014
|
-
# source://parser//lib/parser/builders/default.rb#
|
1007
|
+
# source://parser//lib/parser/builders/default.rb#821
|
1015
1008
|
def def_sclass(class_t, lshft_t, expr, body, end_t); end
|
1016
1009
|
|
1017
|
-
# source://parser//lib/parser/builders/default.rb#
|
1010
|
+
# source://parser//lib/parser/builders/default.rb#853
|
1018
1011
|
def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
|
1019
1012
|
|
1020
1013
|
# source://parser//lib/parser/builders/default.rb#237
|
@@ -1026,52 +1019,52 @@ class Parser::Builders::Default
|
|
1026
1019
|
# source://parser//lib/parser/builders/default.rb#265
|
1027
1020
|
def false(false_t); end
|
1028
1021
|
|
1029
|
-
# source://parser//lib/parser/builders/default.rb#
|
1022
|
+
# source://parser//lib/parser/builders/default.rb#1611
|
1030
1023
|
def find_pattern(lbrack_t, elements, rbrack_t); end
|
1031
1024
|
|
1032
1025
|
# source://parser//lib/parser/builders/default.rb#276
|
1033
1026
|
def float(float_t); end
|
1034
1027
|
|
1035
|
-
# source://parser//lib/parser/builders/default.rb#
|
1028
|
+
# source://parser//lib/parser/builders/default.rb#1331
|
1036
1029
|
def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
|
1037
1030
|
|
1038
|
-
# source://parser//lib/parser/builders/default.rb#
|
1031
|
+
# source://parser//lib/parser/builders/default.rb#913
|
1039
1032
|
def forward_arg(dots_t); end
|
1040
1033
|
|
1041
|
-
# source://parser//lib/parser/builders/default.rb#
|
1034
|
+
# source://parser//lib/parser/builders/default.rb#903
|
1042
1035
|
def forward_only_args(begin_t, dots_t, end_t); end
|
1043
1036
|
|
1044
|
-
# source://parser//lib/parser/builders/default.rb#
|
1037
|
+
# source://parser//lib/parser/builders/default.rb#1084
|
1045
1038
|
def forwarded_args(dots_t); end
|
1046
1039
|
|
1047
|
-
# source://parser//lib/parser/builders/default.rb#
|
1040
|
+
# source://parser//lib/parser/builders/default.rb#1092
|
1048
1041
|
def forwarded_kwrestarg(dstar_t); end
|
1049
1042
|
|
1050
|
-
# source://parser//lib/parser/builders/default.rb#
|
1043
|
+
# source://parser//lib/parser/builders/default.rb#1088
|
1051
1044
|
def forwarded_restarg(star_t); end
|
1052
1045
|
|
1053
1046
|
# source://parser//lib/parser/builders/default.rb#596
|
1054
1047
|
def gvar(token); end
|
1055
1048
|
|
1056
|
-
# source://parser//lib/parser/builders/default.rb#
|
1049
|
+
# source://parser//lib/parser/builders/default.rb#1584
|
1057
1050
|
def hash_pattern(lbrace_t, kwargs, rbrace_t); end
|
1058
1051
|
|
1059
1052
|
# source://parser//lib/parser/builders/default.rb#586
|
1060
1053
|
def ident(token); end
|
1061
1054
|
|
1062
|
-
# source://parser//lib/parser/builders/default.rb#
|
1055
|
+
# source://parser//lib/parser/builders/default.rb#1500
|
1063
1056
|
def if_guard(if_t, if_body); end
|
1064
1057
|
|
1065
|
-
# source://parser//lib/parser/builders/default.rb#
|
1058
|
+
# source://parser//lib/parser/builders/default.rb#1479
|
1066
1059
|
def in_match(lhs, in_t, rhs); end
|
1067
1060
|
|
1068
|
-
# source://parser//lib/parser/builders/default.rb#
|
1061
|
+
# source://parser//lib/parser/builders/default.rb#1494
|
1069
1062
|
def in_pattern(in_t, pattern, guard, then_t, body); end
|
1070
1063
|
|
1071
|
-
# source://parser//lib/parser/builders/default.rb#
|
1064
|
+
# source://parser//lib/parser/builders/default.rb#1180
|
1072
1065
|
def index(receiver, lbrack_t, indexes, rbrack_t); end
|
1073
1066
|
|
1074
|
-
# source://parser//lib/parser/builders/default.rb#
|
1067
|
+
# source://parser//lib/parser/builders/default.rb#1194
|
1075
1068
|
def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
|
1076
1069
|
|
1077
1070
|
# source://parser//lib/parser/builders/default.rb#272
|
@@ -1080,103 +1073,103 @@ class Parser::Builders::Default
|
|
1080
1073
|
# source://parser//lib/parser/builders/default.rb#591
|
1081
1074
|
def ivar(token); end
|
1082
1075
|
|
1083
|
-
# source://parser//lib/parser/builders/default.rb#
|
1076
|
+
# source://parser//lib/parser/builders/default.rb#1339
|
1084
1077
|
def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
1085
1078
|
|
1086
|
-
# source://parser//lib/parser/builders/default.rb#
|
1079
|
+
# source://parser//lib/parser/builders/default.rb#944
|
1087
1080
|
def kwarg(name_t); end
|
1088
1081
|
|
1089
|
-
# source://parser//lib/parser/builders/default.rb#
|
1082
|
+
# source://parser//lib/parser/builders/default.rb#970
|
1090
1083
|
def kwnilarg(dstar_t, nil_t); end
|
1091
1084
|
|
1092
|
-
# source://parser//lib/parser/builders/default.rb#
|
1085
|
+
# source://parser//lib/parser/builders/default.rb#951
|
1093
1086
|
def kwoptarg(name_t, value); end
|
1094
1087
|
|
1095
|
-
# source://parser//lib/parser/builders/default.rb#
|
1088
|
+
# source://parser//lib/parser/builders/default.rb#958
|
1096
1089
|
def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end
|
1097
1090
|
|
1098
1091
|
# source://parser//lib/parser/builders/default.rb#535
|
1099
1092
|
def kwsplat(dstar_t, arg); end
|
1100
1093
|
|
1101
|
-
# source://parser//lib/parser/builders/default.rb#
|
1094
|
+
# source://parser//lib/parser/builders/default.rb#1279
|
1102
1095
|
def logical_op(type, lhs, op_t, rhs); end
|
1103
1096
|
|
1104
|
-
# source://parser//lib/parser/builders/default.rb#
|
1097
|
+
# source://parser//lib/parser/builders/default.rb#1317
|
1105
1098
|
def loop(type, keyword_t, cond, do_t, body, end_t); end
|
1106
1099
|
|
1107
|
-
# source://parser//lib/parser/builders/default.rb#
|
1100
|
+
# source://parser//lib/parser/builders/default.rb#1322
|
1108
1101
|
def loop_mod(type, body, keyword_t, cond); end
|
1109
1102
|
|
1110
|
-
# source://parser//lib/parser/builders/default.rb#
|
1103
|
+
# source://parser//lib/parser/builders/default.rb#1634
|
1111
1104
|
def match_alt(left, pipe_t, right); end
|
1112
1105
|
|
1113
|
-
# source://parser//lib/parser/builders/default.rb#
|
1106
|
+
# source://parser//lib/parser/builders/default.rb#1641
|
1114
1107
|
def match_as(value, assoc_t, as); end
|
1115
1108
|
|
1116
|
-
# source://parser//lib/parser/builders/default.rb#
|
1109
|
+
# source://parser//lib/parser/builders/default.rb#1520
|
1117
1110
|
def match_hash_var(name_t); end
|
1118
1111
|
|
1119
|
-
# source://parser//lib/parser/builders/default.rb#
|
1112
|
+
# source://parser//lib/parser/builders/default.rb#1534
|
1120
1113
|
def match_hash_var_from_str(begin_t, strings, end_t); end
|
1121
1114
|
|
1122
|
-
# source://parser//lib/parser/builders/default.rb#
|
1115
|
+
# source://parser//lib/parser/builders/default.rb#1672
|
1123
1116
|
def match_label(label_type, label); end
|
1124
1117
|
|
1125
|
-
# source://parser//lib/parser/builders/default.rb#
|
1118
|
+
# source://parser//lib/parser/builders/default.rb#1648
|
1126
1119
|
def match_nil_pattern(dstar_t, nil_t); end
|
1127
1120
|
|
1128
|
-
# source://parser//lib/parser/builders/default.rb#
|
1121
|
+
# source://parser//lib/parser/builders/default.rb#1227
|
1129
1122
|
def match_op(receiver, match_t, arg); end
|
1130
1123
|
|
1131
|
-
# source://parser//lib/parser/builders/default.rb#
|
1124
|
+
# source://parser//lib/parser/builders/default.rb#1653
|
1132
1125
|
def match_pair(label_type, label, value); end
|
1133
1126
|
|
1134
|
-
# source://parser//lib/parser/builders/default.rb#
|
1127
|
+
# source://parser//lib/parser/builders/default.rb#1484
|
1135
1128
|
def match_pattern(lhs, match_t, rhs); end
|
1136
1129
|
|
1137
|
-
# source://parser//lib/parser/builders/default.rb#
|
1130
|
+
# source://parser//lib/parser/builders/default.rb#1489
|
1138
1131
|
def match_pattern_p(lhs, match_t, rhs); end
|
1139
1132
|
|
1140
|
-
# source://parser//lib/parser/builders/default.rb#
|
1133
|
+
# source://parser//lib/parser/builders/default.rb#1573
|
1141
1134
|
def match_rest(star_t, name_t = T.unsafe(nil)); end
|
1142
1135
|
|
1143
|
-
# source://parser//lib/parser/builders/default.rb#
|
1136
|
+
# source://parser//lib/parser/builders/default.rb#1508
|
1144
1137
|
def match_var(name_t); end
|
1145
1138
|
|
1146
|
-
# source://parser//lib/parser/builders/default.rb#
|
1139
|
+
# source://parser//lib/parser/builders/default.rb#1616
|
1147
1140
|
def match_with_trailing_comma(match, comma_t); end
|
1148
1141
|
|
1149
|
-
# source://parser//lib/parser/builders/default.rb#
|
1142
|
+
# source://parser//lib/parser/builders/default.rb#805
|
1150
1143
|
def multi_assign(lhs, eql_t, rhs); end
|
1151
1144
|
|
1152
|
-
# source://parser//lib/parser/builders/default.rb#
|
1145
|
+
# source://parser//lib/parser/builders/default.rb#800
|
1153
1146
|
def multi_lhs(begin_t, items, end_t); end
|
1154
1147
|
|
1155
1148
|
# source://parser//lib/parser/builders/default.rb#255
|
1156
1149
|
def nil(nil_t); end
|
1157
1150
|
|
1158
|
-
# source://parser//lib/parser/builders/default.rb#
|
1151
|
+
# source://parser//lib/parser/builders/default.rb#1255
|
1159
1152
|
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
1160
1153
|
|
1161
|
-
# source://parser//lib/parser/builders/default.rb#
|
1154
|
+
# source://parser//lib/parser/builders/default.rb#617
|
1162
1155
|
def nth_ref(token); end
|
1163
1156
|
|
1164
|
-
# source://parser//lib/parser/builders/default.rb#
|
1157
|
+
# source://parser//lib/parser/builders/default.rb#899
|
1165
1158
|
def numargs(max_numparam); end
|
1166
1159
|
|
1167
|
-
# source://parser//lib/parser/builders/default.rb#
|
1160
|
+
# source://parser//lib/parser/builders/default.rb#1038
|
1168
1161
|
def objc_kwarg(kwname_t, assoc_t, name_t); end
|
1169
1162
|
|
1170
|
-
# source://parser//lib/parser/builders/default.rb#
|
1163
|
+
# source://parser//lib/parser/builders/default.rb#1052
|
1171
1164
|
def objc_restarg(star_t, name = T.unsafe(nil)); end
|
1172
1165
|
|
1173
|
-
# source://parser//lib/parser/builders/default.rb#
|
1166
|
+
# source://parser//lib/parser/builders/default.rb#1162
|
1174
1167
|
def objc_varargs(pair, rest_of_varargs); end
|
1175
1168
|
|
1176
|
-
# source://parser//lib/parser/builders/default.rb#
|
1169
|
+
# source://parser//lib/parser/builders/default.rb#774
|
1177
1170
|
def op_assign(lhs, op_t, rhs); end
|
1178
1171
|
|
1179
|
-
# source://parser//lib/parser/builders/default.rb#
|
1172
|
+
# source://parser//lib/parser/builders/default.rb#924
|
1180
1173
|
def optarg(name_t, eql_t, value); end
|
1181
1174
|
|
1182
1175
|
# source://parser//lib/parser/builders/default.rb#488
|
@@ -1200,16 +1193,16 @@ class Parser::Builders::Default
|
|
1200
1193
|
# source://parser//lib/parser/builders/default.rb#225
|
1201
1194
|
def parser=(_arg0); end
|
1202
1195
|
|
1203
|
-
# source://parser//lib/parser/builders/default.rb#
|
1196
|
+
# source://parser//lib/parser/builders/default.rb#1629
|
1204
1197
|
def pin(pin_t, var); end
|
1205
1198
|
|
1206
|
-
# source://parser//lib/parser/builders/default.rb#
|
1199
|
+
# source://parser//lib/parser/builders/default.rb#1362
|
1207
1200
|
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
|
1208
1201
|
|
1209
|
-
# source://parser//lib/parser/builders/default.rb#
|
1202
|
+
# source://parser//lib/parser/builders/default.rb#1357
|
1210
1203
|
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
|
1211
1204
|
|
1212
|
-
# source://parser//lib/parser/builders/default.rb#
|
1205
|
+
# source://parser//lib/parser/builders/default.rb#992
|
1213
1206
|
def procarg0(arg); end
|
1214
1207
|
|
1215
1208
|
# source://parser//lib/parser/builders/default.rb#572
|
@@ -1227,19 +1220,19 @@ class Parser::Builders::Default
|
|
1227
1220
|
# source://parser//lib/parser/builders/default.rb#417
|
1228
1221
|
def regexp_options(regopt_t); end
|
1229
1222
|
|
1230
|
-
# source://parser//lib/parser/builders/default.rb#
|
1223
|
+
# source://parser//lib/parser/builders/default.rb#1369
|
1231
1224
|
def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
|
1232
1225
|
|
1233
|
-
# source://parser//lib/parser/builders/default.rb#
|
1226
|
+
# source://parser//lib/parser/builders/default.rb#933
|
1234
1227
|
def restarg(star_t, name_t = T.unsafe(nil)); end
|
1235
1228
|
|
1236
|
-
# source://parser//lib/parser/builders/default.rb#
|
1229
|
+
# source://parser//lib/parser/builders/default.rb#1016
|
1237
1230
|
def restarg_expr(star_t, expr = T.unsafe(nil)); end
|
1238
1231
|
|
1239
1232
|
# source://parser//lib/parser/builders/default.rb#581
|
1240
1233
|
def self(token); end
|
1241
1234
|
|
1242
|
-
# source://parser//lib/parser/builders/default.rb#
|
1235
|
+
# source://parser//lib/parser/builders/default.rb#975
|
1243
1236
|
def shadowarg(name_t); end
|
1244
1237
|
|
1245
1238
|
# source://parser//lib/parser/builders/default.rb#445
|
@@ -1266,7 +1259,7 @@ class Parser::Builders::Default
|
|
1266
1259
|
# source://parser//lib/parser/builders/default.rb#469
|
1267
1260
|
def symbols_compose(begin_t, parts, end_t); end
|
1268
1261
|
|
1269
|
-
# source://parser//lib/parser/builders/default.rb#
|
1262
|
+
# source://parser//lib/parser/builders/default.rb#1297
|
1270
1263
|
def ternary(cond, question_t, if_true, colon_t, if_false); end
|
1271
1264
|
|
1272
1265
|
# source://parser//lib/parser/builders/default.rb#260
|
@@ -1275,16 +1268,16 @@ class Parser::Builders::Default
|
|
1275
1268
|
# source://parser//lib/parser/builders/default.rb#294
|
1276
1269
|
def unary_num(unary_t, numeric); end
|
1277
1270
|
|
1278
|
-
# source://parser//lib/parser/builders/default.rb#
|
1271
|
+
# source://parser//lib/parser/builders/default.rb#1243
|
1279
1272
|
def unary_op(op_t, receiver); end
|
1280
1273
|
|
1281
|
-
# source://parser//lib/parser/builders/default.rb#
|
1274
|
+
# source://parser//lib/parser/builders/default.rb#873
|
1282
1275
|
def undef_method(undef_t, names); end
|
1283
1276
|
|
1284
|
-
# source://parser//lib/parser/builders/default.rb#
|
1277
|
+
# source://parser//lib/parser/builders/default.rb#1504
|
1285
1278
|
def unless_guard(unless_t, unless_body); end
|
1286
1279
|
|
1287
|
-
# source://parser//lib/parser/builders/default.rb#
|
1280
|
+
# source://parser//lib/parser/builders/default.rb#1304
|
1288
1281
|
def when(when_t, patterns, then_t, body); end
|
1289
1282
|
|
1290
1283
|
# source://parser//lib/parser/builders/default.rb#455
|
@@ -1298,184 +1291,184 @@ class Parser::Builders::Default
|
|
1298
1291
|
|
1299
1292
|
private
|
1300
1293
|
|
1301
|
-
# source://parser//lib/parser/builders/default.rb#
|
1294
|
+
# source://parser//lib/parser/builders/default.rb#1821
|
1302
1295
|
def arg_name_collides?(this_name, that_name); end
|
1303
1296
|
|
1304
|
-
# source://parser//lib/parser/builders/default.rb#
|
1297
|
+
# source://parser//lib/parser/builders/default.rb#2017
|
1305
1298
|
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
|
1306
1299
|
|
1307
|
-
# source://parser//lib/parser/builders/default.rb#
|
1300
|
+
# source://parser//lib/parser/builders/default.rb#1991
|
1308
1301
|
def binary_op_map(left_e, op_t, right_e); end
|
1309
1302
|
|
1310
|
-
# source://parser//lib/parser/builders/default.rb#
|
1303
|
+
# source://parser//lib/parser/builders/default.rb#2119
|
1311
1304
|
def block_map(receiver_l, begin_t, end_t); end
|
1312
1305
|
|
1313
|
-
# source://parser//lib/parser/builders/default.rb#
|
1306
|
+
# source://parser//lib/parser/builders/default.rb#1796
|
1314
1307
|
def check_assignment_to_numparam(name, loc); end
|
1315
1308
|
|
1316
|
-
# source://parser//lib/parser/builders/default.rb#
|
1309
|
+
# source://parser//lib/parser/builders/default.rb#1688
|
1317
1310
|
def check_condition(cond); end
|
1318
1311
|
|
1319
|
-
# source://parser//lib/parser/builders/default.rb#
|
1312
|
+
# source://parser//lib/parser/builders/default.rb#1767
|
1320
1313
|
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
|
1321
1314
|
|
1322
|
-
# source://parser//lib/parser/builders/default.rb#
|
1315
|
+
# source://parser//lib/parser/builders/default.rb#1742
|
1323
1316
|
def check_duplicate_args(args, map = T.unsafe(nil)); end
|
1324
1317
|
|
1325
|
-
# source://parser//lib/parser/builders/default.rb#
|
1318
|
+
# source://parser//lib/parser/builders/default.rb#1854
|
1326
1319
|
def check_duplicate_pattern_key(name, loc); end
|
1327
1320
|
|
1328
|
-
# source://parser//lib/parser/builders/default.rb#
|
1321
|
+
# source://parser//lib/parser/builders/default.rb#1844
|
1329
1322
|
def check_duplicate_pattern_variable(name, loc); end
|
1330
1323
|
|
1331
|
-
# source://parser//lib/parser/builders/default.rb#
|
1324
|
+
# source://parser//lib/parser/builders/default.rb#1836
|
1332
1325
|
def check_lvar_name(name, loc); end
|
1333
1326
|
|
1334
|
-
# source://parser//lib/parser/builders/default.rb#
|
1327
|
+
# source://parser//lib/parser/builders/default.rb#1811
|
1335
1328
|
def check_reserved_for_numparam(name, loc); end
|
1336
1329
|
|
1337
|
-
# source://parser//lib/parser/builders/default.rb#
|
1330
|
+
# source://parser//lib/parser/builders/default.rb#2280
|
1338
1331
|
def collapse_string_parts?(parts); end
|
1339
1332
|
|
1340
|
-
# source://parser//lib/parser/builders/default.rb#
|
1333
|
+
# source://parser//lib/parser/builders/default.rb#1942
|
1341
1334
|
def collection_map(begin_t, parts, end_t); end
|
1342
1335
|
|
1343
|
-
# source://parser//lib/parser/builders/default.rb#
|
1336
|
+
# source://parser//lib/parser/builders/default.rb#2146
|
1344
1337
|
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
|
1345
1338
|
|
1346
|
-
# source://parser//lib/parser/builders/default.rb#
|
1339
|
+
# source://parser//lib/parser/builders/default.rb#1977
|
1347
1340
|
def constant_map(scope, colon2_t, name_t); end
|
1348
1341
|
|
1349
|
-
# source://parser//lib/parser/builders/default.rb#
|
1342
|
+
# source://parser//lib/parser/builders/default.rb#2050
|
1350
1343
|
def definition_map(keyword_t, operator_t, name_t, end_t); end
|
1351
1344
|
|
1352
|
-
# source://parser//lib/parser/builders/default.rb#
|
1345
|
+
# source://parser//lib/parser/builders/default.rb#1883
|
1353
1346
|
def delimited_string_map(string_t); end
|
1354
1347
|
|
1355
|
-
# source://parser//lib/parser/builders/default.rb#
|
1348
|
+
# source://parser//lib/parser/builders/default.rb#2302
|
1356
1349
|
def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
|
1357
1350
|
|
1358
|
-
# source://parser//lib/parser/builders/default.rb#
|
1351
|
+
# source://parser//lib/parser/builders/default.rb#2190
|
1359
1352
|
def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
|
1360
1353
|
|
1361
|
-
# source://parser//lib/parser/builders/default.rb#
|
1354
|
+
# source://parser//lib/parser/builders/default.rb#2056
|
1362
1355
|
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
|
1363
1356
|
|
1364
|
-
# source://parser//lib/parser/builders/default.rb#
|
1357
|
+
# source://parser//lib/parser/builders/default.rb#1938
|
1365
1358
|
def expr_map(loc); end
|
1366
1359
|
|
1367
|
-
# source://parser//lib/parser/builders/default.rb#
|
1360
|
+
# source://parser//lib/parser/builders/default.rb#2171
|
1368
1361
|
def for_map(keyword_t, in_t, begin_t, end_t); end
|
1369
1362
|
|
1370
|
-
# source://parser//lib/parser/builders/default.rb#
|
1363
|
+
# source://parser//lib/parser/builders/default.rb#2218
|
1371
1364
|
def guard_map(keyword_t, guard_body_e); end
|
1372
1365
|
|
1373
|
-
# source://parser//lib/parser/builders/default.rb#
|
1366
|
+
# source://parser//lib/parser/builders/default.rb#2108
|
1374
1367
|
def index_map(receiver_e, lbrack_t, rbrack_t); end
|
1375
1368
|
|
1376
|
-
# source://parser//lib/parser/builders/default.rb#
|
1369
|
+
# source://parser//lib/parser/builders/default.rb#1874
|
1377
1370
|
def join_exprs(left_expr, right_expr); end
|
1378
1371
|
|
1379
|
-
# source://parser//lib/parser/builders/default.rb#
|
1372
|
+
# source://parser//lib/parser/builders/default.rb#2124
|
1380
1373
|
def keyword_map(keyword_t, begin_t, args, end_t); end
|
1381
1374
|
|
1382
|
-
# source://parser//lib/parser/builders/default.rb#
|
1375
|
+
# source://parser//lib/parser/builders/default.rb#2141
|
1383
1376
|
def keyword_mod_map(pre_e, keyword_t, post_e); end
|
1384
1377
|
|
1385
|
-
# source://parser//lib/parser/builders/default.rb#
|
1378
|
+
# source://parser//lib/parser/builders/default.rb#2027
|
1386
1379
|
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
|
1387
1380
|
|
1388
|
-
# source://parser//lib/parser/builders/default.rb#
|
1381
|
+
# source://parser//lib/parser/builders/default.rb#2333
|
1389
1382
|
def kwargs?(node); end
|
1390
1383
|
|
1391
|
-
# source://parser//lib/parser/builders/default.rb#
|
1384
|
+
# source://parser//lib/parser/builders/default.rb#2297
|
1392
1385
|
def loc(token); end
|
1393
1386
|
|
1394
|
-
# source://parser//lib/parser/builders/default.rb#
|
1387
|
+
# source://parser//lib/parser/builders/default.rb#2040
|
1395
1388
|
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
|
1396
1389
|
|
1397
|
-
# source://parser//lib/parser/builders/default.rb#
|
1390
|
+
# source://parser//lib/parser/builders/default.rb#1866
|
1398
1391
|
def n(type, children, source_map); end
|
1399
1392
|
|
1400
|
-
# source://parser//lib/parser/builders/default.rb#
|
1393
|
+
# source://parser//lib/parser/builders/default.rb#1870
|
1401
1394
|
def n0(type, source_map); end
|
1402
1395
|
|
1403
1396
|
# source://parser//lib/parser/builders/default.rb#288
|
1404
1397
|
def numeric(kind, token); end
|
1405
1398
|
|
1406
|
-
# source://parser//lib/parser/builders/default.rb#
|
1399
|
+
# source://parser//lib/parser/builders/default.rb#1908
|
1407
1400
|
def pair_keyword_map(key_t, value_e); end
|
1408
1401
|
|
1409
|
-
# source://parser//lib/parser/builders/default.rb#
|
1402
|
+
# source://parser//lib/parser/builders/default.rb#1923
|
1410
1403
|
def pair_quoted_map(begin_t, end_t, value_e); end
|
1411
1404
|
|
1412
|
-
# source://parser//lib/parser/builders/default.rb#
|
1405
|
+
# source://parser//lib/parser/builders/default.rb#1894
|
1413
1406
|
def prefix_string_map(symbol); end
|
1414
1407
|
|
1415
|
-
# source://parser//lib/parser/builders/default.rb#
|
1408
|
+
# source://parser//lib/parser/builders/default.rb#2005
|
1416
1409
|
def range_map(start_e, op_t, end_e); end
|
1417
1410
|
|
1418
|
-
# source://parser//lib/parser/builders/default.rb#
|
1411
|
+
# source://parser//lib/parser/builders/default.rb#1972
|
1419
1412
|
def regexp_map(begin_t, end_t, options_e); end
|
1420
1413
|
|
1421
|
-
# source://parser//lib/parser/builders/default.rb#
|
1414
|
+
# source://parser//lib/parser/builders/default.rb#2177
|
1422
1415
|
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
|
1423
1416
|
|
1424
|
-
# source://parser//lib/parser/builders/default.rb#
|
1417
|
+
# source://parser//lib/parser/builders/default.rb#2323
|
1425
1418
|
def rewrite_hash_args_to_kwargs(args); end
|
1426
1419
|
|
1427
|
-
# source://parser//lib/parser/builders/default.rb#
|
1420
|
+
# source://parser//lib/parser/builders/default.rb#2090
|
1428
1421
|
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
|
1429
1422
|
|
1430
|
-
# source://parser//lib/parser/builders/default.rb#
|
1423
|
+
# source://parser//lib/parser/builders/default.rb#2113
|
1431
1424
|
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
|
1432
1425
|
|
1433
|
-
# source://parser//lib/parser/builders/default.rb#
|
1426
|
+
# source://parser//lib/parser/builders/default.rb#2064
|
1434
1427
|
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
1435
1428
|
|
1436
|
-
# source://parser//lib/parser/builders/default.rb#
|
1429
|
+
# source://parser//lib/parser/builders/default.rb#2096
|
1437
1430
|
def send_unary_op_map(selector_t, arg_e); end
|
1438
1431
|
|
1439
|
-
# source://parser//lib/parser/builders/default.rb#
|
1432
|
+
# source://parser//lib/parser/builders/default.rb#2249
|
1440
1433
|
def static_regexp(parts, options); end
|
1441
1434
|
|
1442
|
-
# source://parser//lib/parser/builders/default.rb#
|
1435
|
+
# source://parser//lib/parser/builders/default.rb#2269
|
1443
1436
|
def static_regexp_node(node); end
|
1444
1437
|
|
1445
|
-
# source://parser//lib/parser/builders/default.rb#
|
1438
|
+
# source://parser//lib/parser/builders/default.rb#2232
|
1446
1439
|
def static_string(nodes); end
|
1447
1440
|
|
1448
|
-
# source://parser//lib/parser/builders/default.rb#
|
1441
|
+
# source://parser//lib/parser/builders/default.rb#1958
|
1449
1442
|
def string_map(begin_t, parts, end_t); end
|
1450
1443
|
|
1451
|
-
# source://parser//lib/parser/builders/default.rb#
|
1444
|
+
# source://parser//lib/parser/builders/default.rb#2289
|
1452
1445
|
def string_value(token); end
|
1453
1446
|
|
1454
|
-
# source://parser//lib/parser/builders/default.rb#
|
1447
|
+
# source://parser//lib/parser/builders/default.rb#2166
|
1455
1448
|
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
|
1456
1449
|
|
1457
|
-
# source://parser//lib/parser/builders/default.rb#
|
1450
|
+
# source://parser//lib/parser/builders/default.rb#1879
|
1458
1451
|
def token_map(token); end
|
1459
1452
|
|
1460
|
-
# source://parser//lib/parser/builders/default.rb#
|
1453
|
+
# source://parser//lib/parser/builders/default.rb#1995
|
1461
1454
|
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
|
1462
1455
|
|
1463
|
-
# source://parser//lib/parser/builders/default.rb#
|
1456
|
+
# source://parser//lib/parser/builders/default.rb#1903
|
1464
1457
|
def unquoted_map(token); end
|
1465
1458
|
|
1466
|
-
# source://parser//lib/parser/builders/default.rb#
|
1459
|
+
# source://parser//lib/parser/builders/default.rb#2311
|
1467
1460
|
def validate_definee(definee); end
|
1468
1461
|
|
1469
|
-
# source://parser//lib/parser/builders/default.rb#
|
1462
|
+
# source://parser//lib/parser/builders/default.rb#1781
|
1470
1463
|
def validate_no_forward_arg_after_restarg(args); end
|
1471
1464
|
|
1472
|
-
# source://parser//lib/parser/builders/default.rb#
|
1465
|
+
# source://parser//lib/parser/builders/default.rb#2285
|
1473
1466
|
def value(token); end
|
1474
1467
|
|
1475
|
-
# source://parser//lib/parser/builders/default.rb#
|
1468
|
+
# source://parser//lib/parser/builders/default.rb#2084
|
1476
1469
|
def var_send_map(variable_e); end
|
1477
1470
|
|
1478
|
-
# source://parser//lib/parser/builders/default.rb#
|
1471
|
+
# source://parser//lib/parser/builders/default.rb#1987
|
1479
1472
|
def variable_map(name_t); end
|
1480
1473
|
|
1481
1474
|
class << self
|
@@ -1671,9 +1664,6 @@ class Parser::CurrentArgStack
|
|
1671
1664
|
def top; end
|
1672
1665
|
end
|
1673
1666
|
|
1674
|
-
# source://parser//lib/parser/current.rb#111
|
1675
|
-
Parser::CurrentRuby = Parser::Ruby32
|
1676
|
-
|
1677
1667
|
# @api private
|
1678
1668
|
#
|
1679
1669
|
# source://parser//lib/parser/deprecation.rb#7
|
@@ -2090,69 +2080,69 @@ class Parser::Lexer
|
|
2090
2080
|
|
2091
2081
|
protected
|
2092
2082
|
|
2093
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2083
|
+
# source://parser//lib/parser/lexer-F1.rb#14692
|
2094
2084
|
def arg_or_cmdarg(cmd_state); end
|
2095
2085
|
|
2096
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2086
|
+
# source://parser//lib/parser/lexer-F1.rb#14754
|
2097
2087
|
def check_ambiguous_slash(tm); end
|
2098
2088
|
|
2099
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2089
|
+
# source://parser//lib/parser/lexer-F1.rb#14716
|
2100
2090
|
def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
|
2101
2091
|
|
2102
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2092
|
+
# source://parser//lib/parser/lexer-F1.rb#14722
|
2103
2093
|
def e_lbrace; end
|
2104
2094
|
|
2105
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2095
|
+
# source://parser//lib/parser/lexer-F1.rb#14666
|
2106
2096
|
def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2107
2097
|
|
2108
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2098
|
+
# source://parser//lib/parser/lexer-F1.rb#14775
|
2109
2099
|
def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2110
2100
|
|
2111
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2101
|
+
# source://parser//lib/parser/lexer-F1.rb#14803
|
2112
2102
|
def emit_colon_with_digits(p, tm, diag_msg); end
|
2113
2103
|
|
2114
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2104
|
+
# source://parser//lib/parser/lexer-F1.rb#14700
|
2115
2105
|
def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2116
2106
|
|
2117
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2107
|
+
# source://parser//lib/parser/lexer-F1.rb#14712
|
2118
2108
|
def emit_comment_from_range(p, pe); end
|
2119
2109
|
|
2120
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2110
|
+
# source://parser//lib/parser/lexer-F1.rb#14682
|
2121
2111
|
def emit_do(do_block = T.unsafe(nil)); end
|
2122
2112
|
|
2123
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2113
|
+
# source://parser//lib/parser/lexer-F1.rb#14765
|
2124
2114
|
def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2125
2115
|
|
2126
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2116
|
+
# source://parser//lib/parser/lexer-F1.rb#14783
|
2127
2117
|
def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2128
2118
|
|
2129
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2119
|
+
# source://parser//lib/parser/lexer-F1.rb#14791
|
2130
2120
|
def emit_rbrace_rparen_rbrack; end
|
2131
2121
|
|
2132
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2122
|
+
# source://parser//lib/parser/lexer-F1.rb#14813
|
2133
2123
|
def emit_singleton_class; end
|
2134
2124
|
|
2135
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2125
|
+
# source://parser//lib/parser/lexer-F1.rb#14676
|
2136
2126
|
def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2137
2127
|
|
2138
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2128
|
+
# source://parser//lib/parser/lexer-F1.rb#14731
|
2139
2129
|
def numeric_literal_int; end
|
2140
2130
|
|
2141
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2131
|
+
# source://parser//lib/parser/lexer-F1.rb#14750
|
2142
2132
|
def on_newline(p); end
|
2143
2133
|
|
2144
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2134
|
+
# source://parser//lib/parser/lexer-F1.rb#14662
|
2145
2135
|
def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2146
2136
|
|
2147
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2137
|
+
# source://parser//lib/parser/lexer-F1.rb#14653
|
2148
2138
|
def stack_pop; end
|
2149
2139
|
|
2150
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2140
|
+
# source://parser//lib/parser/lexer-F1.rb#14658
|
2151
2141
|
def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2152
2142
|
|
2153
2143
|
# @return [Boolean]
|
2154
2144
|
#
|
2155
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2145
|
+
# source://parser//lib/parser/lexer-F1.rb#14649
|
2156
2146
|
def version?(*versions); end
|
2157
2147
|
|
2158
2148
|
class << self
|
@@ -2499,13 +2489,13 @@ end
|
|
2499
2489
|
# source://parser//lib/parser/lexer/dedenter.rb#7
|
2500
2490
|
Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer)
|
2501
2491
|
|
2502
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2492
|
+
# source://parser//lib/parser/lexer-F1.rb#14860
|
2503
2493
|
Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
|
2504
2494
|
|
2505
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2495
|
+
# source://parser//lib/parser/lexer-F1.rb#14846
|
2506
2496
|
Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
2507
2497
|
|
2508
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2498
|
+
# source://parser//lib/parser/lexer-F1.rb#14853
|
2509
2499
|
Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash)
|
2510
2500
|
|
2511
2501
|
# source://parser//lib/parser/lexer-F1.rb#8362
|
@@ -2513,108 +2503,114 @@ Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash)
|
|
2513
2503
|
|
2514
2504
|
# source://parser//lib/parser/lexer/literal.rb#6
|
2515
2505
|
class Parser::Lexer::Literal
|
2516
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2506
|
+
# source://parser//lib/parser/lexer/literal.rb#42
|
2517
2507
|
def initialize(lexer, str_type, delimiter, str_s, heredoc_e = T.unsafe(nil), indent = T.unsafe(nil), dedent_body = T.unsafe(nil), label_allowed = T.unsafe(nil)); end
|
2518
2508
|
|
2519
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2509
|
+
# source://parser//lib/parser/lexer/literal.rb#116
|
2520
2510
|
def backslash_delimited?; end
|
2521
2511
|
|
2522
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2512
|
+
# source://parser//lib/parser/lexer/literal.rb#39
|
2523
2513
|
def dedent_level; end
|
2524
2514
|
|
2525
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2515
|
+
# source://parser//lib/parser/lexer/literal.rb#191
|
2526
2516
|
def end_interp_brace_and_try_closing; end
|
2527
2517
|
|
2528
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2518
|
+
# source://parser//lib/parser/lexer/literal.rb#218
|
2529
2519
|
def extend_content; end
|
2530
2520
|
|
2531
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2521
|
+
# source://parser//lib/parser/lexer/literal.rb#222
|
2532
2522
|
def extend_space(ts, te); end
|
2533
2523
|
|
2534
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2524
|
+
# source://parser//lib/parser/lexer/literal.rb#197
|
2535
2525
|
def extend_string(string, ts, te); end
|
2536
2526
|
|
2537
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2527
|
+
# source://parser//lib/parser/lexer/literal.rb#204
|
2538
2528
|
def flush_string; end
|
2539
2529
|
|
2540
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2530
|
+
# source://parser//lib/parser/lexer/literal.rb#104
|
2541
2531
|
def heredoc?; end
|
2542
2532
|
|
2543
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2533
|
+
# source://parser//lib/parser/lexer/literal.rb#39
|
2544
2534
|
def heredoc_e; end
|
2545
2535
|
|
2546
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2536
|
+
# source://parser//lib/parser/lexer/literal.rb#168
|
2547
2537
|
def infer_indent_level(line); end
|
2548
2538
|
|
2549
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2539
|
+
# source://parser//lib/parser/lexer/literal.rb#91
|
2550
2540
|
def interpolate?; end
|
2551
2541
|
|
2552
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2542
|
+
# source://parser//lib/parser/lexer/literal.rb#124
|
2553
2543
|
def munge_escape?(character); end
|
2554
2544
|
|
2555
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2545
|
+
# source://parser//lib/parser/lexer/literal.rb#134
|
2556
2546
|
def nest_and_try_closing(delimiter, ts, te, lookahead = T.unsafe(nil)); end
|
2557
2547
|
|
2558
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2548
|
+
# source://parser//lib/parser/lexer/literal.rb#108
|
2559
2549
|
def plain_heredoc?; end
|
2560
2550
|
|
2561
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2551
|
+
# source://parser//lib/parser/lexer/literal.rb#100
|
2562
2552
|
def regexp?; end
|
2563
2553
|
|
2564
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2554
|
+
# source://parser//lib/parser/lexer/literal.rb#40
|
2565
2555
|
def saved_herebody_s; end
|
2566
2556
|
|
2567
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2557
|
+
# source://parser//lib/parser/lexer/literal.rb#40
|
2568
2558
|
def saved_herebody_s=(_arg0); end
|
2569
2559
|
|
2570
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2560
|
+
# source://parser//lib/parser/lexer/literal.rb#112
|
2571
2561
|
def squiggly_heredoc?; end
|
2572
2562
|
|
2573
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2563
|
+
# source://parser//lib/parser/lexer/literal.rb#187
|
2574
2564
|
def start_interp_brace; end
|
2575
2565
|
|
2576
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2566
|
+
# source://parser//lib/parser/lexer/literal.rb#39
|
2577
2567
|
def str_s; end
|
2578
2568
|
|
2579
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2569
|
+
# source://parser//lib/parser/lexer/literal.rb#232
|
2580
2570
|
def supports_line_continuation_via_slash?; end
|
2581
2571
|
|
2582
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2572
|
+
# source://parser//lib/parser/lexer/literal.rb#120
|
2583
2573
|
def type; end
|
2584
2574
|
|
2585
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2575
|
+
# source://parser//lib/parser/lexer/literal.rb#95
|
2586
2576
|
def words?; end
|
2587
2577
|
|
2588
2578
|
protected
|
2589
2579
|
|
2590
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2580
|
+
# source://parser//lib/parser/lexer/literal.rb#263
|
2591
2581
|
def clear_buffer; end
|
2592
2582
|
|
2593
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2583
|
+
# source://parser//lib/parser/lexer/literal.rb#259
|
2594
2584
|
def coerce_encoding(string); end
|
2595
2585
|
|
2596
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2586
|
+
# source://parser//lib/parser/lexer/literal.rb#238
|
2597
2587
|
def delimiter?(delimiter); end
|
2598
2588
|
|
2599
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2589
|
+
# source://parser//lib/parser/lexer/literal.rb#279
|
2600
2590
|
def emit(token, type, s, e); end
|
2601
2591
|
|
2602
|
-
# source://parser//lib/parser/lexer/literal.rb#
|
2592
|
+
# source://parser//lib/parser/lexer/literal.rb#274
|
2603
2593
|
def emit_start_tok; end
|
2604
2594
|
end
|
2605
2595
|
|
2606
2596
|
# source://parser//lib/parser/lexer/literal.rb#7
|
2607
2597
|
Parser::Lexer::Literal::DELIMITERS = T.let(T.unsafe(nil), Hash)
|
2608
2598
|
|
2599
|
+
# source://parser//lib/parser/lexer/literal.rb#8
|
2600
|
+
Parser::Lexer::Literal::SPACE = T.let(T.unsafe(nil), Integer)
|
2601
|
+
|
2609
2602
|
# source://parser//lib/parser/lexer/literal.rb#9
|
2603
|
+
Parser::Lexer::Literal::TAB = T.let(T.unsafe(nil), Integer)
|
2604
|
+
|
2605
|
+
# source://parser//lib/parser/lexer/literal.rb#11
|
2610
2606
|
Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash)
|
2611
2607
|
|
2612
2608
|
# Mapping of strings to parser tokens.
|
2613
2609
|
#
|
2614
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2610
|
+
# source://parser//lib/parser/lexer-F1.rb#14820
|
2615
2611
|
Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash)
|
2616
2612
|
|
2617
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2613
|
+
# source://parser//lib/parser/lexer-F1.rb#14840
|
2618
2614
|
Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash)
|
2619
2615
|
|
2620
2616
|
# source://parser//lib/parser/lexer/stack_state.rb#5
|
@@ -3200,7 +3196,7 @@ Parser::MaxNumparamStack::ORDINARY_PARAMS = T.let(T.unsafe(nil), Integer)
|
|
3200
3196
|
|
3201
3197
|
# @api private
|
3202
3198
|
#
|
3203
|
-
# source://parser//lib/parser/messages.rb#
|
3199
|
+
# source://parser//lib/parser/messages.rb#112
|
3204
3200
|
module Parser::Messages
|
3205
3201
|
class << self
|
3206
3202
|
# Formats the message, returns a raw template if there's nothing to interpolate
|
@@ -3210,7 +3206,7 @@ module Parser::Messages
|
|
3210
3206
|
#
|
3211
3207
|
# @api private
|
3212
3208
|
#
|
3213
|
-
# source://parser//lib/parser/messages.rb#
|
3209
|
+
# source://parser//lib/parser/messages.rb#119
|
3214
3210
|
def compile(reason, arguments); end
|
3215
3211
|
end
|
3216
3212
|
end
|
@@ -3315,2027 +3311,235 @@ end
|
|
3315
3311
|
# source://parser//lib/parser/rewriter.rb#91
|
3316
3312
|
Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
3317
3313
|
|
3318
|
-
#
|
3319
|
-
|
3320
|
-
|
3321
|
-
|
3322
|
-
# source://parser//lib/parser/ruby32.rb#8421
|
3323
|
-
def _reduce_1(val, _values, result); end
|
3324
|
-
|
3325
|
-
# source://parser//lib/parser/ruby32.rb#8475
|
3326
|
-
def _reduce_10(val, _values, result); end
|
3327
|
-
|
3328
|
-
# source://parser//lib/parser/ruby32.rb#9110
|
3329
|
-
def _reduce_100(val, _values, result); end
|
3314
|
+
# @api public
|
3315
|
+
#
|
3316
|
+
# source://parser//lib/parser.rb#30
|
3317
|
+
module Parser::Source; end
|
3330
3318
|
|
3331
|
-
|
3319
|
+
# A buffer with source code. {Buffer} contains the source code itself,
|
3320
|
+
# associated location information (name and first line), and takes care
|
3321
|
+
# of encoding.
|
3322
|
+
#
|
3323
|
+
# A source buffer is immutable once populated.
|
3324
|
+
#
|
3325
|
+
# @api public
|
3326
|
+
#
|
3327
|
+
# source://parser//lib/parser/source/buffer.rb#25
|
3328
|
+
class Parser::Source::Buffer
|
3329
|
+
# @api public
|
3330
|
+
# @return [Buffer] a new instance of Buffer
|
3332
3331
|
#
|
3333
|
-
# source://parser//lib/parser/
|
3334
|
-
def
|
3335
|
-
|
3336
|
-
# source://parser//lib/parser/ruby32.rb#9125
|
3337
|
-
def _reduce_103(val, _values, result); end
|
3338
|
-
|
3339
|
-
# source://parser//lib/parser/ruby32.rb#9131
|
3340
|
-
def _reduce_104(val, _values, result); end
|
3341
|
-
|
3342
|
-
# source://parser//lib/parser/ruby32.rb#9137
|
3343
|
-
def _reduce_105(val, _values, result); end
|
3344
|
-
|
3345
|
-
# source://parser//lib/parser/ruby32.rb#9143
|
3346
|
-
def _reduce_106(val, _values, result); end
|
3347
|
-
|
3348
|
-
# source://parser//lib/parser/ruby32.rb#9149
|
3349
|
-
def _reduce_107(val, _values, result); end
|
3350
|
-
|
3351
|
-
# source://parser//lib/parser/ruby32.rb#9155
|
3352
|
-
def _reduce_108(val, _values, result); end
|
3353
|
-
|
3354
|
-
# source://parser//lib/parser/ruby32.rb#9161
|
3355
|
-
def _reduce_109(val, _values, result); end
|
3356
|
-
|
3357
|
-
# source://parser//lib/parser/ruby32.rb#8481
|
3358
|
-
def _reduce_11(val, _values, result); end
|
3359
|
-
|
3360
|
-
# source://parser//lib/parser/ruby32.rb#9167
|
3361
|
-
def _reduce_110(val, _values, result); end
|
3362
|
-
|
3363
|
-
# source://parser//lib/parser/ruby32.rb#9177
|
3364
|
-
def _reduce_111(val, _values, result); end
|
3365
|
-
|
3366
|
-
# source://parser//lib/parser/ruby32.rb#9183
|
3367
|
-
def _reduce_112(val, _values, result); end
|
3368
|
-
|
3369
|
-
# source://parser//lib/parser/ruby32.rb#9193
|
3370
|
-
def _reduce_113(val, _values, result); end
|
3371
|
-
|
3372
|
-
# source://parser//lib/parser/ruby32.rb#9200
|
3373
|
-
def _reduce_114(val, _values, result); end
|
3374
|
-
|
3375
|
-
# source://parser//lib/parser/ruby32.rb#9207
|
3376
|
-
def _reduce_115(val, _values, result); end
|
3377
|
-
|
3378
|
-
# source://parser//lib/parser/ruby32.rb#9213
|
3379
|
-
def _reduce_116(val, _values, result); end
|
3380
|
-
|
3381
|
-
# source://parser//lib/parser/ruby32.rb#9219
|
3382
|
-
def _reduce_117(val, _values, result); end
|
3383
|
-
|
3384
|
-
# source://parser//lib/parser/ruby32.rb#9225
|
3385
|
-
def _reduce_118(val, _values, result); end
|
3332
|
+
# source://parser//lib/parser/source/buffer.rb#105
|
3333
|
+
def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
|
3386
3334
|
|
3387
|
-
# source
|
3388
|
-
|
3335
|
+
# Convert a character index into the source to a column number.
|
3336
|
+
#
|
3337
|
+
# @api private
|
3338
|
+
# @param position [Integer]
|
3339
|
+
# @return [Integer] column
|
3340
|
+
#
|
3341
|
+
# source://parser//lib/parser/source/buffer.rb#242
|
3342
|
+
def column_for_position(position); end
|
3389
3343
|
|
3390
|
-
# source
|
3391
|
-
|
3344
|
+
# Convert a character index into the source to a `[line, column]` tuple.
|
3345
|
+
#
|
3346
|
+
# @api public
|
3347
|
+
# @param position [Integer]
|
3348
|
+
# @return [[Integer, Integer]] `[line, column]`
|
3349
|
+
#
|
3350
|
+
# source://parser//lib/parser/source/buffer.rb#217
|
3351
|
+
def decompose_position(position); end
|
3392
3352
|
|
3393
|
-
#
|
3394
|
-
|
3353
|
+
# First line of the buffer, 1 by default.
|
3354
|
+
#
|
3355
|
+
# @api public
|
3356
|
+
# @return [Integer] first line
|
3357
|
+
#
|
3358
|
+
# source://parser//lib/parser/source/buffer.rb#26
|
3359
|
+
def first_line; end
|
3395
3360
|
|
3396
|
-
#
|
3397
|
-
|
3361
|
+
# @api public
|
3362
|
+
#
|
3363
|
+
# source://parser//lib/parser/source/buffer.rb#312
|
3364
|
+
def freeze; end
|
3398
3365
|
|
3399
|
-
#
|
3400
|
-
|
3366
|
+
# @api public
|
3367
|
+
#
|
3368
|
+
# source://parser//lib/parser/source/buffer.rb#318
|
3369
|
+
def inspect; end
|
3401
3370
|
|
3402
|
-
#
|
3403
|
-
|
3371
|
+
# Number of last line in the buffer
|
3372
|
+
#
|
3373
|
+
# @api public
|
3374
|
+
# @return [Integer]
|
3375
|
+
#
|
3376
|
+
# source://parser//lib/parser/source/buffer.rb#307
|
3377
|
+
def last_line; end
|
3404
3378
|
|
3405
|
-
# source
|
3406
|
-
|
3379
|
+
# Convert a character index into the source to a line number.
|
3380
|
+
#
|
3381
|
+
# @api private
|
3382
|
+
# @param position [Integer]
|
3383
|
+
# @return [Integer] line
|
3384
|
+
#
|
3385
|
+
# source://parser//lib/parser/source/buffer.rb#231
|
3386
|
+
def line_for_position(position); end
|
3407
3387
|
|
3408
|
-
#
|
3409
|
-
|
3388
|
+
# Extract line `lineno` as a new `Range`, taking `first_line` into account.
|
3389
|
+
#
|
3390
|
+
# @api public
|
3391
|
+
# @param lineno [Integer]
|
3392
|
+
# @raise [IndexError] if `lineno` is out of bounds
|
3393
|
+
# @return [Range]
|
3394
|
+
#
|
3395
|
+
# source://parser//lib/parser/source/buffer.rb#284
|
3396
|
+
def line_range(lineno); end
|
3410
3397
|
|
3411
|
-
#
|
3398
|
+
# Buffer name. If the buffer was created from a file, the name corresponds
|
3399
|
+
# to relative path to the file.
|
3412
3400
|
#
|
3413
|
-
#
|
3414
|
-
|
3401
|
+
# @api public
|
3402
|
+
# @return [String] buffer name
|
3403
|
+
#
|
3404
|
+
# source://parser//lib/parser/source/buffer.rb#26
|
3405
|
+
def name; end
|
3415
3406
|
|
3416
|
-
#
|
3417
|
-
|
3407
|
+
# Populate this buffer from a string without encoding autodetection.
|
3408
|
+
#
|
3409
|
+
# @api public
|
3410
|
+
# @param input [String]
|
3411
|
+
# @raise [ArgumentError] if already populated
|
3412
|
+
# @return [String]
|
3413
|
+
#
|
3414
|
+
# source://parser//lib/parser/source/buffer.rb#180
|
3415
|
+
def raw_source=(input); end
|
3418
3416
|
|
3419
|
-
#
|
3420
|
-
|
3417
|
+
# Populate this buffer from correspondingly named file.
|
3418
|
+
#
|
3419
|
+
# @api public
|
3420
|
+
# @example
|
3421
|
+
# Parser::Source::Buffer.new('foo/bar.rb').read
|
3422
|
+
# @raise [ArgumentError] if already populated
|
3423
|
+
# @return [Buffer] self
|
3424
|
+
#
|
3425
|
+
# source://parser//lib/parser/source/buffer.rb#131
|
3426
|
+
def read; end
|
3421
3427
|
|
3422
|
-
#
|
3423
|
-
|
3428
|
+
# @api public
|
3429
|
+
#
|
3430
|
+
# source://parser//lib/parser/source/buffer.rb#194
|
3431
|
+
def slice(start, length = T.unsafe(nil)); end
|
3424
3432
|
|
3425
|
-
#
|
3433
|
+
# Source code contained in this buffer.
|
3434
|
+
#
|
3435
|
+
# @api public
|
3436
|
+
# @raise [RuntimeError] if buffer is not populated yet
|
3437
|
+
# @return [String] source code
|
3426
3438
|
#
|
3427
|
-
# source://parser//lib/parser/
|
3428
|
-
def
|
3439
|
+
# source://parser//lib/parser/source/buffer.rb#145
|
3440
|
+
def source; end
|
3429
3441
|
|
3430
|
-
#
|
3442
|
+
# Populate this buffer from a string with encoding autodetection.
|
3443
|
+
# `input` is mutated if not frozen.
|
3444
|
+
#
|
3445
|
+
# @api public
|
3446
|
+
# @param input [String]
|
3447
|
+
# @raise [ArgumentError] if already populated
|
3448
|
+
# @raise [EncodingError] if `input` includes invalid byte sequence for the encoding
|
3449
|
+
# @return [String]
|
3431
3450
|
#
|
3432
|
-
# source://parser//lib/parser/
|
3433
|
-
def
|
3451
|
+
# source://parser//lib/parser/source/buffer.rb#162
|
3452
|
+
def source=(input); end
|
3434
3453
|
|
3435
|
-
# source
|
3436
|
-
|
3454
|
+
# Extract line `lineno` from source, taking `first_line` into account.
|
3455
|
+
#
|
3456
|
+
# @api public
|
3457
|
+
# @param lineno [Integer]
|
3458
|
+
# @raise [IndexError] if `lineno` is out of bounds
|
3459
|
+
# @return [String]
|
3460
|
+
#
|
3461
|
+
# source://parser//lib/parser/source/buffer.rb#273
|
3462
|
+
def source_line(lineno); end
|
3437
3463
|
|
3438
|
-
# source
|
3439
|
-
|
3464
|
+
# Return an `Array` of source code lines.
|
3465
|
+
#
|
3466
|
+
# @api public
|
3467
|
+
# @return [Array<String>]
|
3468
|
+
#
|
3469
|
+
# source://parser//lib/parser/source/buffer.rb#252
|
3470
|
+
def source_lines; end
|
3440
3471
|
|
3441
|
-
#
|
3442
|
-
|
3472
|
+
# @api public
|
3473
|
+
# @return [Range] A range covering the whole source
|
3474
|
+
#
|
3475
|
+
# source://parser//lib/parser/source/buffer.rb#298
|
3476
|
+
def source_range; end
|
3443
3477
|
|
3444
|
-
|
3445
|
-
def _reduce_15(val, _values, result); end
|
3478
|
+
private
|
3446
3479
|
|
3447
|
-
#
|
3448
|
-
|
3480
|
+
# @api public
|
3481
|
+
#
|
3482
|
+
# source://parser//lib/parser/source/buffer.rb#348
|
3483
|
+
def bsearch(line_begins, position); end
|
3449
3484
|
|
3450
|
-
#
|
3485
|
+
# @api public
|
3451
3486
|
#
|
3452
|
-
# source://parser//lib/parser/
|
3453
|
-
def
|
3487
|
+
# source://parser//lib/parser/source/buffer.rb#325
|
3488
|
+
def line_begins; end
|
3454
3489
|
|
3455
|
-
#
|
3456
|
-
|
3490
|
+
# @api public
|
3491
|
+
#
|
3492
|
+
# source://parser//lib/parser/source/buffer.rb#339
|
3493
|
+
def line_index_for_position(position); end
|
3457
3494
|
|
3458
|
-
|
3459
|
-
|
3495
|
+
class << self
|
3496
|
+
# Try to recognize encoding of `string` as Ruby would, i.e. by looking for
|
3497
|
+
# magic encoding comment or UTF-8 BOM. `string` can be in any encoding.
|
3498
|
+
#
|
3499
|
+
# @api public
|
3500
|
+
# @param string [String]
|
3501
|
+
# @return [String, nil] encoding name, if recognized
|
3502
|
+
#
|
3503
|
+
# source://parser//lib/parser/source/buffer.rb#51
|
3504
|
+
def recognize_encoding(string); end
|
3460
3505
|
|
3461
|
-
|
3462
|
-
|
3506
|
+
# Recognize encoding of `input` and process it so it could be lexed.
|
3507
|
+
#
|
3508
|
+
# * If `input` does not contain BOM or magic encoding comment, it is
|
3509
|
+
# kept in the original encoding.
|
3510
|
+
# * If the detected encoding is binary, `input` is kept in binary.
|
3511
|
+
# * Otherwise, `input` is re-encoded into UTF-8 and returned as a
|
3512
|
+
# new string.
|
3513
|
+
#
|
3514
|
+
# This method mutates the encoding of `input`, but not its content.
|
3515
|
+
#
|
3516
|
+
# @api public
|
3517
|
+
# @param input [String]
|
3518
|
+
# @raise [EncodingError]
|
3519
|
+
# @return [String]
|
3520
|
+
#
|
3521
|
+
# source://parser//lib/parser/source/buffer.rb#90
|
3522
|
+
def reencode_string(input); end
|
3523
|
+
end
|
3524
|
+
end
|
3463
3525
|
|
3464
|
-
|
3465
|
-
|
3526
|
+
# @api private
|
3527
|
+
#
|
3528
|
+
# source://parser//lib/parser/source/buffer.rb#31
|
3529
|
+
Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
|
3466
3530
|
|
3467
|
-
|
3531
|
+
# A comment in the source code.
|
3532
|
+
#
|
3533
|
+
# @api public
|
3534
|
+
#
|
3535
|
+
# source://parser//lib/parser/source/comment.rb#17
|
3536
|
+
class Parser::Source::Comment
|
3537
|
+
# @api public
|
3538
|
+
# @param range [Parser::Source::Range]
|
3539
|
+
# @return [Comment] a new instance of Comment
|
3468
3540
|
#
|
3469
|
-
# source://parser//lib/parser/
|
3470
|
-
def
|
3471
|
-
|
3472
|
-
# source://parser//lib/parser/ruby32.rb#9479
|
3473
|
-
def _reduce_212(val, _values, result); end
|
3474
|
-
|
3475
|
-
# source://parser//lib/parser/ruby32.rb#9485
|
3476
|
-
def _reduce_213(val, _values, result); end
|
3477
|
-
|
3478
|
-
# source://parser//lib/parser/ruby32.rb#9494
|
3479
|
-
def _reduce_214(val, _values, result); end
|
3480
|
-
|
3481
|
-
# source://parser//lib/parser/ruby32.rb#9503
|
3482
|
-
def _reduce_215(val, _values, result); end
|
3483
|
-
|
3484
|
-
# source://parser//lib/parser/ruby32.rb#9512
|
3485
|
-
def _reduce_216(val, _values, result); end
|
3486
|
-
|
3487
|
-
# source://parser//lib/parser/ruby32.rb#9521
|
3488
|
-
def _reduce_217(val, _values, result); end
|
3489
|
-
|
3490
|
-
# source://parser//lib/parser/ruby32.rb#9529
|
3491
|
-
def _reduce_218(val, _values, result); end
|
3492
|
-
|
3493
|
-
# source://parser//lib/parser/ruby32.rb#9537
|
3494
|
-
def _reduce_219(val, _values, result); end
|
3495
|
-
|
3496
|
-
# source://parser//lib/parser/ruby32.rb#8556
|
3497
|
-
def _reduce_22(val, _values, result); end
|
3498
|
-
|
3499
|
-
# source://parser//lib/parser/ruby32.rb#9543
|
3500
|
-
def _reduce_220(val, _values, result); end
|
3501
|
-
|
3502
|
-
# source://parser//lib/parser/ruby32.rb#9549
|
3503
|
-
def _reduce_221(val, _values, result); end
|
3504
|
-
|
3505
|
-
# source://parser//lib/parser/ruby32.rb#9555
|
3506
|
-
def _reduce_222(val, _values, result); end
|
3507
|
-
|
3508
|
-
# source://parser//lib/parser/ruby32.rb#9561
|
3509
|
-
def _reduce_223(val, _values, result); end
|
3510
|
-
|
3511
|
-
# source://parser//lib/parser/ruby32.rb#9567
|
3512
|
-
def _reduce_224(val, _values, result); end
|
3513
|
-
|
3514
|
-
# source://parser//lib/parser/ruby32.rb#9573
|
3515
|
-
def _reduce_225(val, _values, result); end
|
3516
|
-
|
3517
|
-
# source://parser//lib/parser/ruby32.rb#9579
|
3518
|
-
def _reduce_226(val, _values, result); end
|
3519
|
-
|
3520
|
-
# source://parser//lib/parser/ruby32.rb#9585
|
3521
|
-
def _reduce_227(val, _values, result); end
|
3522
|
-
|
3523
|
-
# source://parser//lib/parser/ruby32.rb#9591
|
3524
|
-
def _reduce_228(val, _values, result); end
|
3525
|
-
|
3526
|
-
# source://parser//lib/parser/ruby32.rb#9597
|
3527
|
-
def _reduce_229(val, _values, result); end
|
3528
|
-
|
3529
|
-
# source://parser//lib/parser/ruby32.rb#8564
|
3530
|
-
def _reduce_23(val, _values, result); end
|
3531
|
-
|
3532
|
-
# source://parser//lib/parser/ruby32.rb#9603
|
3533
|
-
def _reduce_230(val, _values, result); end
|
3534
|
-
|
3535
|
-
# source://parser//lib/parser/ruby32.rb#9609
|
3536
|
-
def _reduce_231(val, _values, result); end
|
3537
|
-
|
3538
|
-
# source://parser//lib/parser/ruby32.rb#9615
|
3539
|
-
def _reduce_232(val, _values, result); end
|
3540
|
-
|
3541
|
-
# source://parser//lib/parser/ruby32.rb#9623
|
3542
|
-
def _reduce_233(val, _values, result); end
|
3543
|
-
|
3544
|
-
# source://parser//lib/parser/ruby32.rb#9629
|
3545
|
-
def _reduce_234(val, _values, result); end
|
3546
|
-
|
3547
|
-
# source://parser//lib/parser/ruby32.rb#9635
|
3548
|
-
def _reduce_235(val, _values, result); end
|
3549
|
-
|
3550
|
-
# source://parser//lib/parser/ruby32.rb#9641
|
3551
|
-
def _reduce_236(val, _values, result); end
|
3552
|
-
|
3553
|
-
# source://parser//lib/parser/ruby32.rb#9647
|
3554
|
-
def _reduce_237(val, _values, result); end
|
3555
|
-
|
3556
|
-
# source://parser//lib/parser/ruby32.rb#9653
|
3557
|
-
def _reduce_238(val, _values, result); end
|
3558
|
-
|
3559
|
-
# source://parser//lib/parser/ruby32.rb#8570
|
3560
|
-
def _reduce_24(val, _values, result); end
|
3561
|
-
|
3562
|
-
# reduce 239 omitted
|
3563
|
-
#
|
3564
|
-
# source://parser//lib/parser/ruby32.rb#9661
|
3565
|
-
def _reduce_240(val, _values, result); end
|
3566
|
-
|
3567
|
-
# source://parser//lib/parser/ruby32.rb#9667
|
3568
|
-
def _reduce_241(val, _values, result); end
|
3569
|
-
|
3570
|
-
# source://parser//lib/parser/ruby32.rb#9673
|
3571
|
-
def _reduce_242(val, _values, result); end
|
3572
|
-
|
3573
|
-
# source://parser//lib/parser/ruby32.rb#9679
|
3574
|
-
def _reduce_243(val, _values, result); end
|
3575
|
-
|
3576
|
-
# source://parser//lib/parser/ruby32.rb#9685
|
3577
|
-
def _reduce_244(val, _values, result); end
|
3578
|
-
|
3579
|
-
# source://parser//lib/parser/ruby32.rb#9691
|
3580
|
-
def _reduce_245(val, _values, result); end
|
3581
|
-
|
3582
|
-
# source://parser//lib/parser/ruby32.rb#9697
|
3583
|
-
def _reduce_246(val, _values, result); end
|
3584
|
-
|
3585
|
-
# source://parser//lib/parser/ruby32.rb#9703
|
3586
|
-
def _reduce_247(val, _values, result); end
|
3587
|
-
|
3588
|
-
# source://parser//lib/parser/ruby32.rb#9709
|
3589
|
-
def _reduce_248(val, _values, result); end
|
3590
|
-
|
3591
|
-
# source://parser//lib/parser/ruby32.rb#9715
|
3592
|
-
def _reduce_249(val, _values, result); end
|
3593
|
-
|
3594
|
-
# source://parser//lib/parser/ruby32.rb#8576
|
3595
|
-
def _reduce_25(val, _values, result); end
|
3596
|
-
|
3597
|
-
# source://parser//lib/parser/ruby32.rb#9721
|
3598
|
-
def _reduce_250(val, _values, result); end
|
3599
|
-
|
3600
|
-
# source://parser//lib/parser/ruby32.rb#9727
|
3601
|
-
def _reduce_251(val, _values, result); end
|
3602
|
-
|
3603
|
-
# source://parser//lib/parser/ruby32.rb#9733
|
3604
|
-
def _reduce_252(val, _values, result); end
|
3605
|
-
|
3606
|
-
# source://parser//lib/parser/ruby32.rb#9740
|
3607
|
-
def _reduce_253(val, _values, result); end
|
3608
|
-
|
3609
|
-
# source://parser//lib/parser/ruby32.rb#9747
|
3610
|
-
def _reduce_254(val, _values, result); end
|
3611
|
-
|
3612
|
-
# source://parser//lib/parser/ruby32.rb#9761
|
3613
|
-
def _reduce_255(val, _values, result); end
|
3614
|
-
|
3615
|
-
# source://parser//lib/parser/ruby32.rb#9781
|
3616
|
-
def _reduce_256(val, _values, result); end
|
3617
|
-
|
3618
|
-
# source://parser//lib/parser/ruby32.rb#9795
|
3619
|
-
def _reduce_257(val, _values, result); end
|
3620
|
-
|
3621
|
-
# source://parser//lib/parser/ruby32.rb#8583
|
3622
|
-
def _reduce_26(val, _values, result); end
|
3623
|
-
|
3624
|
-
# reduce 262 omitted
|
3625
|
-
#
|
3626
|
-
# source://parser//lib/parser/ruby32.rb#9825
|
3627
|
-
def _reduce_263(val, _values, result); end
|
3628
|
-
|
3629
|
-
# source://parser//lib/parser/ruby32.rb#9831
|
3630
|
-
def _reduce_264(val, _values, result); end
|
3631
|
-
|
3632
|
-
# reduce 267 omitted
|
3633
|
-
#
|
3634
|
-
# source://parser//lib/parser/ruby32.rb#9843
|
3635
|
-
def _reduce_268(val, _values, result); end
|
3636
|
-
|
3637
|
-
# source://parser//lib/parser/ruby32.rb#9849
|
3638
|
-
def _reduce_269(val, _values, result); end
|
3639
|
-
|
3640
|
-
# source://parser//lib/parser/ruby32.rb#8590
|
3641
|
-
def _reduce_27(val, _values, result); end
|
3642
|
-
|
3643
|
-
# reduce 270 omitted
|
3644
|
-
#
|
3645
|
-
# source://parser//lib/parser/ruby32.rb#9857
|
3646
|
-
def _reduce_271(val, _values, result); end
|
3647
|
-
|
3648
|
-
# source://parser//lib/parser/ruby32.rb#9867
|
3649
|
-
def _reduce_272(val, _values, result); end
|
3650
|
-
|
3651
|
-
# source://parser//lib/parser/ruby32.rb#9873
|
3652
|
-
def _reduce_273(val, _values, result); end
|
3653
|
-
|
3654
|
-
# source://parser//lib/parser/ruby32.rb#9883
|
3655
|
-
def _reduce_274(val, _values, result); end
|
3656
|
-
|
3657
|
-
# source://parser//lib/parser/ruby32.rb#9893
|
3658
|
-
def _reduce_275(val, _values, result); end
|
3659
|
-
|
3660
|
-
# reduce 276 omitted
|
3661
|
-
#
|
3662
|
-
# source://parser//lib/parser/ruby32.rb#9901
|
3663
|
-
def _reduce_277(val, _values, result); end
|
3664
|
-
|
3665
|
-
# source://parser//lib/parser/ruby32.rb#8596
|
3666
|
-
def _reduce_28(val, _values, result); end
|
3667
|
-
|
3668
|
-
# reduce 279 omitted
|
3669
|
-
#
|
3670
|
-
# source://parser//lib/parser/ruby32.rb#9911
|
3671
|
-
def _reduce_280(val, _values, result); end
|
3672
|
-
|
3673
|
-
# source://parser//lib/parser/ruby32.rb#9917
|
3674
|
-
def _reduce_281(val, _values, result); end
|
3675
|
-
|
3676
|
-
# source://parser//lib/parser/ruby32.rb#9923
|
3677
|
-
def _reduce_282(val, _values, result); end
|
3678
|
-
|
3679
|
-
# source://parser//lib/parser/ruby32.rb#9929
|
3680
|
-
def _reduce_283(val, _values, result); end
|
3681
|
-
|
3682
|
-
# source://parser//lib/parser/ruby32.rb#9935
|
3683
|
-
def _reduce_284(val, _values, result); end
|
3684
|
-
|
3685
|
-
# source://parser//lib/parser/ruby32.rb#9942
|
3686
|
-
def _reduce_285(val, _values, result); end
|
3687
|
-
|
3688
|
-
# source://parser//lib/parser/ruby32.rb#9950
|
3689
|
-
def _reduce_286(val, _values, result); end
|
3690
|
-
|
3691
|
-
# source://parser//lib/parser/ruby32.rb#9956
|
3692
|
-
def _reduce_287(val, _values, result); end
|
3693
|
-
|
3694
|
-
# source://parser//lib/parser/ruby32.rb#9983
|
3695
|
-
def _reduce_288(val, _values, result); end
|
3696
|
-
|
3697
|
-
# source://parser//lib/parser/ruby32.rb#10004
|
3698
|
-
def _reduce_289(val, _values, result); end
|
3699
|
-
|
3700
|
-
# source://parser//lib/parser/ruby32.rb#8602
|
3701
|
-
def _reduce_29(val, _values, result); end
|
3702
|
-
|
3703
|
-
# source://parser//lib/parser/ruby32.rb#10010
|
3704
|
-
def _reduce_290(val, _values, result); end
|
3705
|
-
|
3706
|
-
# source://parser//lib/parser/ruby32.rb#10020
|
3707
|
-
def _reduce_291(val, _values, result); end
|
3708
|
-
|
3709
|
-
# source://parser//lib/parser/ruby32.rb#10026
|
3710
|
-
def _reduce_292(val, _values, result); end
|
3711
|
-
|
3712
|
-
# source://parser//lib/parser/ruby32.rb#10032
|
3713
|
-
def _reduce_293(val, _values, result); end
|
3714
|
-
|
3715
|
-
# source://parser//lib/parser/ruby32.rb#10038
|
3716
|
-
def _reduce_294(val, _values, result); end
|
3717
|
-
|
3718
|
-
# source://parser//lib/parser/ruby32.rb#10044
|
3719
|
-
def _reduce_295(val, _values, result); end
|
3720
|
-
|
3721
|
-
# source://parser//lib/parser/ruby32.rb#10054
|
3722
|
-
def _reduce_296(val, _values, result); end
|
3723
|
-
|
3724
|
-
# source://parser//lib/parser/ruby32.rb#10060
|
3725
|
-
def _reduce_297(val, _values, result); end
|
3726
|
-
|
3727
|
-
# source://parser//lib/parser/ruby32.rb#10066
|
3728
|
-
def _reduce_298(val, _values, result); end
|
3729
|
-
|
3730
|
-
# source://parser//lib/parser/ruby32.rb#10076
|
3731
|
-
def _reduce_299(val, _values, result); end
|
3732
|
-
|
3733
|
-
# source://parser//lib/parser/ruby32.rb#8437
|
3734
|
-
def _reduce_3(val, _values, result); end
|
3735
|
-
|
3736
|
-
# source://parser//lib/parser/ruby32.rb#8612
|
3737
|
-
def _reduce_30(val, _values, result); end
|
3738
|
-
|
3739
|
-
# reduce 300 omitted
|
3740
|
-
#
|
3741
|
-
# source://parser//lib/parser/ruby32.rb#10084
|
3742
|
-
def _reduce_301(val, _values, result); end
|
3743
|
-
|
3744
|
-
# source://parser//lib/parser/ruby32.rb#10090
|
3745
|
-
def _reduce_302(val, _values, result); end
|
3746
|
-
|
3747
|
-
# source://parser//lib/parser/ruby32.rb#10096
|
3748
|
-
def _reduce_303(val, _values, result); end
|
3749
|
-
|
3750
|
-
# reduce 313 omitted
|
3751
|
-
#
|
3752
|
-
# source://parser//lib/parser/ruby32.rb#10122
|
3753
|
-
def _reduce_314(val, _values, result); end
|
3754
|
-
|
3755
|
-
# source://parser//lib/parser/ruby32.rb#10128
|
3756
|
-
def _reduce_315(val, _values, result); end
|
3757
|
-
|
3758
|
-
# source://parser//lib/parser/ruby32.rb#10134
|
3759
|
-
def _reduce_316(val, _values, result); end
|
3760
|
-
|
3761
|
-
# source://parser//lib/parser/ruby32.rb#10142
|
3762
|
-
def _reduce_317(val, _values, result); end
|
3763
|
-
|
3764
|
-
# source://parser//lib/parser/ruby32.rb#10148
|
3765
|
-
def _reduce_318(val, _values, result); end
|
3766
|
-
|
3767
|
-
# source://parser//lib/parser/ruby32.rb#10154
|
3768
|
-
def _reduce_319(val, _values, result); end
|
3769
|
-
|
3770
|
-
# reduce 31 omitted
|
3771
|
-
#
|
3772
|
-
# source://parser//lib/parser/ruby32.rb#8620
|
3773
|
-
def _reduce_32(val, _values, result); end
|
3774
|
-
|
3775
|
-
# source://parser//lib/parser/ruby32.rb#10160
|
3776
|
-
def _reduce_320(val, _values, result); end
|
3777
|
-
|
3778
|
-
# source://parser//lib/parser/ruby32.rb#10166
|
3779
|
-
def _reduce_321(val, _values, result); end
|
3780
|
-
|
3781
|
-
# source://parser//lib/parser/ruby32.rb#10172
|
3782
|
-
def _reduce_322(val, _values, result); end
|
3783
|
-
|
3784
|
-
# source://parser//lib/parser/ruby32.rb#10178
|
3785
|
-
def _reduce_323(val, _values, result); end
|
3786
|
-
|
3787
|
-
# source://parser//lib/parser/ruby32.rb#10184
|
3788
|
-
def _reduce_324(val, _values, result); end
|
3789
|
-
|
3790
|
-
# source://parser//lib/parser/ruby32.rb#10190
|
3791
|
-
def _reduce_325(val, _values, result); end
|
3792
|
-
|
3793
|
-
# source://parser//lib/parser/ruby32.rb#10196
|
3794
|
-
def _reduce_326(val, _values, result); end
|
3795
|
-
|
3796
|
-
# source://parser//lib/parser/ruby32.rb#10202
|
3797
|
-
def _reduce_327(val, _values, result); end
|
3798
|
-
|
3799
|
-
# source://parser//lib/parser/ruby32.rb#10208
|
3800
|
-
def _reduce_328(val, _values, result); end
|
3801
|
-
|
3802
|
-
# source://parser//lib/parser/ruby32.rb#10214
|
3803
|
-
def _reduce_329(val, _values, result); end
|
3804
|
-
|
3805
|
-
# source://parser//lib/parser/ruby32.rb#8626
|
3806
|
-
def _reduce_33(val, _values, result); end
|
3807
|
-
|
3808
|
-
# source://parser//lib/parser/ruby32.rb#10220
|
3809
|
-
def _reduce_330(val, _values, result); end
|
3810
|
-
|
3811
|
-
# source://parser//lib/parser/ruby32.rb#10226
|
3812
|
-
def _reduce_331(val, _values, result); end
|
3813
|
-
|
3814
|
-
# source://parser//lib/parser/ruby32.rb#10234
|
3815
|
-
def _reduce_332(val, _values, result); end
|
3816
|
-
|
3817
|
-
# source://parser//lib/parser/ruby32.rb#10240
|
3818
|
-
def _reduce_333(val, _values, result); end
|
3819
|
-
|
3820
|
-
# source://parser//lib/parser/ruby32.rb#10246
|
3821
|
-
def _reduce_334(val, _values, result); end
|
3822
|
-
|
3823
|
-
# reduce 335 omitted
|
3824
|
-
#
|
3825
|
-
# source://parser//lib/parser/ruby32.rb#10258
|
3826
|
-
def _reduce_336(val, _values, result); end
|
3827
|
-
|
3828
|
-
# reduce 337 omitted
|
3829
|
-
#
|
3830
|
-
# source://parser//lib/parser/ruby32.rb#10268
|
3831
|
-
def _reduce_338(val, _values, result); end
|
3832
|
-
|
3833
|
-
# source://parser//lib/parser/ruby32.rb#10277
|
3834
|
-
def _reduce_339(val, _values, result); end
|
3835
|
-
|
3836
|
-
# source://parser//lib/parser/ruby32.rb#8633
|
3837
|
-
def _reduce_34(val, _values, result); end
|
3838
|
-
|
3839
|
-
# source://parser//lib/parser/ruby32.rb#10286
|
3840
|
-
def _reduce_340(val, _values, result); end
|
3841
|
-
|
3842
|
-
# source://parser//lib/parser/ruby32.rb#10292
|
3843
|
-
def _reduce_341(val, _values, result); end
|
3844
|
-
|
3845
|
-
# source://parser//lib/parser/ruby32.rb#10298
|
3846
|
-
def _reduce_342(val, _values, result); end
|
3847
|
-
|
3848
|
-
# source://parser//lib/parser/ruby32.rb#10308
|
3849
|
-
def _reduce_343(val, _values, result); end
|
3850
|
-
|
3851
|
-
# source://parser//lib/parser/ruby32.rb#10318
|
3852
|
-
def _reduce_344(val, _values, result); end
|
3853
|
-
|
3854
|
-
# source://parser//lib/parser/ruby32.rb#10328
|
3855
|
-
def _reduce_345(val, _values, result); end
|
3856
|
-
|
3857
|
-
# source://parser//lib/parser/ruby32.rb#10334
|
3858
|
-
def _reduce_346(val, _values, result); end
|
3859
|
-
|
3860
|
-
# source://parser//lib/parser/ruby32.rb#10341
|
3861
|
-
def _reduce_347(val, _values, result); end
|
3862
|
-
|
3863
|
-
# source://parser//lib/parser/ruby32.rb#10357
|
3864
|
-
def _reduce_348(val, _values, result); end
|
3865
|
-
|
3866
|
-
# source://parser//lib/parser/ruby32.rb#10365
|
3867
|
-
def _reduce_349(val, _values, result); end
|
3868
|
-
|
3869
|
-
# source://parser//lib/parser/ruby32.rb#8644
|
3870
|
-
def _reduce_35(val, _values, result); end
|
3871
|
-
|
3872
|
-
# source://parser//lib/parser/ruby32.rb#10377
|
3873
|
-
def _reduce_350(val, _values, result); end
|
3874
|
-
|
3875
|
-
# source://parser//lib/parser/ruby32.rb#10384
|
3876
|
-
def _reduce_351(val, _values, result); end
|
3877
|
-
|
3878
|
-
# source://parser//lib/parser/ruby32.rb#10398
|
3879
|
-
def _reduce_352(val, _values, result); end
|
3880
|
-
|
3881
|
-
# source://parser//lib/parser/ruby32.rb#10410
|
3882
|
-
def _reduce_353(val, _values, result); end
|
3883
|
-
|
3884
|
-
# source://parser//lib/parser/ruby32.rb#10422
|
3885
|
-
def _reduce_354(val, _values, result); end
|
3886
|
-
|
3887
|
-
# source://parser//lib/parser/ruby32.rb#10428
|
3888
|
-
def _reduce_355(val, _values, result); end
|
3889
|
-
|
3890
|
-
# source://parser//lib/parser/ruby32.rb#10434
|
3891
|
-
def _reduce_356(val, _values, result); end
|
3892
|
-
|
3893
|
-
# source://parser//lib/parser/ruby32.rb#10440
|
3894
|
-
def _reduce_357(val, _values, result); end
|
3895
|
-
|
3896
|
-
# reduce 358 omitted
|
3897
|
-
#
|
3898
|
-
# source://parser//lib/parser/ruby32.rb#10448
|
3899
|
-
def _reduce_359(val, _values, result); end
|
3900
|
-
|
3901
|
-
# source://parser//lib/parser/ruby32.rb#10454
|
3902
|
-
def _reduce_360(val, _values, result); end
|
3903
|
-
|
3904
|
-
# source://parser//lib/parser/ruby32.rb#10460
|
3905
|
-
def _reduce_361(val, _values, result); end
|
3906
|
-
|
3907
|
-
# source://parser//lib/parser/ruby32.rb#10467
|
3908
|
-
def _reduce_362(val, _values, result); end
|
3909
|
-
|
3910
|
-
# reduce 364 omitted
|
3911
|
-
#
|
3912
|
-
# source://parser//lib/parser/ruby32.rb#10479
|
3913
|
-
def _reduce_365(val, _values, result); end
|
3914
|
-
|
3915
|
-
# reduce 368 omitted
|
3916
|
-
#
|
3917
|
-
# source://parser//lib/parser/ruby32.rb#10491
|
3918
|
-
def _reduce_369(val, _values, result); end
|
3919
|
-
|
3920
|
-
# reduce 36 omitted
|
3921
|
-
#
|
3922
|
-
# source://parser//lib/parser/ruby32.rb#8652
|
3923
|
-
def _reduce_37(val, _values, result); end
|
3924
|
-
|
3925
|
-
# reduce 370 omitted
|
3926
|
-
#
|
3927
|
-
# source://parser//lib/parser/ruby32.rb#10504
|
3928
|
-
def _reduce_371(val, _values, result); end
|
3929
|
-
|
3930
|
-
# reduce 373 omitted
|
3931
|
-
#
|
3932
|
-
# source://parser//lib/parser/ruby32.rb#10514
|
3933
|
-
def _reduce_374(val, _values, result); end
|
3934
|
-
|
3935
|
-
# source://parser//lib/parser/ruby32.rb#10520
|
3936
|
-
def _reduce_375(val, _values, result); end
|
3937
|
-
|
3938
|
-
# source://parser//lib/parser/ruby32.rb#10526
|
3939
|
-
def _reduce_376(val, _values, result); end
|
3940
|
-
|
3941
|
-
# source://parser//lib/parser/ruby32.rb#10532
|
3942
|
-
def _reduce_377(val, _values, result); end
|
3943
|
-
|
3944
|
-
# reduce 378 omitted
|
3945
|
-
#
|
3946
|
-
# source://parser//lib/parser/ruby32.rb#10540
|
3947
|
-
def _reduce_379(val, _values, result); end
|
3948
|
-
|
3949
|
-
# source://parser//lib/parser/ruby32.rb#8658
|
3950
|
-
def _reduce_38(val, _values, result); end
|
3951
|
-
|
3952
|
-
# source://parser//lib/parser/ruby32.rb#10547
|
3953
|
-
def _reduce_380(val, _values, result); end
|
3954
|
-
|
3955
|
-
# source://parser//lib/parser/ruby32.rb#10555
|
3956
|
-
def _reduce_381(val, _values, result); end
|
3957
|
-
|
3958
|
-
# source://parser//lib/parser/ruby32.rb#10561
|
3959
|
-
def _reduce_382(val, _values, result); end
|
3960
|
-
|
3961
|
-
# source://parser//lib/parser/ruby32.rb#10567
|
3962
|
-
def _reduce_383(val, _values, result); end
|
3963
|
-
|
3964
|
-
# source://parser//lib/parser/ruby32.rb#10573
|
3965
|
-
def _reduce_384(val, _values, result); end
|
3966
|
-
|
3967
|
-
# reduce 386 omitted
|
3968
|
-
#
|
3969
|
-
# source://parser//lib/parser/ruby32.rb#10583
|
3970
|
-
def _reduce_387(val, _values, result); end
|
3971
|
-
|
3972
|
-
# source://parser//lib/parser/ruby32.rb#10589
|
3973
|
-
def _reduce_388(val, _values, result); end
|
3974
|
-
|
3975
|
-
# source://parser//lib/parser/ruby32.rb#10595
|
3976
|
-
def _reduce_389(val, _values, result); end
|
3977
|
-
|
3978
|
-
# source://parser//lib/parser/ruby32.rb#8664
|
3979
|
-
def _reduce_39(val, _values, result); end
|
3980
|
-
|
3981
|
-
# source://parser//lib/parser/ruby32.rb#10601
|
3982
|
-
def _reduce_390(val, _values, result); end
|
3983
|
-
|
3984
|
-
# source://parser//lib/parser/ruby32.rb#10607
|
3985
|
-
def _reduce_391(val, _values, result); end
|
3986
|
-
|
3987
|
-
# source://parser//lib/parser/ruby32.rb#10613
|
3988
|
-
def _reduce_392(val, _values, result); end
|
3989
|
-
|
3990
|
-
# source://parser//lib/parser/ruby32.rb#10619
|
3991
|
-
def _reduce_393(val, _values, result); end
|
3992
|
-
|
3993
|
-
# source://parser//lib/parser/ruby32.rb#10625
|
3994
|
-
def _reduce_394(val, _values, result); end
|
3995
|
-
|
3996
|
-
# reduce 395 omitted
|
3997
|
-
#
|
3998
|
-
# source://parser//lib/parser/ruby32.rb#10633
|
3999
|
-
def _reduce_396(val, _values, result); end
|
4000
|
-
|
4001
|
-
# source://parser//lib/parser/ruby32.rb#10642
|
4002
|
-
def _reduce_397(val, _values, result); end
|
4003
|
-
|
4004
|
-
# source://parser//lib/parser/ruby32.rb#10652
|
4005
|
-
def _reduce_398(val, _values, result); end
|
4006
|
-
|
4007
|
-
# source://parser//lib/parser/ruby32.rb#10660
|
4008
|
-
def _reduce_399(val, _values, result); end
|
4009
|
-
|
4010
|
-
# source://parser//lib/parser/ruby32.rb#8443
|
4011
|
-
def _reduce_4(val, _values, result); end
|
4012
|
-
|
4013
|
-
# source://parser//lib/parser/ruby32.rb#8673
|
4014
|
-
def _reduce_40(val, _values, result); end
|
4015
|
-
|
4016
|
-
# source://parser//lib/parser/ruby32.rb#10669
|
4017
|
-
def _reduce_400(val, _values, result); end
|
4018
|
-
|
4019
|
-
# reduce 401 omitted
|
4020
|
-
#
|
4021
|
-
# source://parser//lib/parser/ruby32.rb#10679
|
4022
|
-
def _reduce_402(val, _values, result); end
|
4023
|
-
|
4024
|
-
# source://parser//lib/parser/ruby32.rb#10688
|
4025
|
-
def _reduce_403(val, _values, result); end
|
4026
|
-
|
4027
|
-
# source://parser//lib/parser/ruby32.rb#10698
|
4028
|
-
def _reduce_404(val, _values, result); end
|
4029
|
-
|
4030
|
-
# source://parser//lib/parser/ruby32.rb#10706
|
4031
|
-
def _reduce_405(val, _values, result); end
|
4032
|
-
|
4033
|
-
# source://parser//lib/parser/ruby32.rb#10715
|
4034
|
-
def _reduce_406(val, _values, result); end
|
4035
|
-
|
4036
|
-
# source://parser//lib/parser/ruby32.rb#10722
|
4037
|
-
def _reduce_407(val, _values, result); end
|
4038
|
-
|
4039
|
-
# source://parser//lib/parser/ruby32.rb#10730
|
4040
|
-
def _reduce_408(val, _values, result); end
|
4041
|
-
|
4042
|
-
# source://parser//lib/parser/ruby32.rb#10737
|
4043
|
-
def _reduce_409(val, _values, result); end
|
4044
|
-
|
4045
|
-
# source://parser//lib/parser/ruby32.rb#8682
|
4046
|
-
def _reduce_41(val, _values, result); end
|
4047
|
-
|
4048
|
-
# reduce 410 omitted
|
4049
|
-
#
|
4050
|
-
# source://parser//lib/parser/ruby32.rb#10747
|
4051
|
-
def _reduce_411(val, _values, result); end
|
4052
|
-
|
4053
|
-
# source://parser//lib/parser/ruby32.rb#10753
|
4054
|
-
def _reduce_412(val, _values, result); end
|
4055
|
-
|
4056
|
-
# source://parser//lib/parser/ruby32.rb#10759
|
4057
|
-
def _reduce_413(val, _values, result); end
|
4058
|
-
|
4059
|
-
# source://parser//lib/parser/ruby32.rb#10768
|
4060
|
-
def _reduce_414(val, _values, result); end
|
4061
|
-
|
4062
|
-
# source://parser//lib/parser/ruby32.rb#10777
|
4063
|
-
def _reduce_415(val, _values, result); end
|
4064
|
-
|
4065
|
-
# source://parser//lib/parser/ruby32.rb#10783
|
4066
|
-
def _reduce_416(val, _values, result); end
|
4067
|
-
|
4068
|
-
# source://parser//lib/parser/ruby32.rb#10789
|
4069
|
-
def _reduce_417(val, _values, result); end
|
4070
|
-
|
4071
|
-
# source://parser//lib/parser/ruby32.rb#10795
|
4072
|
-
def _reduce_418(val, _values, result); end
|
4073
|
-
|
4074
|
-
# source://parser//lib/parser/ruby32.rb#10801
|
4075
|
-
def _reduce_419(val, _values, result); end
|
4076
|
-
|
4077
|
-
# source://parser//lib/parser/ruby32.rb#8691
|
4078
|
-
def _reduce_42(val, _values, result); end
|
4079
|
-
|
4080
|
-
# reduce 420 omitted
|
4081
|
-
#
|
4082
|
-
# source://parser//lib/parser/ruby32.rb#10810
|
4083
|
-
def _reduce_421(val, _values, result); end
|
4084
|
-
|
4085
|
-
# source://parser//lib/parser/ruby32.rb#10819
|
4086
|
-
def _reduce_422(val, _values, result); end
|
4087
|
-
|
4088
|
-
# source://parser//lib/parser/ruby32.rb#10825
|
4089
|
-
def _reduce_423(val, _values, result); end
|
4090
|
-
|
4091
|
-
# source://parser//lib/parser/ruby32.rb#10841
|
4092
|
-
def _reduce_424(val, _values, result); end
|
4093
|
-
|
4094
|
-
# source://parser//lib/parser/ruby32.rb#10849
|
4095
|
-
def _reduce_425(val, _values, result); end
|
4096
|
-
|
4097
|
-
# source://parser//lib/parser/ruby32.rb#10859
|
4098
|
-
def _reduce_426(val, _values, result); end
|
4099
|
-
|
4100
|
-
# source://parser//lib/parser/ruby32.rb#10866
|
4101
|
-
def _reduce_427(val, _values, result); end
|
4102
|
-
|
4103
|
-
# source://parser//lib/parser/ruby32.rb#10873
|
4104
|
-
def _reduce_428(val, _values, result); end
|
4105
|
-
|
4106
|
-
# source://parser//lib/parser/ruby32.rb#10880
|
4107
|
-
def _reduce_429(val, _values, result); end
|
4108
|
-
|
4109
|
-
# source://parser//lib/parser/ruby32.rb#8699
|
4110
|
-
def _reduce_43(val, _values, result); end
|
4111
|
-
|
4112
|
-
# source://parser//lib/parser/ruby32.rb#10887
|
4113
|
-
def _reduce_430(val, _values, result); end
|
4114
|
-
|
4115
|
-
# source://parser//lib/parser/ruby32.rb#10894
|
4116
|
-
def _reduce_431(val, _values, result); end
|
4117
|
-
|
4118
|
-
# source://parser//lib/parser/ruby32.rb#10901
|
4119
|
-
def _reduce_432(val, _values, result); end
|
4120
|
-
|
4121
|
-
# source://parser//lib/parser/ruby32.rb#10909
|
4122
|
-
def _reduce_433(val, _values, result); end
|
4123
|
-
|
4124
|
-
# source://parser//lib/parser/ruby32.rb#10917
|
4125
|
-
def _reduce_434(val, _values, result); end
|
4126
|
-
|
4127
|
-
# source://parser//lib/parser/ruby32.rb#10929
|
4128
|
-
def _reduce_435(val, _values, result); end
|
4129
|
-
|
4130
|
-
# source://parser//lib/parser/ruby32.rb#10940
|
4131
|
-
def _reduce_436(val, _values, result); end
|
4132
|
-
|
4133
|
-
# source://parser//lib/parser/ruby32.rb#10948
|
4134
|
-
def _reduce_437(val, _values, result); end
|
4135
|
-
|
4136
|
-
# source://parser//lib/parser/ruby32.rb#10956
|
4137
|
-
def _reduce_438(val, _values, result); end
|
4138
|
-
|
4139
|
-
# source://parser//lib/parser/ruby32.rb#10964
|
4140
|
-
def _reduce_439(val, _values, result); end
|
4141
|
-
|
4142
|
-
# source://parser//lib/parser/ruby32.rb#8708
|
4143
|
-
def _reduce_44(val, _values, result); end
|
4144
|
-
|
4145
|
-
# source://parser//lib/parser/ruby32.rb#10970
|
4146
|
-
def _reduce_440(val, _values, result); end
|
4147
|
-
|
4148
|
-
# source://parser//lib/parser/ruby32.rb#10978
|
4149
|
-
def _reduce_441(val, _values, result); end
|
4150
|
-
|
4151
|
-
# source://parser//lib/parser/ruby32.rb#10986
|
4152
|
-
def _reduce_442(val, _values, result); end
|
4153
|
-
|
4154
|
-
# source://parser//lib/parser/ruby32.rb#10994
|
4155
|
-
def _reduce_443(val, _values, result); end
|
4156
|
-
|
4157
|
-
# source://parser//lib/parser/ruby32.rb#11000
|
4158
|
-
def _reduce_444(val, _values, result); end
|
4159
|
-
|
4160
|
-
# source://parser//lib/parser/ruby32.rb#11006
|
4161
|
-
def _reduce_445(val, _values, result); end
|
4162
|
-
|
4163
|
-
# source://parser//lib/parser/ruby32.rb#11013
|
4164
|
-
def _reduce_446(val, _values, result); end
|
4165
|
-
|
4166
|
-
# source://parser//lib/parser/ruby32.rb#11020
|
4167
|
-
def _reduce_447(val, _values, result); end
|
4168
|
-
|
4169
|
-
# source://parser//lib/parser/ruby32.rb#11027
|
4170
|
-
def _reduce_448(val, _values, result); end
|
4171
|
-
|
4172
|
-
# source://parser//lib/parser/ruby32.rb#11034
|
4173
|
-
def _reduce_449(val, _values, result); end
|
4174
|
-
|
4175
|
-
# source://parser//lib/parser/ruby32.rb#8722
|
4176
|
-
def _reduce_45(val, _values, result); end
|
4177
|
-
|
4178
|
-
# source://parser//lib/parser/ruby32.rb#11041
|
4179
|
-
def _reduce_450(val, _values, result); end
|
4180
|
-
|
4181
|
-
# source://parser//lib/parser/ruby32.rb#11051
|
4182
|
-
def _reduce_451(val, _values, result); end
|
4183
|
-
|
4184
|
-
# source://parser//lib/parser/ruby32.rb#11058
|
4185
|
-
def _reduce_452(val, _values, result); end
|
4186
|
-
|
4187
|
-
# source://parser//lib/parser/ruby32.rb#11064
|
4188
|
-
def _reduce_453(val, _values, result); end
|
4189
|
-
|
4190
|
-
# source://parser//lib/parser/ruby32.rb#11075
|
4191
|
-
def _reduce_454(val, _values, result); end
|
4192
|
-
|
4193
|
-
# source://parser//lib/parser/ruby32.rb#11082
|
4194
|
-
def _reduce_455(val, _values, result); end
|
4195
|
-
|
4196
|
-
# reduce 456 omitted
|
4197
|
-
#
|
4198
|
-
# source://parser//lib/parser/ruby32.rb#11090
|
4199
|
-
def _reduce_457(val, _values, result); end
|
4200
|
-
|
4201
|
-
# source://parser//lib/parser/ruby32.rb#11102
|
4202
|
-
def _reduce_458(val, _values, result); end
|
4203
|
-
|
4204
|
-
# source://parser//lib/parser/ruby32.rb#11110
|
4205
|
-
def _reduce_459(val, _values, result); end
|
4206
|
-
|
4207
|
-
# source://parser//lib/parser/ruby32.rb#8742
|
4208
|
-
def _reduce_46(val, _values, result); end
|
4209
|
-
|
4210
|
-
# source://parser//lib/parser/ruby32.rb#11117
|
4211
|
-
def _reduce_460(val, _values, result); end
|
4212
|
-
|
4213
|
-
# reduce 461 omitted
|
4214
|
-
#
|
4215
|
-
# source://parser//lib/parser/ruby32.rb#11125
|
4216
|
-
def _reduce_462(val, _values, result); end
|
4217
|
-
|
4218
|
-
# source://parser//lib/parser/ruby32.rb#11131
|
4219
|
-
def _reduce_463(val, _values, result); end
|
4220
|
-
|
4221
|
-
# source://parser//lib/parser/ruby32.rb#11137
|
4222
|
-
def _reduce_464(val, _values, result); end
|
4223
|
-
|
4224
|
-
# reduce 465 omitted
|
4225
|
-
#
|
4226
|
-
# source://parser//lib/parser/ruby32.rb#11145
|
4227
|
-
def _reduce_466(val, _values, result); end
|
4228
|
-
|
4229
|
-
# source://parser//lib/parser/ruby32.rb#11155
|
4230
|
-
def _reduce_467(val, _values, result); end
|
4231
|
-
|
4232
|
-
# source://parser//lib/parser/ruby32.rb#11161
|
4233
|
-
def _reduce_468(val, _values, result); end
|
4234
|
-
|
4235
|
-
# source://parser//lib/parser/ruby32.rb#11167
|
4236
|
-
def _reduce_469(val, _values, result); end
|
4237
|
-
|
4238
|
-
# source://parser//lib/parser/ruby32.rb#8756
|
4239
|
-
def _reduce_47(val, _values, result); end
|
4240
|
-
|
4241
|
-
# source://parser//lib/parser/ruby32.rb#11173
|
4242
|
-
def _reduce_470(val, _values, result); end
|
4243
|
-
|
4244
|
-
# reduce 471 omitted
|
4245
|
-
#
|
4246
|
-
# source://parser//lib/parser/ruby32.rb#11181
|
4247
|
-
def _reduce_472(val, _values, result); end
|
4248
|
-
|
4249
|
-
# reduce 473 omitted
|
4250
|
-
#
|
4251
|
-
# source://parser//lib/parser/ruby32.rb#11189
|
4252
|
-
def _reduce_474(val, _values, result); end
|
4253
|
-
|
4254
|
-
# reduce 475 omitted
|
4255
|
-
#
|
4256
|
-
# source://parser//lib/parser/ruby32.rb#11197
|
4257
|
-
def _reduce_476(val, _values, result); end
|
4258
|
-
|
4259
|
-
# source://parser//lib/parser/ruby32.rb#11204
|
4260
|
-
def _reduce_477(val, _values, result); end
|
4261
|
-
|
4262
|
-
# source://parser//lib/parser/ruby32.rb#8776
|
4263
|
-
def _reduce_48(val, _values, result); end
|
4264
|
-
|
4265
|
-
# reduce 479 omitted
|
4266
|
-
#
|
4267
|
-
# source://parser//lib/parser/ruby32.rb#11215
|
4268
|
-
def _reduce_480(val, _values, result); end
|
4269
|
-
|
4270
|
-
# source://parser//lib/parser/ruby32.rb#11223
|
4271
|
-
def _reduce_481(val, _values, result); end
|
4272
|
-
|
4273
|
-
# source://parser//lib/parser/ruby32.rb#11231
|
4274
|
-
def _reduce_482(val, _values, result); end
|
4275
|
-
|
4276
|
-
# source://parser//lib/parser/ruby32.rb#11239
|
4277
|
-
def _reduce_483(val, _values, result); end
|
4278
|
-
|
4279
|
-
# source://parser//lib/parser/ruby32.rb#11246
|
4280
|
-
def _reduce_484(val, _values, result); end
|
4281
|
-
|
4282
|
-
# source://parser//lib/parser/ruby32.rb#11254
|
4283
|
-
def _reduce_485(val, _values, result); end
|
4284
|
-
|
4285
|
-
# source://parser//lib/parser/ruby32.rb#11262
|
4286
|
-
def _reduce_486(val, _values, result); end
|
4287
|
-
|
4288
|
-
# source://parser//lib/parser/ruby32.rb#11270
|
4289
|
-
def _reduce_487(val, _values, result); end
|
4290
|
-
|
4291
|
-
# source://parser//lib/parser/ruby32.rb#11277
|
4292
|
-
def _reduce_488(val, _values, result); end
|
4293
|
-
|
4294
|
-
# source://parser//lib/parser/ruby32.rb#11283
|
4295
|
-
def _reduce_489(val, _values, result); end
|
4296
|
-
|
4297
|
-
# source://parser//lib/parser/ruby32.rb#11289
|
4298
|
-
def _reduce_490(val, _values, result); end
|
4299
|
-
|
4300
|
-
# source://parser//lib/parser/ruby32.rb#11295
|
4301
|
-
def _reduce_491(val, _values, result); end
|
4302
|
-
|
4303
|
-
# source://parser//lib/parser/ruby32.rb#11303
|
4304
|
-
def _reduce_492(val, _values, result); end
|
4305
|
-
|
4306
|
-
# source://parser//lib/parser/ruby32.rb#11311
|
4307
|
-
def _reduce_493(val, _values, result); end
|
4308
|
-
|
4309
|
-
# source://parser//lib/parser/ruby32.rb#11317
|
4310
|
-
def _reduce_494(val, _values, result); end
|
4311
|
-
|
4312
|
-
# source://parser//lib/parser/ruby32.rb#11323
|
4313
|
-
def _reduce_495(val, _values, result); end
|
4314
|
-
|
4315
|
-
# source://parser//lib/parser/ruby32.rb#11330
|
4316
|
-
def _reduce_496(val, _values, result); end
|
4317
|
-
|
4318
|
-
# source://parser//lib/parser/ruby32.rb#11336
|
4319
|
-
def _reduce_497(val, _values, result); end
|
4320
|
-
|
4321
|
-
# source://parser//lib/parser/ruby32.rb#11342
|
4322
|
-
def _reduce_498(val, _values, result); end
|
4323
|
-
|
4324
|
-
# source://parser//lib/parser/ruby32.rb#11348
|
4325
|
-
def _reduce_499(val, _values, result); end
|
4326
|
-
|
4327
|
-
# source://parser//lib/parser/ruby32.rb#8449
|
4328
|
-
def _reduce_5(val, _values, result); end
|
4329
|
-
|
4330
|
-
# reduce 49 omitted
|
4331
|
-
#
|
4332
|
-
# source://parser//lib/parser/ruby32.rb#8784
|
4333
|
-
def _reduce_50(val, _values, result); end
|
4334
|
-
|
4335
|
-
# source://parser//lib/parser/ruby32.rb#11354
|
4336
|
-
def _reduce_500(val, _values, result); end
|
4337
|
-
|
4338
|
-
# reduce 501 omitted
|
4339
|
-
#
|
4340
|
-
# source://parser//lib/parser/ruby32.rb#11362
|
4341
|
-
def _reduce_502(val, _values, result); end
|
4342
|
-
|
4343
|
-
# source://parser//lib/parser/ruby32.rb#11372
|
4344
|
-
def _reduce_503(val, _values, result); end
|
4345
|
-
|
4346
|
-
# source://parser//lib/parser/ruby32.rb#11382
|
4347
|
-
def _reduce_504(val, _values, result); end
|
4348
|
-
|
4349
|
-
# source://parser//lib/parser/ruby32.rb#11388
|
4350
|
-
def _reduce_505(val, _values, result); end
|
4351
|
-
|
4352
|
-
# source://parser//lib/parser/ruby32.rb#11394
|
4353
|
-
def _reduce_506(val, _values, result); end
|
4354
|
-
|
4355
|
-
# source://parser//lib/parser/ruby32.rb#11400
|
4356
|
-
def _reduce_507(val, _values, result); end
|
4357
|
-
|
4358
|
-
# source://parser//lib/parser/ruby32.rb#11406
|
4359
|
-
def _reduce_508(val, _values, result); end
|
4360
|
-
|
4361
|
-
# source://parser//lib/parser/ruby32.rb#11412
|
4362
|
-
def _reduce_509(val, _values, result); end
|
4363
|
-
|
4364
|
-
# source://parser//lib/parser/ruby32.rb#11418
|
4365
|
-
def _reduce_510(val, _values, result); end
|
4366
|
-
|
4367
|
-
# reduce 511 omitted
|
4368
|
-
#
|
4369
|
-
# source://parser//lib/parser/ruby32.rb#11426
|
4370
|
-
def _reduce_512(val, _values, result); end
|
4371
|
-
|
4372
|
-
# source://parser//lib/parser/ruby32.rb#11432
|
4373
|
-
def _reduce_513(val, _values, result); end
|
4374
|
-
|
4375
|
-
# source://parser//lib/parser/ruby32.rb#11438
|
4376
|
-
def _reduce_514(val, _values, result); end
|
4377
|
-
|
4378
|
-
# source://parser//lib/parser/ruby32.rb#11444
|
4379
|
-
def _reduce_515(val, _values, result); end
|
4380
|
-
|
4381
|
-
# source://parser//lib/parser/ruby32.rb#11450
|
4382
|
-
def _reduce_516(val, _values, result); end
|
4383
|
-
|
4384
|
-
# source://parser//lib/parser/ruby32.rb#11456
|
4385
|
-
def _reduce_517(val, _values, result); end
|
4386
|
-
|
4387
|
-
# source://parser//lib/parser/ruby32.rb#11462
|
4388
|
-
def _reduce_518(val, _values, result); end
|
4389
|
-
|
4390
|
-
# source://parser//lib/parser/ruby32.rb#11468
|
4391
|
-
def _reduce_519(val, _values, result); end
|
4392
|
-
|
4393
|
-
# source://parser//lib/parser/ruby32.rb#11474
|
4394
|
-
def _reduce_520(val, _values, result); end
|
4395
|
-
|
4396
|
-
# source://parser//lib/parser/ruby32.rb#11480
|
4397
|
-
def _reduce_521(val, _values, result); end
|
4398
|
-
|
4399
|
-
# source://parser//lib/parser/ruby32.rb#11486
|
4400
|
-
def _reduce_522(val, _values, result); end
|
4401
|
-
|
4402
|
-
# source://parser//lib/parser/ruby32.rb#11492
|
4403
|
-
def _reduce_523(val, _values, result); end
|
4404
|
-
|
4405
|
-
# source://parser//lib/parser/ruby32.rb#11498
|
4406
|
-
def _reduce_524(val, _values, result); end
|
4407
|
-
|
4408
|
-
# reduce 525 omitted
|
4409
|
-
#
|
4410
|
-
# source://parser//lib/parser/ruby32.rb#11506
|
4411
|
-
def _reduce_526(val, _values, result); end
|
4412
|
-
|
4413
|
-
# reduce 527 omitted
|
4414
|
-
#
|
4415
|
-
# source://parser//lib/parser/ruby32.rb#11514
|
4416
|
-
def _reduce_528(val, _values, result); end
|
4417
|
-
|
4418
|
-
# source://parser//lib/parser/ruby32.rb#11520
|
4419
|
-
def _reduce_529(val, _values, result); end
|
4420
|
-
|
4421
|
-
# reduce 52 omitted
|
4422
|
-
#
|
4423
|
-
# source://parser//lib/parser/ruby32.rb#8798
|
4424
|
-
def _reduce_53(val, _values, result); end
|
4425
|
-
|
4426
|
-
# source://parser//lib/parser/ruby32.rb#11526
|
4427
|
-
def _reduce_530(val, _values, result); end
|
4428
|
-
|
4429
|
-
# source://parser//lib/parser/ruby32.rb#11532
|
4430
|
-
def _reduce_531(val, _values, result); end
|
4431
|
-
|
4432
|
-
# reduce 534 omitted
|
4433
|
-
#
|
4434
|
-
# source://parser//lib/parser/ruby32.rb#11544
|
4435
|
-
def _reduce_535(val, _values, result); end
|
4436
|
-
|
4437
|
-
# source://parser//lib/parser/ruby32.rb#11550
|
4438
|
-
def _reduce_536(val, _values, result); end
|
4439
|
-
|
4440
|
-
# source://parser//lib/parser/ruby32.rb#8804
|
4441
|
-
def _reduce_54(val, _values, result); end
|
4442
|
-
|
4443
|
-
# reduce 544 omitted
|
4444
|
-
#
|
4445
|
-
# source://parser//lib/parser/ruby32.rb#11572
|
4446
|
-
def _reduce_545(val, _values, result); end
|
4447
|
-
|
4448
|
-
# reduce 546 omitted
|
4449
|
-
#
|
4450
|
-
# source://parser//lib/parser/ruby32.rb#11580
|
4451
|
-
def _reduce_547(val, _values, result); end
|
4452
|
-
|
4453
|
-
# source://parser//lib/parser/ruby32.rb#11586
|
4454
|
-
def _reduce_548(val, _values, result); end
|
4455
|
-
|
4456
|
-
# source://parser//lib/parser/ruby32.rb#11598
|
4457
|
-
def _reduce_549(val, _values, result); end
|
4458
|
-
|
4459
|
-
# source://parser//lib/parser/ruby32.rb#8810
|
4460
|
-
def _reduce_55(val, _values, result); end
|
4461
|
-
|
4462
|
-
# source://parser//lib/parser/ruby32.rb#11605
|
4463
|
-
def _reduce_550(val, _values, result); end
|
4464
|
-
|
4465
|
-
# source://parser//lib/parser/ruby32.rb#11612
|
4466
|
-
def _reduce_551(val, _values, result); end
|
4467
|
-
|
4468
|
-
# source://parser//lib/parser/ruby32.rb#11618
|
4469
|
-
def _reduce_552(val, _values, result); end
|
4470
|
-
|
4471
|
-
# source://parser//lib/parser/ruby32.rb#11624
|
4472
|
-
def _reduce_553(val, _values, result); end
|
4473
|
-
|
4474
|
-
# source://parser//lib/parser/ruby32.rb#11630
|
4475
|
-
def _reduce_554(val, _values, result); end
|
4476
|
-
|
4477
|
-
# source://parser//lib/parser/ruby32.rb#11645
|
4478
|
-
def _reduce_555(val, _values, result); end
|
4479
|
-
|
4480
|
-
# source://parser//lib/parser/ruby32.rb#11651
|
4481
|
-
def _reduce_556(val, _values, result); end
|
4482
|
-
|
4483
|
-
# reduce 558 omitted
|
4484
|
-
#
|
4485
|
-
# source://parser//lib/parser/ruby32.rb#11661
|
4486
|
-
def _reduce_559(val, _values, result); end
|
4487
|
-
|
4488
|
-
# source://parser//lib/parser/ruby32.rb#8816
|
4489
|
-
def _reduce_56(val, _values, result); end
|
4490
|
-
|
4491
|
-
# reduce 560 omitted
|
4492
|
-
#
|
4493
|
-
# source://parser//lib/parser/ruby32.rb#11669
|
4494
|
-
def _reduce_561(val, _values, result); end
|
4495
|
-
|
4496
|
-
# reduce 564 omitted
|
4497
|
-
#
|
4498
|
-
# source://parser//lib/parser/ruby32.rb#11681
|
4499
|
-
def _reduce_565(val, _values, result); end
|
4500
|
-
|
4501
|
-
# source://parser//lib/parser/ruby32.rb#11687
|
4502
|
-
def _reduce_566(val, _values, result); end
|
4503
|
-
|
4504
|
-
# source://parser//lib/parser/ruby32.rb#11693
|
4505
|
-
def _reduce_567(val, _values, result); end
|
4506
|
-
|
4507
|
-
# source://parser//lib/parser/ruby32.rb#11699
|
4508
|
-
def _reduce_568(val, _values, result); end
|
4509
|
-
|
4510
|
-
# source://parser//lib/parser/ruby32.rb#11706
|
4511
|
-
def _reduce_569(val, _values, result); end
|
4512
|
-
|
4513
|
-
# source://parser//lib/parser/ruby32.rb#8822
|
4514
|
-
def _reduce_57(val, _values, result); end
|
4515
|
-
|
4516
|
-
# source://parser//lib/parser/ruby32.rb#11713
|
4517
|
-
def _reduce_570(val, _values, result); end
|
4518
|
-
|
4519
|
-
# source://parser//lib/parser/ruby32.rb#11719
|
4520
|
-
def _reduce_571(val, _values, result); end
|
4521
|
-
|
4522
|
-
# source://parser//lib/parser/ruby32.rb#11726
|
4523
|
-
def _reduce_572(val, _values, result); end
|
4524
|
-
|
4525
|
-
# source://parser//lib/parser/ruby32.rb#11733
|
4526
|
-
def _reduce_573(val, _values, result); end
|
4527
|
-
|
4528
|
-
# source://parser//lib/parser/ruby32.rb#11739
|
4529
|
-
def _reduce_574(val, _values, result); end
|
4530
|
-
|
4531
|
-
# source://parser//lib/parser/ruby32.rb#11745
|
4532
|
-
def _reduce_575(val, _values, result); end
|
4533
|
-
|
4534
|
-
# source://parser//lib/parser/ruby32.rb#11751
|
4535
|
-
def _reduce_576(val, _values, result); end
|
4536
|
-
|
4537
|
-
# source://parser//lib/parser/ruby32.rb#11757
|
4538
|
-
def _reduce_577(val, _values, result); end
|
4539
|
-
|
4540
|
-
# source://parser//lib/parser/ruby32.rb#11763
|
4541
|
-
def _reduce_578(val, _values, result); end
|
4542
|
-
|
4543
|
-
# source://parser//lib/parser/ruby32.rb#11769
|
4544
|
-
def _reduce_579(val, _values, result); end
|
4545
|
-
|
4546
|
-
# source://parser//lib/parser/ruby32.rb#8834
|
4547
|
-
def _reduce_58(val, _values, result); end
|
4548
|
-
|
4549
|
-
# source://parser//lib/parser/ruby32.rb#11775
|
4550
|
-
def _reduce_580(val, _values, result); end
|
4551
|
-
|
4552
|
-
# source://parser//lib/parser/ruby32.rb#11781
|
4553
|
-
def _reduce_581(val, _values, result); end
|
4554
|
-
|
4555
|
-
# source://parser//lib/parser/ruby32.rb#11787
|
4556
|
-
def _reduce_582(val, _values, result); end
|
4557
|
-
|
4558
|
-
# source://parser//lib/parser/ruby32.rb#11793
|
4559
|
-
def _reduce_583(val, _values, result); end
|
4560
|
-
|
4561
|
-
# source://parser//lib/parser/ruby32.rb#11799
|
4562
|
-
def _reduce_584(val, _values, result); end
|
4563
|
-
|
4564
|
-
# source://parser//lib/parser/ruby32.rb#11805
|
4565
|
-
def _reduce_585(val, _values, result); end
|
4566
|
-
|
4567
|
-
# source://parser//lib/parser/ruby32.rb#11811
|
4568
|
-
def _reduce_586(val, _values, result); end
|
4569
|
-
|
4570
|
-
# source://parser//lib/parser/ruby32.rb#11817
|
4571
|
-
def _reduce_587(val, _values, result); end
|
4572
|
-
|
4573
|
-
# source://parser//lib/parser/ruby32.rb#11823
|
4574
|
-
def _reduce_588(val, _values, result); end
|
4575
|
-
|
4576
|
-
# source://parser//lib/parser/ruby32.rb#11829
|
4577
|
-
def _reduce_589(val, _values, result); end
|
4578
|
-
|
4579
|
-
# source://parser//lib/parser/ruby32.rb#8843
|
4580
|
-
def _reduce_59(val, _values, result); end
|
4581
|
-
|
4582
|
-
# source://parser//lib/parser/ruby32.rb#11835
|
4583
|
-
def _reduce_590(val, _values, result); end
|
4584
|
-
|
4585
|
-
# source://parser//lib/parser/ruby32.rb#11841
|
4586
|
-
def _reduce_591(val, _values, result); end
|
4587
|
-
|
4588
|
-
# source://parser//lib/parser/ruby32.rb#11847
|
4589
|
-
def _reduce_592(val, _values, result); end
|
4590
|
-
|
4591
|
-
# source://parser//lib/parser/ruby32.rb#11853
|
4592
|
-
def _reduce_593(val, _values, result); end
|
4593
|
-
|
4594
|
-
# source://parser//lib/parser/ruby32.rb#11859
|
4595
|
-
def _reduce_594(val, _values, result); end
|
4596
|
-
|
4597
|
-
# source://parser//lib/parser/ruby32.rb#11865
|
4598
|
-
def _reduce_595(val, _values, result); end
|
4599
|
-
|
4600
|
-
# source://parser//lib/parser/ruby32.rb#11872
|
4601
|
-
def _reduce_596(val, _values, result); end
|
4602
|
-
|
4603
|
-
# source://parser//lib/parser/ruby32.rb#11881
|
4604
|
-
def _reduce_597(val, _values, result); end
|
4605
|
-
|
4606
|
-
# source://parser//lib/parser/ruby32.rb#11887
|
4607
|
-
def _reduce_598(val, _values, result); end
|
4608
|
-
|
4609
|
-
# source://parser//lib/parser/ruby32.rb#11893
|
4610
|
-
def _reduce_599(val, _values, result); end
|
4611
|
-
|
4612
|
-
# source://parser//lib/parser/ruby32.rb#8455
|
4613
|
-
def _reduce_6(val, _values, result); end
|
4614
|
-
|
4615
|
-
# source://parser//lib/parser/ruby32.rb#8855
|
4616
|
-
def _reduce_60(val, _values, result); end
|
4617
|
-
|
4618
|
-
# reduce 602 omitted
|
4619
|
-
#
|
4620
|
-
# source://parser//lib/parser/ruby32.rb#11905
|
4621
|
-
def _reduce_603(val, _values, result); end
|
4622
|
-
|
4623
|
-
# source://parser//lib/parser/ruby32.rb#11912
|
4624
|
-
def _reduce_604(val, _values, result); end
|
4625
|
-
|
4626
|
-
# source://parser//lib/parser/ruby32.rb#11919
|
4627
|
-
def _reduce_605(val, _values, result); end
|
4628
|
-
|
4629
|
-
# source://parser//lib/parser/ruby32.rb#11925
|
4630
|
-
def _reduce_606(val, _values, result); end
|
4631
|
-
|
4632
|
-
# source://parser//lib/parser/ruby32.rb#11936
|
4633
|
-
def _reduce_607(val, _values, result); end
|
4634
|
-
|
4635
|
-
# source://parser//lib/parser/ruby32.rb#11943
|
4636
|
-
def _reduce_608(val, _values, result); end
|
4637
|
-
|
4638
|
-
# source://parser//lib/parser/ruby32.rb#11950
|
4639
|
-
def _reduce_609(val, _values, result); end
|
4640
|
-
|
4641
|
-
# source://parser//lib/parser/ruby32.rb#11957
|
4642
|
-
def _reduce_610(val, _values, result); end
|
4643
|
-
|
4644
|
-
# source://parser//lib/parser/ruby32.rb#11964
|
4645
|
-
def _reduce_611(val, _values, result); end
|
4646
|
-
|
4647
|
-
# source://parser//lib/parser/ruby32.rb#11970
|
4648
|
-
def _reduce_612(val, _values, result); end
|
4649
|
-
|
4650
|
-
# source://parser//lib/parser/ruby32.rb#11976
|
4651
|
-
def _reduce_613(val, _values, result); end
|
4652
|
-
|
4653
|
-
# source://parser//lib/parser/ruby32.rb#11982
|
4654
|
-
def _reduce_614(val, _values, result); end
|
4655
|
-
|
4656
|
-
# source://parser//lib/parser/ruby32.rb#11988
|
4657
|
-
def _reduce_615(val, _values, result); end
|
4658
|
-
|
4659
|
-
# reduce 616 omitted
|
4660
|
-
#
|
4661
|
-
# source://parser//lib/parser/ruby32.rb#11996
|
4662
|
-
def _reduce_617(val, _values, result); end
|
4663
|
-
|
4664
|
-
# source://parser//lib/parser/ruby32.rb#12002
|
4665
|
-
def _reduce_618(val, _values, result); end
|
4666
|
-
|
4667
|
-
# source://parser//lib/parser/ruby32.rb#12008
|
4668
|
-
def _reduce_619(val, _values, result); end
|
4669
|
-
|
4670
|
-
# source://parser//lib/parser/ruby32.rb#12014
|
4671
|
-
def _reduce_620(val, _values, result); end
|
4672
|
-
|
4673
|
-
# source://parser//lib/parser/ruby32.rb#12020
|
4674
|
-
def _reduce_621(val, _values, result); end
|
4675
|
-
|
4676
|
-
# source://parser//lib/parser/ruby32.rb#12026
|
4677
|
-
def _reduce_622(val, _values, result); end
|
4678
|
-
|
4679
|
-
# source://parser//lib/parser/ruby32.rb#12032
|
4680
|
-
def _reduce_623(val, _values, result); end
|
4681
|
-
|
4682
|
-
# source://parser//lib/parser/ruby32.rb#12038
|
4683
|
-
def _reduce_624(val, _values, result); end
|
4684
|
-
|
4685
|
-
# source://parser//lib/parser/ruby32.rb#12044
|
4686
|
-
def _reduce_625(val, _values, result); end
|
4687
|
-
|
4688
|
-
# source://parser//lib/parser/ruby32.rb#12050
|
4689
|
-
def _reduce_626(val, _values, result); end
|
4690
|
-
|
4691
|
-
# source://parser//lib/parser/ruby32.rb#12056
|
4692
|
-
def _reduce_627(val, _values, result); end
|
4693
|
-
|
4694
|
-
# source://parser//lib/parser/ruby32.rb#12062
|
4695
|
-
def _reduce_628(val, _values, result); end
|
4696
|
-
|
4697
|
-
# source://parser//lib/parser/ruby32.rb#12068
|
4698
|
-
def _reduce_629(val, _values, result); end
|
4699
|
-
|
4700
|
-
# reduce 62 omitted
|
4701
|
-
#
|
4702
|
-
# source://parser//lib/parser/ruby32.rb#8868
|
4703
|
-
def _reduce_63(val, _values, result); end
|
4704
|
-
|
4705
|
-
# source://parser//lib/parser/ruby32.rb#12074
|
4706
|
-
def _reduce_630(val, _values, result); end
|
4707
|
-
|
4708
|
-
# source://parser//lib/parser/ruby32.rb#12080
|
4709
|
-
def _reduce_631(val, _values, result); end
|
4710
|
-
|
4711
|
-
# source://parser//lib/parser/ruby32.rb#12086
|
4712
|
-
def _reduce_632(val, _values, result); end
|
4713
|
-
|
4714
|
-
# reduce 633 omitted
|
4715
|
-
#
|
4716
|
-
# source://parser//lib/parser/ruby32.rb#12094
|
4717
|
-
def _reduce_634(val, _values, result); end
|
4718
|
-
|
4719
|
-
# source://parser//lib/parser/ruby32.rb#12101
|
4720
|
-
def _reduce_635(val, _values, result); end
|
4721
|
-
|
4722
|
-
# reduce 636 omitted
|
4723
|
-
#
|
4724
|
-
# source://parser//lib/parser/ruby32.rb#12112
|
4725
|
-
def _reduce_637(val, _values, result); end
|
4726
|
-
|
4727
|
-
# source://parser//lib/parser/ruby32.rb#12120
|
4728
|
-
def _reduce_638(val, _values, result); end
|
4729
|
-
|
4730
|
-
# source://parser//lib/parser/ruby32.rb#12128
|
4731
|
-
def _reduce_639(val, _values, result); end
|
4732
|
-
|
4733
|
-
# source://parser//lib/parser/ruby32.rb#8874
|
4734
|
-
def _reduce_64(val, _values, result); end
|
4735
|
-
|
4736
|
-
# source://parser//lib/parser/ruby32.rb#12134
|
4737
|
-
def _reduce_640(val, _values, result); end
|
4738
|
-
|
4739
|
-
# source://parser//lib/parser/ruby32.rb#12140
|
4740
|
-
def _reduce_641(val, _values, result); end
|
4741
|
-
|
4742
|
-
# source://parser//lib/parser/ruby32.rb#12146
|
4743
|
-
def _reduce_642(val, _values, result); end
|
4744
|
-
|
4745
|
-
# source://parser//lib/parser/ruby32.rb#12152
|
4746
|
-
def _reduce_643(val, _values, result); end
|
4747
|
-
|
4748
|
-
# source://parser//lib/parser/ruby32.rb#12159
|
4749
|
-
def _reduce_644(val, _values, result); end
|
4750
|
-
|
4751
|
-
# source://parser//lib/parser/ruby32.rb#12165
|
4752
|
-
def _reduce_645(val, _values, result); end
|
4753
|
-
|
4754
|
-
# source://parser//lib/parser/ruby32.rb#12171
|
4755
|
-
def _reduce_646(val, _values, result); end
|
4756
|
-
|
4757
|
-
# source://parser//lib/parser/ruby32.rb#12180
|
4758
|
-
def _reduce_647(val, _values, result); end
|
4759
|
-
|
4760
|
-
# source://parser//lib/parser/ruby32.rb#12190
|
4761
|
-
def _reduce_648(val, _values, result); end
|
4762
|
-
|
4763
|
-
# source://parser//lib/parser/ruby32.rb#12198
|
4764
|
-
def _reduce_649(val, _values, result); end
|
4765
|
-
|
4766
|
-
# source://parser//lib/parser/ruby32.rb#8881
|
4767
|
-
def _reduce_65(val, _values, result); end
|
4768
|
-
|
4769
|
-
# source://parser//lib/parser/ruby32.rb#12207
|
4770
|
-
def _reduce_650(val, _values, result); end
|
4771
|
-
|
4772
|
-
# source://parser//lib/parser/ruby32.rb#12215
|
4773
|
-
def _reduce_651(val, _values, result); end
|
4774
|
-
|
4775
|
-
# source://parser//lib/parser/ruby32.rb#12224
|
4776
|
-
def _reduce_652(val, _values, result); end
|
4777
|
-
|
4778
|
-
# source://parser//lib/parser/ruby32.rb#12231
|
4779
|
-
def _reduce_653(val, _values, result); end
|
4780
|
-
|
4781
|
-
# source://parser//lib/parser/ruby32.rb#12239
|
4782
|
-
def _reduce_654(val, _values, result); end
|
4783
|
-
|
4784
|
-
# source://parser//lib/parser/ruby32.rb#12248
|
4785
|
-
def _reduce_655(val, _values, result); end
|
4786
|
-
|
4787
|
-
# source://parser//lib/parser/ruby32.rb#12255
|
4788
|
-
def _reduce_656(val, _values, result); end
|
4789
|
-
|
4790
|
-
# source://parser//lib/parser/ruby32.rb#12263
|
4791
|
-
def _reduce_657(val, _values, result); end
|
4792
|
-
|
4793
|
-
# source://parser//lib/parser/ruby32.rb#12270
|
4794
|
-
def _reduce_658(val, _values, result); end
|
4795
|
-
|
4796
|
-
# source://parser//lib/parser/ruby32.rb#12278
|
4797
|
-
def _reduce_659(val, _values, result); end
|
4798
|
-
|
4799
|
-
# source://parser//lib/parser/ruby32.rb#8891
|
4800
|
-
def _reduce_66(val, _values, result); end
|
4801
|
-
|
4802
|
-
# source://parser//lib/parser/ruby32.rb#12284
|
4803
|
-
def _reduce_660(val, _values, result); end
|
4804
|
-
|
4805
|
-
# source://parser//lib/parser/ruby32.rb#12290
|
4806
|
-
def _reduce_661(val, _values, result); end
|
4807
|
-
|
4808
|
-
# source://parser//lib/parser/ruby32.rb#12296
|
4809
|
-
def _reduce_662(val, _values, result); end
|
4810
|
-
|
4811
|
-
# source://parser//lib/parser/ruby32.rb#12302
|
4812
|
-
def _reduce_663(val, _values, result); end
|
4813
|
-
|
4814
|
-
# source://parser//lib/parser/ruby32.rb#12308
|
4815
|
-
def _reduce_664(val, _values, result); end
|
4816
|
-
|
4817
|
-
# source://parser//lib/parser/ruby32.rb#12314
|
4818
|
-
def _reduce_665(val, _values, result); end
|
4819
|
-
|
4820
|
-
# reduce 666 omitted
|
4821
|
-
#
|
4822
|
-
# source://parser//lib/parser/ruby32.rb#12322
|
4823
|
-
def _reduce_667(val, _values, result); end
|
4824
|
-
|
4825
|
-
# source://parser//lib/parser/ruby32.rb#12332
|
4826
|
-
def _reduce_668(val, _values, result); end
|
4827
|
-
|
4828
|
-
# source://parser//lib/parser/ruby32.rb#12339
|
4829
|
-
def _reduce_669(val, _values, result); end
|
4830
|
-
|
4831
|
-
# source://parser//lib/parser/ruby32.rb#8897
|
4832
|
-
def _reduce_67(val, _values, result); end
|
4833
|
-
|
4834
|
-
# source://parser//lib/parser/ruby32.rb#12346
|
4835
|
-
def _reduce_670(val, _values, result); end
|
4836
|
-
|
4837
|
-
# source://parser//lib/parser/ruby32.rb#12352
|
4838
|
-
def _reduce_671(val, _values, result); end
|
4839
|
-
|
4840
|
-
# source://parser//lib/parser/ruby32.rb#12358
|
4841
|
-
def _reduce_672(val, _values, result); end
|
4842
|
-
|
4843
|
-
# source://parser//lib/parser/ruby32.rb#12364
|
4844
|
-
def _reduce_673(val, _values, result); end
|
4845
|
-
|
4846
|
-
# source://parser//lib/parser/ruby32.rb#12379
|
4847
|
-
def _reduce_674(val, _values, result); end
|
4848
|
-
|
4849
|
-
# source://parser//lib/parser/ruby32.rb#12387
|
4850
|
-
def _reduce_675(val, _values, result); end
|
4851
|
-
|
4852
|
-
# source://parser//lib/parser/ruby32.rb#12395
|
4853
|
-
def _reduce_676(val, _values, result); end
|
4854
|
-
|
4855
|
-
# source://parser//lib/parser/ruby32.rb#12402
|
4856
|
-
def _reduce_677(val, _values, result); end
|
4857
|
-
|
4858
|
-
# source://parser//lib/parser/ruby32.rb#12409
|
4859
|
-
def _reduce_678(val, _values, result); end
|
4860
|
-
|
4861
|
-
# source://parser//lib/parser/ruby32.rb#12415
|
4862
|
-
def _reduce_679(val, _values, result); end
|
4863
|
-
|
4864
|
-
# source://parser//lib/parser/ruby32.rb#8904
|
4865
|
-
def _reduce_68(val, _values, result); end
|
4866
|
-
|
4867
|
-
# source://parser//lib/parser/ruby32.rb#12421
|
4868
|
-
def _reduce_680(val, _values, result); end
|
4869
|
-
|
4870
|
-
# source://parser//lib/parser/ruby32.rb#12427
|
4871
|
-
def _reduce_681(val, _values, result); end
|
4872
|
-
|
4873
|
-
# reduce 683 omitted
|
4874
|
-
#
|
4875
|
-
# source://parser//lib/parser/ruby32.rb#12437
|
4876
|
-
def _reduce_684(val, _values, result); end
|
4877
|
-
|
4878
|
-
# source://parser//lib/parser/ruby32.rb#12443
|
4879
|
-
def _reduce_685(val, _values, result); end
|
4880
|
-
|
4881
|
-
# source://parser//lib/parser/ruby32.rb#12451
|
4882
|
-
def _reduce_686(val, _values, result); end
|
4883
|
-
|
4884
|
-
# source://parser//lib/parser/ruby32.rb#12459
|
4885
|
-
def _reduce_687(val, _values, result); end
|
4886
|
-
|
4887
|
-
# source://parser//lib/parser/ruby32.rb#12467
|
4888
|
-
def _reduce_688(val, _values, result); end
|
4889
|
-
|
4890
|
-
# source://parser//lib/parser/ruby32.rb#12475
|
4891
|
-
def _reduce_689(val, _values, result); end
|
4892
|
-
|
4893
|
-
# source://parser//lib/parser/ruby32.rb#12481
|
4894
|
-
def _reduce_690(val, _values, result); end
|
4895
|
-
|
4896
|
-
# source://parser//lib/parser/ruby32.rb#12487
|
4897
|
-
def _reduce_691(val, _values, result); end
|
4898
|
-
|
4899
|
-
# source://parser//lib/parser/ruby32.rb#12493
|
4900
|
-
def _reduce_692(val, _values, result); end
|
4901
|
-
|
4902
|
-
# reduce 694 omitted
|
4903
|
-
#
|
4904
|
-
# source://parser//lib/parser/ruby32.rb#12503
|
4905
|
-
def _reduce_695(val, _values, result); end
|
4906
|
-
|
4907
|
-
# source://parser//lib/parser/ruby32.rb#12511
|
4908
|
-
def _reduce_696(val, _values, result); end
|
4909
|
-
|
4910
|
-
# reduce 698 omitted
|
4911
|
-
#
|
4912
|
-
# source://parser//lib/parser/ruby32.rb#12523
|
4913
|
-
def _reduce_699(val, _values, result); end
|
4914
|
-
|
4915
|
-
# source://parser//lib/parser/ruby32.rb#8461
|
4916
|
-
def _reduce_7(val, _values, result); end
|
4917
|
-
|
4918
|
-
# source://parser//lib/parser/ruby32.rb#12531
|
4919
|
-
def _reduce_700(val, _values, result); end
|
4920
|
-
|
4921
|
-
# source://parser//lib/parser/ruby32.rb#12539
|
4922
|
-
def _reduce_701(val, _values, result); end
|
4923
|
-
|
4924
|
-
# source://parser//lib/parser/ruby32.rb#12545
|
4925
|
-
def _reduce_702(val, _values, result); end
|
4926
|
-
|
4927
|
-
# reduce 703 omitted
|
4928
|
-
#
|
4929
|
-
# source://parser//lib/parser/ruby32.rb#12553
|
4930
|
-
def _reduce_704(val, _values, result); end
|
4931
|
-
|
4932
|
-
# source://parser//lib/parser/ruby32.rb#12559
|
4933
|
-
def _reduce_705(val, _values, result); end
|
4934
|
-
|
4935
|
-
# reduce 706 omitted
|
4936
|
-
#
|
4937
|
-
# source://parser//lib/parser/ruby32.rb#12567
|
4938
|
-
def _reduce_707(val, _values, result); end
|
4939
|
-
|
4940
|
-
# source://parser//lib/parser/ruby32.rb#12573
|
4941
|
-
def _reduce_708(val, _values, result); end
|
4942
|
-
|
4943
|
-
# source://parser//lib/parser/ruby32.rb#12579
|
4944
|
-
def _reduce_709(val, _values, result); end
|
4945
|
-
|
4946
|
-
# source://parser//lib/parser/ruby32.rb#12585
|
4947
|
-
def _reduce_710(val, _values, result); end
|
4948
|
-
|
4949
|
-
# source://parser//lib/parser/ruby32.rb#12591
|
4950
|
-
def _reduce_711(val, _values, result); end
|
4951
|
-
|
4952
|
-
# source://parser//lib/parser/ruby32.rb#12597
|
4953
|
-
def _reduce_712(val, _values, result); end
|
4954
|
-
|
4955
|
-
# source://parser//lib/parser/ruby32.rb#12603
|
4956
|
-
def _reduce_713(val, _values, result); end
|
4957
|
-
|
4958
|
-
# source://parser//lib/parser/ruby32.rb#12609
|
4959
|
-
def _reduce_714(val, _values, result); end
|
4960
|
-
|
4961
|
-
# reduce 71 omitted
|
4962
|
-
#
|
4963
|
-
# source://parser//lib/parser/ruby32.rb#8916
|
4964
|
-
def _reduce_72(val, _values, result); end
|
4965
|
-
|
4966
|
-
# reduce 724 omitted
|
4967
|
-
#
|
4968
|
-
# source://parser//lib/parser/ruby32.rb#12639
|
4969
|
-
def _reduce_725(val, _values, result); end
|
4970
|
-
|
4971
|
-
# source://parser//lib/parser/ruby32.rb#12645
|
4972
|
-
def _reduce_726(val, _values, result); end
|
4973
|
-
|
4974
|
-
# source://parser//lib/parser/ruby32.rb#8923
|
4975
|
-
def _reduce_73(val, _values, result); end
|
4976
|
-
|
4977
|
-
# reduce 730 omitted
|
4978
|
-
#
|
4979
|
-
# source://parser//lib/parser/ruby32.rb#12659
|
4980
|
-
def _reduce_731(val, _values, result); end
|
4981
|
-
|
4982
|
-
# source://parser//lib/parser/ruby32.rb#12665
|
4983
|
-
def _reduce_732(val, _values, result); end
|
4984
|
-
|
4985
|
-
# source://parser//lib/parser/ruby32.rb#12671
|
4986
|
-
def _reduce_733(val, _values, result); end
|
4987
|
-
|
4988
|
-
# reduce 735 omitted
|
4989
|
-
#
|
4990
|
-
# source://parser//lib/parser/ruby32.rb#12681
|
4991
|
-
def _reduce_736(val, _values, result); end
|
4992
|
-
|
4993
|
-
# source://parser//lib/parser/ruby32.rb#8930
|
4994
|
-
def _reduce_74(val, _values, result); end
|
4995
|
-
|
4996
|
-
# reduce 739 omitted
|
4997
|
-
#
|
4998
|
-
# source://parser//lib/parser/ruby32.rb#12693
|
4999
|
-
def _reduce_740(val, _values, result); end
|
5000
|
-
|
5001
|
-
# reduce 75 omitted
|
5002
|
-
#
|
5003
|
-
# source://parser//lib/parser/ruby32.rb#8939
|
5004
|
-
def _reduce_76(val, _values, result); end
|
5005
|
-
|
5006
|
-
# source://parser//lib/parser/ruby32.rb#8946
|
5007
|
-
def _reduce_77(val, _values, result); end
|
5008
|
-
|
5009
|
-
# source://parser//lib/parser/ruby32.rb#8957
|
5010
|
-
def _reduce_78(val, _values, result); end
|
5011
|
-
|
5012
|
-
# source://parser//lib/parser/ruby32.rb#8964
|
5013
|
-
def _reduce_79(val, _values, result); end
|
5014
|
-
|
5015
|
-
# source://parser//lib/parser/ruby32.rb#8975
|
5016
|
-
def _reduce_80(val, _values, result); end
|
5017
|
-
|
5018
|
-
# source://parser//lib/parser/ruby32.rb#8982
|
5019
|
-
def _reduce_81(val, _values, result); end
|
5020
|
-
|
5021
|
-
# source://parser//lib/parser/ruby32.rb#8993
|
5022
|
-
def _reduce_82(val, _values, result); end
|
5023
|
-
|
5024
|
-
# source://parser//lib/parser/ruby32.rb#9000
|
5025
|
-
def _reduce_83(val, _values, result); end
|
5026
|
-
|
5027
|
-
# source://parser//lib/parser/ruby32.rb#9007
|
5028
|
-
def _reduce_84(val, _values, result); end
|
5029
|
-
|
5030
|
-
# source://parser//lib/parser/ruby32.rb#9014
|
5031
|
-
def _reduce_85(val, _values, result); end
|
5032
|
-
|
5033
|
-
# source://parser//lib/parser/ruby32.rb#9021
|
5034
|
-
def _reduce_86(val, _values, result); end
|
5035
|
-
|
5036
|
-
# source://parser//lib/parser/ruby32.rb#9028
|
5037
|
-
def _reduce_87(val, _values, result); end
|
5038
|
-
|
5039
|
-
# source://parser//lib/parser/ruby32.rb#9034
|
5040
|
-
def _reduce_88(val, _values, result); end
|
5041
|
-
|
5042
|
-
# source://parser//lib/parser/ruby32.rb#9040
|
5043
|
-
def _reduce_89(val, _values, result); end
|
5044
|
-
|
5045
|
-
# reduce 8 omitted
|
5046
|
-
#
|
5047
|
-
# source://parser//lib/parser/ruby32.rb#8469
|
5048
|
-
def _reduce_9(val, _values, result); end
|
5049
|
-
|
5050
|
-
# source://parser//lib/parser/ruby32.rb#9046
|
5051
|
-
def _reduce_90(val, _values, result); end
|
5052
|
-
|
5053
|
-
# reduce 91 omitted
|
5054
|
-
#
|
5055
|
-
# source://parser//lib/parser/ruby32.rb#9054
|
5056
|
-
def _reduce_92(val, _values, result); end
|
5057
|
-
|
5058
|
-
# source://parser//lib/parser/ruby32.rb#9061
|
5059
|
-
def _reduce_93(val, _values, result); end
|
5060
|
-
|
5061
|
-
# source://parser//lib/parser/ruby32.rb#9068
|
5062
|
-
def _reduce_94(val, _values, result); end
|
5063
|
-
|
5064
|
-
# source://parser//lib/parser/ruby32.rb#9076
|
5065
|
-
def _reduce_95(val, _values, result); end
|
5066
|
-
|
5067
|
-
# source://parser//lib/parser/ruby32.rb#9083
|
5068
|
-
def _reduce_96(val, _values, result); end
|
5069
|
-
|
5070
|
-
# source://parser//lib/parser/ruby32.rb#9091
|
5071
|
-
def _reduce_97(val, _values, result); end
|
5072
|
-
|
5073
|
-
# source://parser//lib/parser/ruby32.rb#9097
|
5074
|
-
def _reduce_98(val, _values, result); end
|
5075
|
-
|
5076
|
-
# source://parser//lib/parser/ruby32.rb#9104
|
5077
|
-
def _reduce_99(val, _values, result); end
|
5078
|
-
|
5079
|
-
# source://parser//lib/parser/ruby32.rb#12699
|
5080
|
-
def _reduce_none(val, _values, result); end
|
5081
|
-
|
5082
|
-
# source://parser//lib/parser/ruby32.rb#21
|
5083
|
-
def default_encoding; end
|
5084
|
-
|
5085
|
-
# source://parser//lib/parser/ruby32.rb#25
|
5086
|
-
def endless_method_name(name_t); end
|
5087
|
-
|
5088
|
-
# source://parser//lib/parser/ruby32.rb#38
|
5089
|
-
def local_pop; end
|
5090
|
-
|
5091
|
-
# source://parser//lib/parser/ruby32.rb#31
|
5092
|
-
def local_push; end
|
5093
|
-
|
5094
|
-
# source://parser//lib/parser/ruby32.rb#45
|
5095
|
-
def try_declare_numparam(node); end
|
5096
|
-
|
5097
|
-
# source://parser//lib/parser/ruby32.rb#17
|
5098
|
-
def version; end
|
5099
|
-
end
|
5100
|
-
|
5101
|
-
# source://parser//lib/parser/ruby32.rb#8008
|
5102
|
-
Parser::Ruby32::Racc_arg = T.let(T.unsafe(nil), Array)
|
5103
|
-
|
5104
|
-
# source://parser//lib/parser/ruby32.rb#8415
|
5105
|
-
Parser::Ruby32::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
|
5106
|
-
|
5107
|
-
# source://parser//lib/parser/ruby32.rb#8025
|
5108
|
-
Parser::Ruby32::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
5109
|
-
|
5110
|
-
# @api public
|
5111
|
-
#
|
5112
|
-
# source://parser//lib/parser.rb#30
|
5113
|
-
module Parser::Source; end
|
5114
|
-
|
5115
|
-
# A buffer with source code. {Buffer} contains the source code itself,
|
5116
|
-
# associated location information (name and first line), and takes care
|
5117
|
-
# of encoding.
|
5118
|
-
#
|
5119
|
-
# A source buffer is immutable once populated.
|
5120
|
-
#
|
5121
|
-
# @api public
|
5122
|
-
#
|
5123
|
-
# source://parser//lib/parser/source/buffer.rb#25
|
5124
|
-
class Parser::Source::Buffer
|
5125
|
-
# @api public
|
5126
|
-
# @return [Buffer] a new instance of Buffer
|
5127
|
-
#
|
5128
|
-
# source://parser//lib/parser/source/buffer.rb#105
|
5129
|
-
def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
|
5130
|
-
|
5131
|
-
# Convert a character index into the source to a column number.
|
5132
|
-
#
|
5133
|
-
# @api private
|
5134
|
-
# @param position [Integer]
|
5135
|
-
# @return [Integer] column
|
5136
|
-
#
|
5137
|
-
# source://parser//lib/parser/source/buffer.rb#242
|
5138
|
-
def column_for_position(position); end
|
5139
|
-
|
5140
|
-
# Convert a character index into the source to a `[line, column]` tuple.
|
5141
|
-
#
|
5142
|
-
# @api public
|
5143
|
-
# @param position [Integer]
|
5144
|
-
# @return [[Integer, Integer]] `[line, column]`
|
5145
|
-
#
|
5146
|
-
# source://parser//lib/parser/source/buffer.rb#217
|
5147
|
-
def decompose_position(position); end
|
5148
|
-
|
5149
|
-
# First line of the buffer, 1 by default.
|
5150
|
-
#
|
5151
|
-
# @api public
|
5152
|
-
# @return [Integer] first line
|
5153
|
-
#
|
5154
|
-
# source://parser//lib/parser/source/buffer.rb#26
|
5155
|
-
def first_line; end
|
5156
|
-
|
5157
|
-
# @api public
|
5158
|
-
#
|
5159
|
-
# source://parser//lib/parser/source/buffer.rb#312
|
5160
|
-
def freeze; end
|
5161
|
-
|
5162
|
-
# @api public
|
5163
|
-
#
|
5164
|
-
# source://parser//lib/parser/source/buffer.rb#318
|
5165
|
-
def inspect; end
|
5166
|
-
|
5167
|
-
# Number of last line in the buffer
|
5168
|
-
#
|
5169
|
-
# @api public
|
5170
|
-
# @return [Integer]
|
5171
|
-
#
|
5172
|
-
# source://parser//lib/parser/source/buffer.rb#307
|
5173
|
-
def last_line; end
|
5174
|
-
|
5175
|
-
# Convert a character index into the source to a line number.
|
5176
|
-
#
|
5177
|
-
# @api private
|
5178
|
-
# @param position [Integer]
|
5179
|
-
# @return [Integer] line
|
5180
|
-
#
|
5181
|
-
# source://parser//lib/parser/source/buffer.rb#231
|
5182
|
-
def line_for_position(position); end
|
5183
|
-
|
5184
|
-
# Extract line `lineno` as a new `Range`, taking `first_line` into account.
|
5185
|
-
#
|
5186
|
-
# @api public
|
5187
|
-
# @param lineno [Integer]
|
5188
|
-
# @raise [IndexError] if `lineno` is out of bounds
|
5189
|
-
# @return [Range]
|
5190
|
-
#
|
5191
|
-
# source://parser//lib/parser/source/buffer.rb#284
|
5192
|
-
def line_range(lineno); end
|
5193
|
-
|
5194
|
-
# Buffer name. If the buffer was created from a file, the name corresponds
|
5195
|
-
# to relative path to the file.
|
5196
|
-
#
|
5197
|
-
# @api public
|
5198
|
-
# @return [String] buffer name
|
5199
|
-
#
|
5200
|
-
# source://parser//lib/parser/source/buffer.rb#26
|
5201
|
-
def name; end
|
5202
|
-
|
5203
|
-
# Populate this buffer from a string without encoding autodetection.
|
5204
|
-
#
|
5205
|
-
# @api public
|
5206
|
-
# @param input [String]
|
5207
|
-
# @raise [ArgumentError] if already populated
|
5208
|
-
# @return [String]
|
5209
|
-
#
|
5210
|
-
# source://parser//lib/parser/source/buffer.rb#180
|
5211
|
-
def raw_source=(input); end
|
5212
|
-
|
5213
|
-
# Populate this buffer from correspondingly named file.
|
5214
|
-
#
|
5215
|
-
# @api public
|
5216
|
-
# @example
|
5217
|
-
# Parser::Source::Buffer.new('foo/bar.rb').read
|
5218
|
-
# @raise [ArgumentError] if already populated
|
5219
|
-
# @return [Buffer] self
|
5220
|
-
#
|
5221
|
-
# source://parser//lib/parser/source/buffer.rb#131
|
5222
|
-
def read; end
|
5223
|
-
|
5224
|
-
# @api public
|
5225
|
-
#
|
5226
|
-
# source://parser//lib/parser/source/buffer.rb#194
|
5227
|
-
def slice(start, length = T.unsafe(nil)); end
|
5228
|
-
|
5229
|
-
# Source code contained in this buffer.
|
5230
|
-
#
|
5231
|
-
# @api public
|
5232
|
-
# @raise [RuntimeError] if buffer is not populated yet
|
5233
|
-
# @return [String] source code
|
5234
|
-
#
|
5235
|
-
# source://parser//lib/parser/source/buffer.rb#145
|
5236
|
-
def source; end
|
5237
|
-
|
5238
|
-
# Populate this buffer from a string with encoding autodetection.
|
5239
|
-
# `input` is mutated if not frozen.
|
5240
|
-
#
|
5241
|
-
# @api public
|
5242
|
-
# @param input [String]
|
5243
|
-
# @raise [ArgumentError] if already populated
|
5244
|
-
# @raise [EncodingError] if `input` includes invalid byte sequence for the encoding
|
5245
|
-
# @return [String]
|
5246
|
-
#
|
5247
|
-
# source://parser//lib/parser/source/buffer.rb#162
|
5248
|
-
def source=(input); end
|
5249
|
-
|
5250
|
-
# Extract line `lineno` from source, taking `first_line` into account.
|
5251
|
-
#
|
5252
|
-
# @api public
|
5253
|
-
# @param lineno [Integer]
|
5254
|
-
# @raise [IndexError] if `lineno` is out of bounds
|
5255
|
-
# @return [String]
|
5256
|
-
#
|
5257
|
-
# source://parser//lib/parser/source/buffer.rb#273
|
5258
|
-
def source_line(lineno); end
|
5259
|
-
|
5260
|
-
# Return an `Array` of source code lines.
|
5261
|
-
#
|
5262
|
-
# @api public
|
5263
|
-
# @return [Array<String>]
|
5264
|
-
#
|
5265
|
-
# source://parser//lib/parser/source/buffer.rb#252
|
5266
|
-
def source_lines; end
|
5267
|
-
|
5268
|
-
# @api public
|
5269
|
-
# @return [Range] A range covering the whole source
|
5270
|
-
#
|
5271
|
-
# source://parser//lib/parser/source/buffer.rb#298
|
5272
|
-
def source_range; end
|
5273
|
-
|
5274
|
-
private
|
5275
|
-
|
5276
|
-
# @api public
|
5277
|
-
#
|
5278
|
-
# source://parser//lib/parser/source/buffer.rb#348
|
5279
|
-
def bsearch(line_begins, position); end
|
5280
|
-
|
5281
|
-
# @api public
|
5282
|
-
#
|
5283
|
-
# source://parser//lib/parser/source/buffer.rb#325
|
5284
|
-
def line_begins; end
|
5285
|
-
|
5286
|
-
# @api public
|
5287
|
-
#
|
5288
|
-
# source://parser//lib/parser/source/buffer.rb#339
|
5289
|
-
def line_index_for_position(position); end
|
5290
|
-
|
5291
|
-
class << self
|
5292
|
-
# Try to recognize encoding of `string` as Ruby would, i.e. by looking for
|
5293
|
-
# magic encoding comment or UTF-8 BOM. `string` can be in any encoding.
|
5294
|
-
#
|
5295
|
-
# @api public
|
5296
|
-
# @param string [String]
|
5297
|
-
# @return [String, nil] encoding name, if recognized
|
5298
|
-
#
|
5299
|
-
# source://parser//lib/parser/source/buffer.rb#51
|
5300
|
-
def recognize_encoding(string); end
|
5301
|
-
|
5302
|
-
# Recognize encoding of `input` and process it so it could be lexed.
|
5303
|
-
#
|
5304
|
-
# * If `input` does not contain BOM or magic encoding comment, it is
|
5305
|
-
# kept in the original encoding.
|
5306
|
-
# * If the detected encoding is binary, `input` is kept in binary.
|
5307
|
-
# * Otherwise, `input` is re-encoded into UTF-8 and returned as a
|
5308
|
-
# new string.
|
5309
|
-
#
|
5310
|
-
# This method mutates the encoding of `input`, but not its content.
|
5311
|
-
#
|
5312
|
-
# @api public
|
5313
|
-
# @param input [String]
|
5314
|
-
# @raise [EncodingError]
|
5315
|
-
# @return [String]
|
5316
|
-
#
|
5317
|
-
# source://parser//lib/parser/source/buffer.rb#90
|
5318
|
-
def reencode_string(input); end
|
5319
|
-
end
|
5320
|
-
end
|
5321
|
-
|
5322
|
-
# @api private
|
5323
|
-
#
|
5324
|
-
# source://parser//lib/parser/source/buffer.rb#31
|
5325
|
-
Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
|
5326
|
-
|
5327
|
-
# A comment in the source code.
|
5328
|
-
#
|
5329
|
-
# @api public
|
5330
|
-
#
|
5331
|
-
# source://parser//lib/parser/source/comment.rb#17
|
5332
|
-
class Parser::Source::Comment
|
5333
|
-
# @api public
|
5334
|
-
# @param range [Parser::Source::Range]
|
5335
|
-
# @return [Comment] a new instance of Comment
|
5336
|
-
#
|
5337
|
-
# source://parser//lib/parser/source/comment.rb#67
|
5338
|
-
def initialize(range); end
|
3541
|
+
# source://parser//lib/parser/source/comment.rb#67
|
3542
|
+
def initialize(range); end
|
5339
3543
|
|
5340
3544
|
# Compares comments. Two comments are equal if they
|
5341
3545
|
# correspond to the same source range.
|
@@ -5452,7 +3656,7 @@ class Parser::Source::Comment::Associator
|
|
5452
3656
|
# source://parser//lib/parser/source/comment/associator.rb#115
|
5453
3657
|
def associate_by_identity; end
|
5454
3658
|
|
5455
|
-
# source://parser//lib/parser/source/comment/associator.rb#
|
3659
|
+
# source://parser//lib/parser/source/comment/associator.rb#104
|
5456
3660
|
def associate_locations; end
|
5457
3661
|
|
5458
3662
|
# source://parser//lib/parser/source/comment/associator.rb#46
|
@@ -7020,10 +5224,10 @@ class Parser::StaticEnvironment
|
|
7020
5224
|
# source://parser//lib/parser/static_environment.rb#58
|
7021
5225
|
def declare_anonymous_blockarg; end
|
7022
5226
|
|
7023
|
-
# source://parser//lib/parser/static_environment.rb#
|
5227
|
+
# source://parser//lib/parser/static_environment.rb#82
|
7024
5228
|
def declare_anonymous_kwrestarg; end
|
7025
5229
|
|
7026
|
-
# source://parser//lib/parser/static_environment.rb#
|
5230
|
+
# source://parser//lib/parser/static_environment.rb#70
|
7027
5231
|
def declare_anonymous_restarg; end
|
7028
5232
|
|
7029
5233
|
# source://parser//lib/parser/static_environment.rb#50
|
@@ -7041,12 +5245,12 @@ class Parser::StaticEnvironment
|
|
7041
5245
|
|
7042
5246
|
# @return [Boolean]
|
7043
5247
|
#
|
7044
|
-
# source://parser//lib/parser/static_environment.rb#
|
5248
|
+
# source://parser//lib/parser/static_environment.rb#86
|
7045
5249
|
def declared_anonymous_kwrestarg?; end
|
7046
5250
|
|
7047
5251
|
# @return [Boolean]
|
7048
5252
|
#
|
7049
|
-
# source://parser//lib/parser/static_environment.rb#
|
5253
|
+
# source://parser//lib/parser/static_environment.rb#74
|
7050
5254
|
def declared_anonymous_restarg?; end
|
7051
5255
|
|
7052
5256
|
# @return [Boolean]
|
@@ -7056,7 +5260,7 @@ class Parser::StaticEnvironment
|
|
7056
5260
|
|
7057
5261
|
# @return [Boolean]
|
7058
5262
|
#
|
7059
|
-
# source://parser//lib/parser/static_environment.rb#
|
5263
|
+
# source://parser//lib/parser/static_environment.rb#94
|
7060
5264
|
def empty?; end
|
7061
5265
|
|
7062
5266
|
# source://parser//lib/parser/static_environment.rb#27
|
@@ -7065,6 +5269,21 @@ class Parser::StaticEnvironment
|
|
7065
5269
|
# source://parser//lib/parser/static_environment.rb#20
|
7066
5270
|
def extend_static; end
|
7067
5271
|
|
5272
|
+
# @return [Boolean]
|
5273
|
+
#
|
5274
|
+
# source://parser//lib/parser/static_environment.rb#66
|
5275
|
+
def parent_has_anonymous_blockarg?; end
|
5276
|
+
|
5277
|
+
# @return [Boolean]
|
5278
|
+
#
|
5279
|
+
# source://parser//lib/parser/static_environment.rb#90
|
5280
|
+
def parent_has_anonymous_kwrestarg?; end
|
5281
|
+
|
5282
|
+
# @return [Boolean]
|
5283
|
+
#
|
5284
|
+
# source://parser//lib/parser/static_environment.rb#78
|
5285
|
+
def parent_has_anonymous_restarg?; end
|
5286
|
+
|
7068
5287
|
# source://parser//lib/parser/static_environment.rb#15
|
7069
5288
|
def reset; end
|
7070
5289
|
|