ech_config 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad7a4376a3c5bf717173817b87a3fc517405659909c6024b54041cef12e2dbe4
4
- data.tar.gz: 46a316838ad31faff1a3066d3bd2d9f910c3e2a59d94be3100eb4cd072816058
3
+ metadata.gz: aea6ddd0220d3da3c9e6867b3be96b0911d004aa4da06f80961ce64704ed3d10
4
+ data.tar.gz: 7d4f0be4dc45cdee0d217427207e7552d7add18d9a6b9edb8544c56ed617a044
5
5
  SHA512:
6
- metadata.gz: c7277924712ed936097f52a1a2e90c75484229492e3164cd4ab5bcc3ad4102bc0178ca37a888d4c9905d9c0b668e9750587546742911659698750929f849c6f2
7
- data.tar.gz: 94c3ca0f9260b0ea67d333eb871ee3d5ff29629300a5554cbf18410df0a6e857f190a6ced4c423e781410db4a5a18cebd2e6abe335e3dd3ddb3e83827bb602b6
6
+ metadata.gz: d0ccf17e3769c48b7a67de2103cd19d119921a2319bf2021b7564e9679e48494614fe890c78eb3cbb6d39460da02a2f5216186d259339c5a18a7b33f47543eb8
7
+ data.tar.gz: 3f7b0f9ae30c38fc121259e38f547d04bd1900a00fe3c5c360b1af9de407bb017364fc5299d63bce9fed477f480e2197f6b79da0f4dc4bfd537ee68339c7d58c
data/.rubocop.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ SuggestExtensions: false
2
3
  TargetRubyVersion: 2.7
3
4
 
4
5
  Style/ConditionalAssignment:
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ gem 'sorbet-runtime'
8
8
 
9
9
  group :test do
10
10
  gem 'byebug'
11
+ gem 'openssl'
11
12
  gem 'rake'
12
13
  gem 'rspec', '3.11'
13
14
  gem 'rubocop', '1.42'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ech_config (0.0.1)
4
+ ech_config (0.0.3)
5
5
  sorbet-runtime
6
6
 
7
7
  GEM
@@ -10,14 +10,17 @@ GEM
10
10
  ast (2.4.2)
11
11
  byebug (11.1.3)
12
12
  diff-lcs (1.5.0)
13
- json (2.6.3)
14
- parallel (1.22.1)
15
- parser (3.2.0.0)
13
+ json (2.7.1)
14
+ openssl (3.2.0)
15
+ parallel (1.23.0)
16
+ parser (3.2.2.4)
16
17
  ast (~> 2.4.1)
18
+ racc
19
+ racc (1.7.3)
17
20
  rainbow (3.1.1)
18
- rake (13.0.6)
19
- regexp_parser (2.6.1)
20
- rexml (3.2.5)
21
+ rake (13.1.0)
22
+ regexp_parser (2.8.3)
23
+ rexml (3.2.6)
21
24
  rspec (3.11.0)
22
25
  rspec-core (~> 3.11.0)
23
26
  rspec-expectations (~> 3.11.0)
@@ -41,17 +44,17 @@ GEM
41
44
  rubocop-ast (>= 1.24.1, < 2.0)
42
45
  ruby-progressbar (~> 1.7)
43
46
  unicode-display_width (>= 1.4.0, < 3.0)
44
- rubocop-ast (1.24.1)
45
- parser (>= 3.1.1.0)
46
- rubocop-sorbet (0.6.11)
47
+ rubocop-ast (1.30.0)
48
+ parser (>= 3.2.1.0)
49
+ rubocop-sorbet (0.7.6)
47
50
  rubocop (>= 0.90.0)
48
- ruby-progressbar (1.11.0)
49
- sorbet (0.5.10607)
50
- sorbet-static (= 0.5.10607)
51
- sorbet-runtime (0.5.10607)
52
- sorbet-static (0.5.10607-universal-darwin-21)
53
- unicode-display_width (2.4.2)
54
- webrick (1.7.0)
51
+ ruby-progressbar (1.13.0)
52
+ sorbet (0.5.11155)
53
+ sorbet-static (= 0.5.11155)
54
+ sorbet-runtime (0.5.11155)
55
+ sorbet-static (0.5.11155-universal-darwin)
56
+ unicode-display_width (2.5.0)
57
+ webrick (1.8.1)
55
58
 
