Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
e4f94bb6a6
commit
02b3df7d10
@ -160,7 +160,7 @@ class AST::Node
|
||||
|
||||
# Returns the precomputed hash value for this node
|
||||
#
|
||||
# @return [Fixnum]
|
||||
# @return [Integer]
|
||||
#
|
||||
# source://ast//lib/ast/node.rb#61
|
||||
def hash; end
|
||||
@ -557,8 +557,8 @@ end
|
||||
# to define deeply nested ASTs from Ruby code, for example, in
|
||||
# tests. It should be used like this:
|
||||
#
|
||||
# describe YourLanguage::AST do
|
||||
# include Sexp
|
||||
# describe YourLanguage do
|
||||
# include ::AST::Sexp
|
||||
#
|
||||
# it "should correctly parse expressions" do
|
||||
# YourLanguage.parse("1 + 2 * 3").should ==
|
||||
@ -3237,9 +3237,16 @@ module Parser::Meta; end
|
||||
|
||||
# All node types that parser can produce. Not all parser versions
|
||||
# will be able to produce every possible node.
|
||||
# Includes node types that are only emitted by the prism parser translator.
|
||||
#
|
||||
# source://parser//lib/parser/meta.rb#17
|
||||
Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set)
|
||||
|
||||
# These are node types required by `Prism::Translation::Parser`,
|
||||
# which has advanced syntax support ahead of the Parser gem.
|
||||
#
|
||||
# source://parser//lib/parser/meta.rb#9
|
||||
Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set)
|
||||
Parser::Meta::PRISM_TRANSLATION_PARSER_NODE_TYPES = T.let(T.unsafe(nil), Array)
|
||||
|
||||
# {Parser::Rewriter} is deprecated. Use {Parser::TreeRewriter} instead.
|
||||
# It has a backwards compatible API and uses {Parser::Source::TreeRewriter}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user