File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9494class JSON::Pure::Parser
9595end
9696
97- type json_parser = singleton (::JSON::Ext::Parser) | singleton (::JSON::Pure::Parser)
9897type json_state = singleton (JSON::Ext::Generator::State) | singleton (JSON::Pure::Generator::State)
9998
10099# <!-- rdoc-file=ext/json/lib/json.rb -->
@@ -674,6 +673,7 @@ type json_state = singleton(JSON::Ext::Generator::State) | singleton(JSON::Pure:
674673module JSON
675674 type options = Hash[Symbol, untyped ]
676675 type generator = singleton (::JSON::Ext::Generator) | singleton (::JSON::Pure::Generator)
676+ type parser = singleton (::JSON::Ext::Parser) | singleton (::JSON::Pure::Parser)
677677
678678 # <!--
679679 # rdoc-file=ext/json/lib/json/common.rb
@@ -1080,9 +1080,9 @@ module JSON
10801080 # <!-- rdoc-file=ext/json/lib/json/common.rb -->
10811081 # Returns the JSON parser class that is used by JSON.
10821082 #
1083- def self.parser : () -> json_parser
1083+ def self.parser : () -> parser
10841084
1085- def self.parser= : (json_parser parser) -> void
1085+ def self.parser= : (parser parser) -> void
10861086
10871087 # <!--
10881088 # rdoc-file=ext/json/lib/json/common.rb
You can’t perform that action at this time.
0 commit comments