56
59
  PLATFORMS
57
60
  arm64-darwin-21
@@ -61,6 +64,7 @@ DEPENDENCIES
61
64
  bundler
62
65
  byebug
63
66
  ech_config!
67
+ openssl
64
68
  rake
65
69
  rspec (= 3.11)
66
70
  rubocop (= 1.42)
@@ -1,11 +1,10 @@
1
- # typed: true
1
+ # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeKemId
5
5
  extend T::Sig
6
6
  attr_reader :uint16
7
7
 
8
- sig { params(uint16: Integer).void }
9
8
  def initialize(uint16)
10
9
  @uint16 = uint16
11
10
  end
@@ -15,6 +14,11 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeKemId
15
14
  [@uint16].pack('n')
16
15
  end
17
16
 
17
+ sig { params(other: T.self_type).returns(T::Boolean) }
18
+ def ==(other)
19
+ other.uint16 == @uint16
20
+ end
21
+
18
22
  sig { params(octet: String).returns(T.attached_class) }
19
23
  def self.decode(octet)
20
24
  raise ::ECHConfig::DecodeError if octet.length != 2
@@ -5,7 +5,6 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkePublicKey
5
5
  extend T::Sig
6
6
  attr_reader :opaque
7
7
 
8
- sig { params(opaque: String).void }
9
8
  def initialize(opaque)
10
9
  @opaque = opaque
11
10
  end
@@ -1,11 +1,10 @@
1
- # typed: true
1
+ # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite::HpkeAeadId
5
5
  extend T::Sig
6
6
  attr_reader :uint16
7
7
 
8
- sig { params(uint16: Integer).void }
9
8
  def initialize(uint16)
10
9
  @uint16 = uint16
11
10
  end
@@ -15,6 +14,11 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite::Hpk
15
14
  [@uint16].pack('n')
16
15
  end
17
16
 
17
+ sig { params(other: T.self_type).returns(T::Boolean) }
18
+ def ==(other)
19
+ other.uint16 == @uint16
20
+ end
21
+
18
22
  sig { params(octet: String).returns(T.attached_class) }
19
23
  def self.decode(octet)
20
24
  raise ::ECHConfig::DecodeError if octet.length != 2
@@ -1,11 +1,10 @@
1
- # typed: true
1
+ # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite::HpkeKdfId
5
5
  extend T::Sig
6
6
  attr_reader :uint16
7
7
 
8
- sig { params(uint16: Integer).void }
9
8
  def initialize(uint16)
10
9
  @uint16 = uint16
11
10
  end
@@ -15,6 +14,11 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite::Hpk
15
14
  [@uint16].pack('n')
16
15
  end
17
16
 
17
+ sig { params(other: T.self_type).returns(T::Boolean) }
18
+ def ==(other)
19
+ other.uint16 == @uint16
20
+ end
21
+
18
22
  sig { params(octet: String).returns(T.attached_class) }
19
23
  def self.decode(octet)
20
24
  raise ::ECHConfig::DecodeError if octet.length != 2
@@ -1,4 +1,4 @@
1
- # typed: true
1
+ # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite
@@ -12,7 +12,6 @@ Dir["#{File.dirname(__FILE__)}/hpke_symmetric_cipher_suite/*.rb"]
12
12
  class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite
13
13
  attr_reader :kdf_id, :aead_id
14
14
 
15
- sig { params(kdf_id: HpkeKdfId, aead_id: HpkeAeadId).void }
16
15
  def initialize(kdf_id, aead_id)
17
16
  @kdf_id = kdf_id
18
17
  @aead_id = aead_id
@@ -23,6 +22,11 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig::HpkeSymmetricCipherSuite
23
22
  @kdf_id.encode + @aead_id.encode
