vigiles 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -0
- data/lib/generators/vigiles/initializer_generator.rb +1 -1
- data/lib/generators/vigiles/install_generator.rb +1 -1
- data/lib/generators/vigiles/migration_generator.rb +2 -1
- data/lib/vigiles/archive/extras.rb +1 -1
- data/lib/vigiles/archive/metadata.rb +1 -1
- data/lib/vigiles/archive/response.rb +31 -5
- data/lib/vigiles/archive.rb +1 -1
- data/lib/vigiles/constants.rb +161 -1
- data/lib/vigiles/conversation_recorder.rb +3 -0
- data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
- data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
- data/lib/vigiles/middleware/record_conversation.rb +2 -2
- data/lib/vigiles/options.rb +1 -0
- data/lib/vigiles/types.rb +6 -0
- data/lib/vigiles/utilities/http.rb +60 -0
- data/lib/vigiles/utilities/json.rb +3 -2
- data/lib/vigiles/version.rb +1 -1
- data/lib/vigiles.rb +15 -3
- data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
- data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
- data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
- data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
- data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
- data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
- data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
- data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
- data/vigiles.gemspec +1 -1
- metadata +30 -29
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
- /data/lib/generators/{templates → vigiles/templates}/archive_conversation_migration.rb.erb +0 -0
- /data/lib/generators/{templates → vigiles/templates}/initializer.rb +0 -0
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `regexp_parser` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem regexp_parser`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#1
|
8
9
|
module Regexp::Expression; end
|
9
10
|
|
@@ -1132,7 +1133,7 @@ end
|
|
1132
1133
|
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#2
|
1133
1134
|
module Regexp::Expression::Keep; end
|
1134
1135
|
|
1135
|
-
#
|
1136
|
+
# TODO: in regexp_parser v3.0.0 this should possibly be a Subexpression
|
1136
1137
|
# that contains all expressions to its left.
|
1137
1138
|
#
|
1138
1139
|
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#5
|
@@ -2368,7 +2369,7 @@ class Regexp::Parser
|
|
2368
2369
|
# source://regexp_parser//lib/regexp_parser/parser.rb#262
|
2369
2370
|
def assign_effective_number(exp); end
|
2370
2371
|
|
2371
|
-
# Assigns referenced expressions to
|
2372
|
+
# Assigns referenced expressions to referring expressions, e.g. if there is
|
2372
2373
|
# an instance of Backreference::Number, its #referenced_expression is set to
|
2373
2374
|
# the instance of Group::Capture that it refers to via its number.
|
2374
2375
|
#
|
@@ -1,9 +1,10 @@
|
|
1
|
-
# typed:
|
1
|
+
# typed: false
|
2
2
|
|
3
3
|
# DO NOT EDIT MANUALLY
|
4
4
|
# This is an autogenerated file for types exported from the `rexml` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rexml`.
|
6
6
|
|
7
|
+
|
7
8
|
# This class needs:
|
8
9
|
# * Documentation
|
9
10
|
# * Work! Not all types of attlists are intelligently parsed, so we just
|
@@ -3453,47 +3454,48 @@ end
|
|
3453
3454
|
# A Source that wraps an IO. See the Source class for method
|
3454
3455
|
# documentation
|
3455
3456
|
#
|
3456
|
-
# source://rexml//lib/rexml/source.rb#
|
3457
|
+
# source://rexml//lib/rexml/source.rb#140
|
3457
3458
|
class REXML::IOSource < ::REXML::Source
|
3458
3459
|
# block_size has been deprecated
|
3459
3460
|
#
|
3460
3461
|
# @return [IOSource] a new instance of IOSource
|
3461
3462
|
#
|
3462
|
-
# source://rexml//lib/rexml/source.rb#
|
3463
|
+
# source://rexml//lib/rexml/source.rb#144
|
3463
3464
|
def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
3464
3465
|
|
3465
|
-
# source://rexml//lib/rexml/source.rb#215
|
3466
|
-
def consume(pattern); end
|
3467
|
-
|
3468
3466
|
# @return the current line in the source
|
3469
3467
|
#
|
3470
|
-
# source://rexml//lib/rexml/source.rb#
|
3468
|
+
# source://rexml//lib/rexml/source.rb#217
|
3471
3469
|
def current_line; end
|
3472
3470
|
|
3473
3471
|
# @return [Boolean]
|
3474
3472
|
#
|
3475
|
-
# source://rexml//lib/rexml/source.rb#
|
3473
|
+
# source://rexml//lib/rexml/source.rb#212
|
3476
3474
|
def empty?; end
|
3477
3475
|
|
3478
|
-
# source://rexml//lib/rexml/source.rb#
|
3479
|
-
def
|
3476
|
+
# source://rexml//lib/rexml/source.rb#189
|
3477
|
+
def ensure_buffer; end
|
3480
3478
|
|
3481
|
-
#
|
3482
|
-
|
3479
|
+
# Note: When specifying a string for 'pattern', it must not include '>' except in the following formats:
|
3480
|
+
# - ">"
|
3481
|
+
# - "XXX>" (X is any string excluding '>')
|
3482
|
+
#
|
3483
|
+
# source://rexml//lib/rexml/source.rb#196
|
3484
|
+
def match(pattern, cons = T.unsafe(nil)); end
|
3483
3485
|
|
3484
|
-
# source://rexml//lib/rexml/source.rb#
|
3485
|
-
def read; end
|
3486
|
+
# source://rexml//lib/rexml/source.rb#165
|
3487
|
+
def read(term = T.unsafe(nil)); end
|
3486
3488
|
|
3487
|
-
# source://rexml//lib/rexml/source.rb#
|
3488
|
-
def
|
3489
|
+
# source://rexml//lib/rexml/source.rb#175
|
3490
|
+
def read_until(term); end
|
3489
3491
|
|
3490
3492
|
private
|
3491
3493
|
|
3492
|
-
# source://rexml//lib/rexml/source.rb#
|
3494
|
+
# source://rexml//lib/rexml/source.rb#259
|
3493
3495
|
def encoding_updated; end
|
3494
3496
|
|
3495
|
-
# source://rexml//lib/rexml/source.rb#
|
3496
|
-
def readline; end
|
3497
|
+
# source://rexml//lib/rexml/source.rb#239
|
3498
|
+
def readline(term = T.unsafe(nil)); end
|
3497
3499
|
end
|
3498
3500
|
|
3499
3501
|
# Represents an XML Instruction; IE, <? ... ?>
|
@@ -3816,7 +3818,7 @@ class REXML::ParseException < ::RuntimeError
|
|
3816
3818
|
# source://rexml//lib/rexml/parseexception.rb#6
|
3817
3819
|
def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end
|
3818
3820
|
|
3819
|
-
# source://rexml//lib/rexml/parseexception.rb#
|
3821
|
+
# source://rexml//lib/rexml/parseexception.rb#49
|
3820
3822
|
def context; end
|
3821
3823
|
|
3822
3824
|
# Returns the value of attribute continued_exception.
|
@@ -3831,7 +3833,7 @@ class REXML::ParseException < ::RuntimeError
|
|
3831
3833
|
# source://rexml//lib/rexml/parseexception.rb#4
|
3832
3834
|
def continued_exception=(_arg0); end
|
3833
3835
|
|
3834
|
-
# source://rexml//lib/rexml/parseexception.rb#
|
3836
|
+
# source://rexml//lib/rexml/parseexception.rb#44
|
3835
3837
|
def line; end
|
3836
3838
|
|
3837
3839
|
# Returns the value of attribute parser.
|
@@ -3846,7 +3848,7 @@ class REXML::ParseException < ::RuntimeError
|
|
3846
3848
|
# source://rexml//lib/rexml/parseexception.rb#4
|
3847
3849
|
def parser=(_arg0); end
|
3848
3850
|
|
3849
|
-
# source://rexml//lib/rexml/parseexception.rb#
|
3851
|
+
# source://rexml//lib/rexml/parseexception.rb#39
|
3850
3852
|
def position; end
|
3851
3853
|
|
3852
3854
|
# Returns the value of attribute source.
|
@@ -3887,34 +3889,36 @@ end
|
|
3887
3889
|
#
|
3888
3890
|
# source://rexml//lib/rexml/parsers/baseparser.rb#29
|
3889
3891
|
class REXML::Parsers::BaseParser
|
3892
|
+
include ::REXML::Parsers::BaseParser::Private
|
3893
|
+
|
3890
3894
|
# @return [BaseParser] a new instance of BaseParser
|
3891
3895
|
#
|
3892
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3896
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#128
|
3893
3897
|
def initialize(source); end
|
3894
3898
|
|
3895
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3899
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#133
|
3896
3900
|
def add_listener(listener); end
|
3897
3901
|
|
3898
3902
|
# Returns true if there are no more events
|
3899
3903
|
#
|
3900
3904
|
# @return [Boolean]
|
3901
3905
|
#
|
3902
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3906
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#159
|
3903
3907
|
def empty?; end
|
3904
3908
|
|
3905
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3909
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#446
|
3906
3910
|
def entity(reference, entities); end
|
3907
3911
|
|
3908
3912
|
# Returns true if there are more events. Synonymous with !empty?
|
3909
3913
|
#
|
3910
3914
|
# @return [Boolean]
|
3911
3915
|
#
|
3912
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3916
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#164
|
3913
3917
|
def has_next?; end
|
3914
3918
|
|
3915
3919
|
# Escapes all possible entities
|
3916
3920
|
#
|
3917
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3921
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#457
|
3918
3922
|
def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
|
3919
3923
|
|
3920
3924
|
# Peek at the +depth+ event in the stack. The first element on the stack
|
@@ -3924,59 +3928,59 @@ class REXML::Parsers::BaseParser
|
|
3924
3928
|
# event, so you can effectively pre-parse the entire document (pull the
|
3925
3929
|
# entire thing into memory) using this method.
|
3926
3930
|
#
|
3927
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3931
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#180
|
3928
3932
|
def peek(depth = T.unsafe(nil)); end
|
3929
3933
|
|
3930
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3934
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#149
|
3931
3935
|
def position; end
|
3932
3936
|
|
3933
3937
|
# Returns the next event. This is a +PullEvent+ object.
|
3934
3938
|
#
|
3935
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3939
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#195
|
3936
3940
|
def pull; end
|
3937
3941
|
|
3938
3942
|
# Returns the value of attribute source.
|
3939
3943
|
#
|
3940
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3944
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#137
|
3941
3945
|
def source; end
|
3942
3946
|
|
3943
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3947
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#139
|
3944
3948
|
def stream=(source); end
|
3945
3949
|
|
3946
3950
|
# Unescapes all possible entities
|
3947
3951
|
#
|
3948
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3952
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#473
|
3949
3953
|
def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
|
3950
3954
|
|
3951
3955
|
# Push an event back on the head of the stream. This method
|
3952
3956
|
# has (theoretically) infinite depth.
|
3953
3957
|
#
|
3954
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3958
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#170
|
3955
3959
|
def unshift(token); end
|
3956
3960
|
|
3957
3961
|
private
|
3958
3962
|
|
3959
3963
|
# @return [Boolean]
|
3960
3964
|
#
|
3961
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3965
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#502
|
3962
3966
|
def need_source_encoding_update?(xml_declaration_encoding); end
|
3963
3967
|
|
3964
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3968
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#613
|
3965
3969
|
def parse_attributes(prefixes, curr_ns); end
|
3966
3970
|
|
3967
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3971
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#521
|
3968
3972
|
def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
|
3969
3973
|
|
3970
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3974
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#549
|
3971
3975
|
def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
|
3972
3976
|
|
3973
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3977
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#508
|
3974
3978
|
def parse_name(base_error_message); end
|
3975
3979
|
|
3976
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3977
|
-
def process_instruction; end
|
3980
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#587
|
3981
|
+
def process_instruction(start_position); end
|
3978
3982
|
|
3979
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3983
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#203
|
3980
3984
|
def pull_event; end
|
3981
3985
|
end
|
3982
3986
|
|
@@ -3989,6 +3993,33 @@ REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
|
|
3989
3993
|
# source://rexml//lib/rexml/parsers/baseparser.rb#104
|
3990
3994
|
REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
|
3991
3995
|
|
3996
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#115
|
3997
|
+
module REXML::Parsers::BaseParser::Private; end
|
3998
|
+
|
3999
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#119
|
4000
|
+
REXML::Parsers::BaseParser::Private::ATTLISTDECL_END = T.let(T.unsafe(nil), Regexp)
|
4001
|
+
|
4002
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#118
|
4003
|
+
REXML::Parsers::BaseParser::Private::CLOSE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
4004
|
+
|
4005
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#123
|
4006
|
+
REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
|
4007
|
+
|
4008
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#121
|
4009
|
+
REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String)
|
4010
|
+
|
4011
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#116
|
4012
|
+
REXML::Parsers::BaseParser::Private::INSTRUCTION_END = T.let(T.unsafe(nil), Regexp)
|
4013
|
+
|
4014
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#120
|
4015
|
+
REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
|
4016
|
+
|
4017
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#122
|
4018
|
+
REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String)
|
4019
|
+
|
4020
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#117
|
4021
|
+
REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp)
|
4022
|
+
|
3992
4023
|
# source://rexml//lib/rexml/parsers/baseparser.rb#38
|
3993
4024
|
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
|
3994
4025
|
|
@@ -4198,85 +4229,67 @@ class REXML::Source
|
|
4198
4229
|
# @param encoding if non-null, sets the encoding of the source to this
|
4199
4230
|
# @return [Source] a new instance of Source
|
4200
4231
|
#
|
4201
|
-
# source://rexml//lib/rexml/source.rb#
|
4232
|
+
# source://rexml//lib/rexml/source.rb#41
|
4202
4233
|
def initialize(arg, encoding = T.unsafe(nil)); end
|
4203
4234
|
|
4204
4235
|
# The current buffer (what we're going to read next)
|
4205
4236
|
#
|
4206
|
-
# source://rexml//lib/rexml/source.rb#
|
4237
|
+
# source://rexml//lib/rexml/source.rb#53
|
4207
4238
|
def buffer; end
|
4208
4239
|
|
4209
|
-
# source://rexml//lib/rexml/source.rb#
|
4210
|
-
def
|
4240
|
+
# source://rexml//lib/rexml/source.rb#57
|
4241
|
+
def buffer_encoding=(encoding); end
|
4211
4242
|
|
4212
4243
|
# @return the current line in the source
|
4213
4244
|
#
|
4214
|
-
# source://rexml//lib/rexml/source.rb#
|
4245
|
+
# source://rexml//lib/rexml/source.rb#100
|
4215
4246
|
def current_line; end
|
4216
4247
|
|
4217
4248
|
# @return [Boolean] true if the Source is exhausted
|
4218
4249
|
#
|
4219
|
-
# source://rexml//lib/rexml/source.rb#
|
4250
|
+
# source://rexml//lib/rexml/source.rb#95
|
4220
4251
|
def empty?; end
|
4221
4252
|
|
4222
4253
|
# Returns the value of attribute encoding.
|
4223
4254
|
#
|
4224
|
-
# source://rexml//lib/rexml/source.rb#
|
4255
|
+
# source://rexml//lib/rexml/source.rb#35
|
4225
4256
|
def encoding; end
|
4226
4257
|
|
4227
4258
|
# Inherited from Encoding
|
4228
4259
|
# Overridden to support optimized en/decoding
|
4229
4260
|
#
|
4230
|
-
# source://rexml//lib/rexml/source.rb#
|
4261
|
+
# source://rexml//lib/rexml/source.rb#63
|
4231
4262
|
def encoding=(enc); end
|
4232
4263
|
|
4264
|
+
# source://rexml//lib/rexml/source.rb#75
|
4265
|
+
def ensure_buffer; end
|
4266
|
+
|
4233
4267
|
# The line number of the last consumed text
|
4234
4268
|
#
|
4235
|
-
# source://rexml//lib/rexml/source.rb#
|
4269
|
+
# source://rexml//lib/rexml/source.rb#34
|
4236
4270
|
def line; end
|
4237
4271
|
|
4238
|
-
# source://rexml//lib/rexml/source.rb#
|
4272
|
+
# source://rexml//lib/rexml/source.rb#78
|
4239
4273
|
def match(pattern, cons = T.unsafe(nil)); end
|
4240
4274
|
|
4241
|
-
# source://rexml//lib/rexml/source.rb#
|
4242
|
-
def
|
4275
|
+
# source://rexml//lib/rexml/source.rb#86
|
4276
|
+
def position; end
|
4243
4277
|
|
4244
|
-
# source://rexml//lib/rexml/source.rb#
|
4245
|
-
def
|
4278
|
+
# source://rexml//lib/rexml/source.rb#90
|
4279
|
+
def position=(pos); end
|
4246
4280
|
|
4247
|
-
# source://rexml//lib/rexml/source.rb#
|
4248
|
-
def
|
4281
|
+
# source://rexml//lib/rexml/source.rb#68
|
4282
|
+
def read(term = T.unsafe(nil)); end
|
4249
4283
|
|
4250
|
-
# source://rexml//lib/rexml/source.rb#
|
4251
|
-
def
|
4252
|
-
|
4253
|
-
# Scans the source for a given pattern. Note, that this is not your
|
4254
|
-
# usual scan() method. For one thing, the pattern argument has some
|
4255
|
-
# requirements; for another, the source can be consumed. You can easily
|
4256
|
-
# confuse this method. Originally, the patterns were easier
|
4257
|
-
# to construct and this method more robust, because this method
|
4258
|
-
# generated search regexps on the fly; however, this was
|
4259
|
-
# computationally expensive and slowed down the entire REXML package
|
4260
|
-
# considerably, since this is by far the most commonly called method.
|
4261
|
-
# /^\s*(#{your pattern, with no groups})(.*)/. The first group
|
4262
|
-
# will be returned; the second group is used if the consume flag is
|
4263
|
-
# set.
|
4264
|
-
# everything after it in the Source.
|
4265
|
-
# pattern is not found.
|
4266
|
-
#
|
4267
|
-
# @param pattern must be a Regexp, and must be in the form of
|
4268
|
-
# @param consume if true, the pattern returned will be consumed, leaving
|
4269
|
-
# @return the pattern, if found, or nil if the Source is empty or the
|
4270
|
-
#
|
4271
|
-
# source://rexml//lib/rexml/source.rb#77
|
4272
|
-
def scan(pattern, cons = T.unsafe(nil)); end
|
4284
|
+
# source://rexml//lib/rexml/source.rb#71
|
4285
|
+
def read_until(term); end
|
4273
4286
|
|
4274
4287
|
private
|
4275
4288
|
|
4276
|
-
# source://rexml//lib/rexml/source.rb#
|
4289
|
+
# source://rexml//lib/rexml/source.rb#109
|
4277
4290
|
def detect_encoding; end
|
4278
4291
|
|
4279
|
-
# source://rexml//lib/rexml/source.rb#
|
4292
|
+
# source://rexml//lib/rexml/source.rb#127
|
4280
4293
|
def encoding_updated; end
|
4281
4294
|
end
|
4282
4295
|
|
@@ -4607,24 +4620,24 @@ end
|
|
4607
4620
|
|
4608
4621
|
# @private
|
4609
4622
|
#
|
4610
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4623
|
+
# source://rexml//lib/rexml/xpath_parser.rb#963
|
4611
4624
|
class REXML::XPathNode
|
4612
4625
|
# @return [XPathNode] a new instance of XPathNode
|
4613
4626
|
#
|
4614
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4627
|
+
# source://rexml//lib/rexml/xpath_parser.rb#965
|
4615
4628
|
def initialize(node, context = T.unsafe(nil)); end
|
4616
4629
|
|
4617
4630
|
# Returns the value of attribute context.
|
4618
4631
|
#
|
4619
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4632
|
+
# source://rexml//lib/rexml/xpath_parser.rb#964
|
4620
4633
|
def context; end
|
4621
4634
|
|
4622
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4635
|
+
# source://rexml//lib/rexml/xpath_parser.rb#974
|
4623
4636
|
def position; end
|
4624
4637
|
|
4625
4638
|
# Returns the value of attribute raw_node.
|
4626
4639
|
#
|
4627
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4640
|
+
# source://rexml//lib/rexml/xpath_parser.rb#964
|
4628
4641
|
def raw_node; end
|
4629
4642
|
end
|
4630
4643
|
|
@@ -4673,25 +4686,25 @@ class REXML::XPathParser
|
|
4673
4686
|
|
4674
4687
|
private
|
4675
4688
|
|
4676
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4689
|
+
# source://rexml//lib/rexml/xpath_parser.rb#779
|
4677
4690
|
def child(nodeset); end
|
4678
4691
|
|
4679
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4692
|
+
# source://rexml//lib/rexml/xpath_parser.rb#920
|
4680
4693
|
def compare(a, operator, b); end
|
4681
4694
|
|
4682
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4695
|
+
# source://rexml//lib/rexml/xpath_parser.rb#682
|
4683
4696
|
def descendant(nodeset, include_self); end
|
4684
4697
|
|
4685
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4698
|
+
# source://rexml//lib/rexml/xpath_parser.rb#693
|
4686
4699
|
def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
|
4687
4700
|
|
4688
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4701
|
+
# source://rexml//lib/rexml/xpath_parser.rb#942
|
4689
4702
|
def each_unnode(nodeset); end
|
4690
4703
|
|
4691
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4704
|
+
# source://rexml//lib/rexml/xpath_parser.rb#641
|
4692
4705
|
def enter(tag, *args); end
|
4693
4706
|
|
4694
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4707
|
+
# source://rexml//lib/rexml/xpath_parser.rb#819
|
4695
4708
|
def equality_relational_compare(set1, op, set2); end
|
4696
4709
|
|
4697
4710
|
# source://rexml//lib/rexml/xpath_parser.rb#591
|
@@ -4706,10 +4719,10 @@ class REXML::XPathParser
|
|
4706
4719
|
# source://rexml//lib/rexml/xpath_parser.rb#582
|
4707
4720
|
def filter_nodeset(nodeset); end
|
4708
4721
|
|
4709
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4722
|
+
# source://rexml//lib/rexml/xpath_parser.rb#749
|
4710
4723
|
def following(node); end
|
4711
4724
|
|
4712
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4725
|
+
# source://rexml//lib/rexml/xpath_parser.rb#760
|
4713
4726
|
def following_node_of(node); end
|
4714
4727
|
|
4715
4728
|
# Returns a String namespace for a node, given a prefix
|
@@ -4721,19 +4734,19 @@ class REXML::XPathParser
|
|
4721
4734
|
# source://rexml//lib/rexml/xpath_parser.rb#163
|
4722
4735
|
def get_namespace(node, prefix); end
|
4723
4736
|
|
4724
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4737
|
+
# source://rexml//lib/rexml/xpath_parser.rb#646
|
4725
4738
|
def leave(tag, *args); end
|
4726
4739
|
|
4727
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4740
|
+
# source://rexml//lib/rexml/xpath_parser.rb#767
|
4728
4741
|
def next_sibling_node(node); end
|
4729
4742
|
|
4730
4743
|
# source://rexml//lib/rexml/xpath_parser.rb#477
|
4731
4744
|
def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
|
4732
4745
|
|
4733
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4746
|
+
# source://rexml//lib/rexml/xpath_parser.rb#806
|
4734
4747
|
def norm(b); end
|
4735
4748
|
|
4736
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4749
|
+
# source://rexml//lib/rexml/xpath_parser.rb#894
|
4737
4750
|
def normalize_compare_values(a, operator, b); end
|
4738
4751
|
|
4739
4752
|
# Builds a nodeset of all of the preceding nodes of the supplied node,
|
@@ -4741,10 +4754,10 @@ class REXML::XPathParser
|
|
4741
4754
|
# preceding:: includes every element in the document that precedes this node,
|
4742
4755
|
# except for ancestors
|
4743
4756
|
#
|
4744
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4757
|
+
# source://rexml//lib/rexml/xpath_parser.rb#712
|
4745
4758
|
def preceding(node); end
|
4746
4759
|
|
4747
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4760
|
+
# source://rexml//lib/rexml/xpath_parser.rb#734
|
4748
4761
|
def preceding_node_of(node); end
|
4749
4762
|
|
4750
4763
|
# Reorders an array of nodes so that they are in document order
|
@@ -4756,7 +4769,7 @@ class REXML::XPathParser
|
|
4756
4769
|
# I wouldn't have to do this. Maybe add a document IDX for each node?
|
4757
4770
|
# Problems with mutable documents. Or, rewrite everything.
|
4758
4771
|
#
|
4759
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4772
|
+
# source://rexml//lib/rexml/xpath_parser.rb#659
|
4760
4773
|
def sort(array_of_nodes, order); end
|
4761
4774
|
|
4762
4775
|
# source://rexml//lib/rexml/xpath_parser.rb#441
|
@@ -4767,13 +4780,13 @@ class REXML::XPathParser
|
|
4767
4780
|
# source://rexml//lib/rexml/xpath_parser.rb#154
|
4768
4781
|
def strict?; end
|
4769
4782
|
|
4770
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4783
|
+
# source://rexml//lib/rexml/xpath_parser.rb#634
|
4771
4784
|
def trace(*args); end
|
4772
4785
|
|
4773
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4786
|
+
# source://rexml//lib/rexml/xpath_parser.rb#954
|
4774
4787
|
def unnode(nodeset); end
|
4775
4788
|
|
4776
|
-
# source://rexml//lib/rexml/xpath_parser.rb#
|
4789
|
+
# source://rexml//lib/rexml/xpath_parser.rb#881
|
4777
4790
|
def value_type(value); end
|
4778
4791
|
end
|
4779
4792
|
|