24
23
  end
25
24
 
25
+ sig { params(other: T.self_type).returns(T::Boolean) }
26
+ def ==(other)
27
+ other.kdf_id == @kdf_id && other.aead_id == @aead_id
28
+ end
29
+
26
30
  sig { params(octet: String).returns(T::Array[T.attached_class]) }
27
31
  def self.decode_vectors(octet)
28
32
  i = 0
@@ -38,10 +38,10 @@ class ECHConfig::ECHConfigContents::HpkeKeyConfig
38
38
  + @cipher_suites.map(&:encode).join.then { |s| [s.length].pack('n') + s }
39
39
  end
40
40
 
41
- sig { params(octet: String).returns([T.attached_class, T.nilable(String)]) }
42
41
  # rubocop:disable Metrics/AbcSize
43
42
  # rubocop:disable Metrics/CyclomaticComplexity
44
43
  # rubocop:disable Metrics/PerceivedComplexity
44
+ sig { params(octet: String).returns([T.attached_class, T.nilable(String)]) }
45
45
  def self.decode(octet)
46
46
  raise ::ECHConfig::DecodeError if octet.empty?
47
47
 
@@ -38,10 +38,10 @@ class ECHConfig::ECHConfigContents
38
38
  + @extensions.load.then { |s| [s.length].pack('n') + s }
39
39
  end
40
40
 
41
- sig { params(octet: String).returns(T.attached_class) }
42
41
  # rubocop:disable Metrics/AbcSize
43
42
  # rubocop:disable Metrics/CyclomaticComplexity
44
43
  # rubocop:disable Metrics/PerceivedComplexity
44
+ sig { params(octet: String).returns(T.attached_class) }
45
45
  def self.decode(octet)
46
46
  key_config, octet = HpkeKeyConfig.decode(octet)
47
47
  raise ::ECHConfig::DecodeError if octet.nil?
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class ECHConfig
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
  end
data/lib/ech_config.rb CHANGED
@@ -35,8 +35,8 @@ class ECHConfig
35
35
  @version + @echconfig_contents.encode.then { |s| [s.length].pack('n') + s }
36
36
  end
37
37
 
38
- sig { params(octet: String).returns(T::Array[T.attached_class]) }
39
38
  # rubocop:disable Metrics/CyclomaticComplexity
39
+ sig { params(octet: String).returns(T::Array[T.attached_class]) }
40
40
  def self.decode_vectors(octet)
41
41
  i = 0
42
42
  echconfigs = []
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ech_config/all/ech_config.rbi
9
9
  #
10
- # ech_config-0.0.1
10
+ # ech_config-0.0.2
11
11
 
12
12
  class ECHConfig
13
13
  def echconfig_contents; end
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/parallel/all/parallel.rbi
9
9
  #
10
- # parallel-1.22.1
10
+ # parallel-1.23.0
11
11
 
12
12
  module Parallel
13
13
  def self.add_progress_bar!(job_factory, options); end
@@ -18,6 +18,7 @@ module Parallel
18
18
  def self.each(array, options = nil, &block); end
19
19
  def self.each_with_index(array, options = nil, &block); end
20
20
  def self.extract_count_from_options(options); end
21
+ def self.filter_map(*args, &block); end
21
22
  def self.flat_map(*args, &block); end
22
23
  def self.in_processes(options = nil, &block); end
23
24
  def self.in_threads(options = nil); end
@@ -25,7 +26,9 @@ module Parallel
25
26
  def self.instrument_start(item, index, options); end
26
27
  def self.map(source, options = nil, &block); end
27
28
  def self.map_with_index(array, options = nil, &block); end
29
+ def self.physical_processor_count; end
28
30
  def self.process_incoming_jobs(read, write, job_factory, options, &block); end
31
+ def self.processor_count; end
29
32
  def self.replace_worker(job_factory, workers, index, options, blk); end
30
33
  def self.with_instrumentation(item, index, options); end
31
34
  def self.work_direct(job_factory, options, &block); end
@@ -35,11 +38,6 @@ module Parallel
35
38
  def self.worker(job_factory, options, &block); end
36
39
  def self.worker_number; end
37
40
  def self.worker_number=(worker_num); end
38
- extend Parallel::ProcessorCount
39
- end
40
- module Parallel::ProcessorCount
41
- def physical_processor_count; end
42
- def processor_count; end
43
41
  end
44
42
  class Parallel::DeadWorker < StandardError
45
43
  end
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/parser/all/parser.rbi
9
9
  #
10
- # parser-3.2.0.0
10
+ # parser-3.2.2.4
11
11
 
12
12
  module Parser
13
13
  end
@@ -516,7 +516,6 @@ class Parser::Lexer
516
516
  def advance; end
517
517
  def arg_or_cmdarg(cmd_state); end
518
518
  def check_ambiguous_slash(tm); end
519
- def check_invalid_escapes(p); end
520
519
  def cmdarg; end
521
520
  def cmdarg=(arg0); end
522
521
  def cmdarg_stack; end
@@ -533,49 +532,31 @@ class Parser::Lexer
533
532
  def diagnostic(type, reason, arguments = nil, location = nil, highlights = nil); end
534
533
  def diagnostics; end
535
534
  def diagnostics=(arg0); end
536
- def e_heredoc_nl(p); end
537
535
  def e_lbrace; end
538
536
  def emit(type, value = nil, s = nil, e = nil); end
539
- def emit_character_constant; end
537
+ def emit_class_var(ts = nil, te = nil); end
540
538
  def emit_colon_with_digits(p, tm, diag_msg); end
541
539
  def emit_comment(s = nil, e = nil); end
542
540
  def emit_comment_from_range(p, pe); end
543
541
  def emit_do(do_block = nil); end
544
- def emit_global_var; end
545
- def emit_invalid_escapes?; end
542
+ def emit_global_var(ts = nil, te = nil); end
543
+ def emit_instance_var(ts = nil, te = nil); end
546
544
  def emit_rbrace_rparen_rbrack; end
547
545
  def emit_singleton_class; end
548
546
  def emit_table(table, s = nil, e = nil); end
549
- def encode_escape(ord); end
550
- def encode_escaped_char(p); end
551
547
  def encoding; end
552
- def eof_codepoint?(point); end
553
- def extend_interp_code(current_literal); end
554
- def extend_interp_digit_var; end
555
- def extend_interp_var(current_literal); end
556
- def extend_string_eol_check_eof(current_literal, pe); end
557
- def extend_string_eol_heredoc_intertwined(p); end
558
- def extend_string_eol_heredoc_line; end
559
- def extend_string_eol_words(current_literal, p); end
560
- def extend_string_escaped; end
561
- def extend_string_for_token_range(current_literal, string); end
562
- def extend_string_slice_end(lookahead); end
563
548
  def force_utf32; end
564
549
  def force_utf32=(arg0); end
565
550
  def initialize(version); end
566
551
  def lambda_stack; end
567
- def literal; end
568
- def next_state_for_literal(literal); end
569
552
  def numeric_literal_int; end
553
+ def on_newline(p); end
570
554
  def paren_nest; end
571
555
  def pop_cmdarg; end
572
556
  def pop_cond; end
573
- def pop_literal; end
574
557
  def push_cmdarg; end
575
558
  def push_cond; end
576
- def push_literal(*args); end
577
559
  def range(s = nil, e = nil); end
578
- def read_post_meta_or_ctrl_char(p); end
579
560
  def reset(reset_state = nil); end
580
561
  def self._lex_eof_trans; end
581
562
  def self._lex_eof_trans=(arg0); end
@@ -619,6 +600,91 @@ class Parser::Lexer
619
600
  def self.lex_en_expr_value=(arg0); end
620
601
  def self.lex_en_expr_variable; end
621
602
  def self.lex_en_expr_variable=(arg0); end
603
+ def self.lex_en_inside_string; end
604
+ def self.lex_en_inside_string=(arg0); end
605
+ def self.lex_en_leading_dot; end
606
+ def self.lex_en_leading_dot=(arg0); end
607
+ def self.lex_en_line_begin; end
608
+ def self.lex_en_line_begin=(arg0); end
609
+ def self.lex_en_line_comment; end
610
+ def self.lex_en_line_comment=(arg0); end
611
+ def self.lex_error; end
612
+ def self.lex_error=(arg0); end
613
+ def self.lex_start; end
614
+ def self.lex_start=(arg0); end
615
+ def source_buffer; end
616
+ def source_buffer=(source_buffer); end
617
+ def stack_pop; end
618
+ def state; end
619
+ def state=(state); end
620
+ def static_env; end
621
+ def static_env=(arg0); end
622
+ def tok(s = nil, e = nil); end
623
+ def tokens; end
624
+ def tokens=(arg0); end
625
+ def version; end
626
+ def version?(*versions); end
627
+ end
628
+ class Parser::LexerStrings
629
+ def advance(p); end
630
+ def check_ambiguous_slash(tm); end
631
+ def check_invalid_escapes(p); end
632
+ def close_interp_on_current_literal(p); end
633
+ def cond; end
634
+ def continue_lexing(current_literal); end
635
+ def dedent_level; end
636
+ def diagnostic(type, reason, arguments = nil, location = nil, highlights = nil); end
637
+ def emit(type, value = nil, s = nil, e = nil); end
638
+ def emit_character_constant; end
639
+ def emit_interp_var(interp_var_kind); end
640
+ def emit_invalid_escapes?; end
641
+ def encode_escape(ord); end
642
+ def encode_escaped_char(p); end
643
+ def eof_codepoint?(point); end
644
+ def extend_interp_code(current_literal); end
645
+ def extend_interp_digit_var; end
646
+ def extend_interp_var(current_literal); end
647
+ def extend_string_eol_check_eof(current_literal, pe); end
648
+ def extend_string_eol_heredoc_intertwined(p); end
649
+ def extend_string_eol_heredoc_line; end
650
+ def extend_string_eol_words(current_literal, p); end
651
+ def extend_string_escaped; end
652
+ def extend_string_for_token_range(current_literal, string); end
653
+ def extend_string_slice_end(lookahead); end
654
+ def herebody_s; end
655
+ def herebody_s=(arg0); end
656
+ def initialize(lexer, version); end
657
+ def literal; end
658
+ def next_state_for_literal(literal); end
659
+ def on_newline(p); end
660
+ def pop_literal; end
661
+ def push_literal(*args); end
662
+ def range(s = nil, e = nil); end
663
+ def read_character_constant(p); end
664
+ def read_post_meta_or_ctrl_char(p); end
665
+ def reset; end
666
+ def self._lex_actions; end
667
+ def self._lex_actions=(arg0); end
668
+ def self._lex_eof_trans; end
669
+ def self._lex_eof_trans=(arg0); end
670
+ def self._lex_from_state_actions; end
671
+ def self._lex_from_state_actions=(arg0); end
672
+ def self._lex_index_offsets; end
673
+ def self._lex_index_offsets=(arg0); end
674
+ def self._lex_indicies; end
675
+ def self._lex_indicies=(arg0); end
676
+ def self._lex_key_spans; end
677
+ def self._lex_key_spans=(arg0); end
678
+ def self._lex_to_state_actions; end
679
+ def self._lex_to_state_actions=(arg0); end
680
+ def self._lex_trans_actions; end
681
+ def self._lex_trans_actions=(arg0); end
682
+ def self._lex_trans_keys; end
683
+ def self._lex_trans_keys=(arg0); end
684
+ def self._lex_trans_targs; end
685
+ def self._lex_trans_targs=(arg0); end
686
+ def self.lex_en_character; end
687
+ def self.lex_en_character=(arg0); end
622
688
  def self.lex_en_interp_backslash_delimited; end
623
689
  def self.lex_en_interp_backslash_delimited=(arg0); end
624
690
  def self.lex_en_interp_backslash_delimited_words; end
@@ -627,12 +693,6 @@ class Parser::Lexer
627
693
  def self.lex_en_interp_string=(arg0); end
628
694
  def self.lex_en_interp_words; end
629
695
  def self.lex_en_interp_words=(arg0); end
630
- def self.lex_en_leading_dot; end
631
- def self.lex_en_leading_dot=(arg0); end
632
- def self.lex_en_line_begin; end
633
- def self.lex_en_line_begin=(arg0); end
634
- def self.lex_en_line_comment; end
635
- def self.lex_en_line_comment=(arg0); end
636
696
  def self.lex_en_plain_backslash_delimited; end
637
697
  def self.lex_en_plain_backslash_delimited=(arg0); end
638
698
  def self.lex_en_plain_backslash_delimited_words; end
@@ -643,6 +703,8 @@ class Parser::Lexer
643
703
  def self.lex_en_plain_words=(arg0); end
644
704
  def self.lex_en_regexp_modifiers; end
645
705
  def self.lex_en_regexp_modifiers=(arg0); end
706
+ def self.lex_en_unknown; end
707
+ def self.lex_en_unknown=(arg0); end
646
708
  def self.lex_error; end
647
709
  def self.lex_error=(arg0); end
648
710
  def self.lex_start; end
@@ -650,18 +712,12 @@ class Parser::Lexer
650
712
  def slash_c_char; end
651
713
  def slash_m_char; end
652
714
  def source_buffer; end
653
- def source_buffer=(source_buffer); end
654
- def stack_pop; end
655
- def state; end
656
- def state=(state); end
657
- def static_env; end
658
- def static_env=(arg0); end
715
+ def source_buffer=(arg0); end
716
+ def source_pts; end
717
+ def source_pts=(arg0); end
659
718
  def tok(s = nil, e = nil); end
660
- def tokens; end
661
- def tokens=(arg0); end
662
719
  def unescape_char(p); end
663
720
  def unicode_points(p); end
664
- def version; end
665
721
  def version?(*versions); end
666
722
  end
667
723
  class Parser::Lexer::Literal
@@ -0,0 +1,43 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/racc/all/racc.rbi
9
+ #
10
+ # racc-1.7.3
11
+
12
+ module Racc
13
+ end
14
+ class Racc::Parser
15
+ def _racc_do_parse_c(arg0, arg1); end
16
+ def _racc_do_parse_rb(arg, in_debug); end
17
+ def _racc_do_reduce(arg, act); end
18
+ def _racc_evalact(act, arg); end
19
+ def _racc_init_sysvars; end
20
+ def _racc_setup; end
21
+ def _racc_yyparse_c(arg0, arg1, arg2, arg3); end
22
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
23
+ def do_parse; end
24
+ def next_token; end
25
+ def on_error(t, val, vstack); end
26
+ def racc_accept; end
27
+ def racc_e_pop(state, tstack, vstack); end
28
+ def racc_next_state(curstate, state); end
29
+ def racc_print_stacks(t, v); end
30
+ def racc_print_states(s); end
31
+ def racc_read_token(t, tok, val); end
32
+ def racc_reduce(toks, sim, tstack, vstack); end
33
+ def racc_shift(tok, tstack, vstack); end
34
+ def racc_token2str(tok); end
35
+ def self.racc_runtime_type; end
36
+ def token_to_str(t); end
37
+ def yyaccept; end
38
+ def yyerrok; end
39
+ def yyerror; end
40
+ def yyparse(recv, mid); end
41
+ end
42
+ class Racc::ParseError < StandardError
43
+ end
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rake/all/rake.rbi
9
9
  #
10
- # rake-13.0.6
10
+ # rake-13.1.0
11
11
 
12
12
  module Rake
13
13
  def self.add_rakelib(*files); end
@@ -409,6 +409,7 @@ class Rake::Application
409
409
  def init(app_name = nil, argv = nil); end
410
410
  def initialize; end
411
411
  def invoke_task(task_string); end
412
+ def load_debug_at_stop_feature; end
412
413
  def load_imports; end
413
414
  def load_rakefile; end
414
415
  def name; end