Update RBI files for tapioca.
This commit is contained in:
parent
95d7e5730e
commit
2c3bc08c04
@ -1,7 +0,0 @@
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `parlour` gem.
|
||||
# Please instead update this file by running `tapioca generate --exclude json`.
|
||||
|
||||
# typed: true
|
||||
|
||||
|
1272
Library/Homebrew/sorbet/rbi/gems/parlour@5.0.0.rbi
Normal file
1272
Library/Homebrew/sorbet/rbi/gems/parlour@5.0.0.rbi
Normal file
File diff suppressed because it is too large
Load Diff
@ -146,6 +146,8 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator
|
||||
def add_to_alias_namespace(name); end
|
||||
sig { params(name: String).returns(T::Boolean) }
|
||||
def alias_namespaced?(name); end
|
||||
sig { params(constant: Module).returns(T::Array[Module]) }
|
||||
def ancestors_of(constant); end
|
||||
sig { params(constant: Module, other: BasicObject).returns(T::Boolean) }
|
||||
def are_equal?(constant, other); end
|
||||
sig { params(constant: BasicObject).returns(Class) }
|
||||
@ -194,7 +196,11 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator
|
||||
def get_file_candidates(constant); end
|
||||
sig { params(str: String).returns(String) }
|
||||
def indented(str); end
|
||||
sig { params(constant: Module).returns(T::Array[Module]) }
|
||||
def inherited_ancestors_of(constant); end
|
||||
def initialize_method_for(constant); end
|
||||
sig { params(constant: Module).returns(T::Array[Module]) }
|
||||
def interesting_ancestors_of(constant); end
|
||||
sig { params(name: String).void }
|
||||
def mark_seen(name); end
|
||||
sig { params(method: UnboundMethod).returns(T::Boolean) }
|
||||
@ -205,6 +211,8 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator
|
||||
def name_of(constant); end
|
||||
sig { params(constant: Module).returns(T.nilable(String)) }
|
||||
def name_of_proxy_target(constant); end
|
||||
sig { params(object: Object).returns(T::Boolean) }
|
||||
def object_id_of(object); end
|
||||
def parent_declares_constant?(name); end
|
||||
sig { params(constant: Module).returns(T::Boolean) }
|
||||
def public_module?(constant); end
|
||||
@ -212,13 +220,13 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator
|
||||
def qualified_name_of(constant); end
|
||||
sig { params(constant: Module).returns(T.nilable(String)) }
|
||||
def raw_name_of(constant); end
|
||||
sig { params(symbol: String).returns(BasicObject) }
|
||||
def resolve_constant(symbol); end
|
||||
sig { params(symbol: String, inherit: T::Boolean).returns(BasicObject) }
|
||||
def resolve_constant(symbol, inherit: T.unsafe(nil)); end
|
||||
sig { params(name: String).returns(T::Boolean) }
|
||||
def seen?(name); end
|
||||
sig { params(method: T.any(Method, UnboundMethod)).returns(T.untyped) }
|
||||
def signature_of(method); end
|
||||
sig { params(constant: BasicObject).returns(Class) }
|
||||
sig { params(constant: Module).returns(Class) }
|
||||
def singleton_class_of(constant); end
|
||||
sig { params(constant: Module, method_name: String).returns(T::Boolean) }
|
||||
def struct_method?(constant, method_name); end
|
@ -12631,68 +12631,43 @@ module ParallelTests
|
||||
def self.with_ruby_binary(command); end
|
||||
end
|
||||
|
||||
module Parlour
|
||||
VERSION = ::T.let(nil, ::T.untyped)
|
||||
end
|
||||
|
||||
class Parlour::ConflictResolver
|
||||
def resolve_conflicts(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::ConflictResolver
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::Debugging
|
||||
end
|
||||
|
||||
module Parlour::Debugging::Tree
|
||||
INDENT_SPACES = ::T.let(nil, ::T.untyped)
|
||||
class Parlour::Conversion::Converter
|
||||
extend ::T::Sig
|
||||
extend ::T::Helpers
|
||||
extend ::T::Private::Abstract::Hooks
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::Debugging::Tree
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
def self.begin(*args, &blk); end
|
||||
|
||||
def self.end(*args, &blk); end
|
||||
|
||||
def self.here(*args, &blk); end
|
||||
|
||||
def self.line_prefix(); end
|
||||
|
||||
def self.text_prefix(); end
|
||||
end
|
||||
|
||||
module Parlour::Debugging
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
def self.debug_mode=(*args, &blk); end
|
||||
|
||||
def self.debug_mode?(*args, &blk); end
|
||||
|
||||
def self.debug_puts(*args, &blk); end
|
||||
|
||||
def self.name_for_debug_caller(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::DetachedRbiGenerator
|
||||
def detached!(*args, &blk); end
|
||||
class Parlour::Generator
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::DetachedRbiGenerator
|
||||
end
|
||||
|
||||
class Parlour::ParseError
|
||||
def buffer(*args, &blk); end
|
||||
|
||||
def initialize(buffer, range); end
|
||||
|
||||
def range(*args, &blk); end
|
||||
class Parlour::Options
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::ParseError
|
||||
@ -12701,16 +12676,6 @@ class Parlour::ParseError
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::Plugin
|
||||
def generate(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def strictness(*args, &blk); end
|
||||
|
||||
def strictness=(strictness); end
|
||||
end
|
||||
|
||||
class Parlour::Plugin
|
||||
extend ::T::Sig
|
||||
extend ::T::Helpers
|
||||
@ -12718,210 +12683,6 @@ class Parlour::Plugin
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
def self.inherited(*args, &blk); end
|
||||
|
||||
def self.registered_plugins(*args, &blk); end
|
||||
|
||||
def self.run_plugins(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator
|
||||
def current_plugin(*args, &blk); end
|
||||
|
||||
def current_plugin=(current_plugin); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def options(*args, &blk); end
|
||||
|
||||
def rbi(*args, &blk); end
|
||||
|
||||
def root(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Arbitrary
|
||||
def ==(*args, &blk); end
|
||||
|
||||
def code(*args, &blk); end
|
||||
|
||||
def code=(code); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Arbitrary
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Attribute
|
||||
def class_attribute(*args, &blk); end
|
||||
|
||||
def kind(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Attribute
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::ClassNamespace
|
||||
def abstract(*args, &blk); end
|
||||
|
||||
def superclass(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::ClassNamespace
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Constant
|
||||
def ==(*args, &blk); end
|
||||
|
||||
def eigen_constant(); end
|
||||
|
||||
def value(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Constant
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::EnumClassNamespace
|
||||
def enums(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::EnumClassNamespace
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Extend
|
||||
def ==(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Extend
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Include
|
||||
def ==(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Include
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Method
|
||||
def ==(*args, &blk); end
|
||||
|
||||
def abstract(*args, &blk); end
|
||||
|
||||
def class_method(*args, &blk); end
|
||||
|
||||
def final(*args, &blk); end
|
||||
|
||||
def implementation(*args, &blk); end
|
||||
|
||||
def overridable(*args, &blk); end
|
||||
|
||||
def override(*args, &blk); end
|
||||
|
||||
def parameters(*args, &blk); end
|
||||
|
||||
def return_type(*args, &blk); end
|
||||
|
||||
def type_parameters(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Method
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::ModuleNamespace
|
||||
def interface(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::ModuleNamespace
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Namespace
|
||||
def add_comment_to_next_child(*args, &blk); end
|
||||
|
||||
def children(*args, &blk); end
|
||||
|
||||
def constants(*args, &blk); end
|
||||
|
||||
def create_arbitrary(code:, &block); end
|
||||
|
||||
def create_attr(*args, &blk); end
|
||||
|
||||
def create_attr_accessor(*args, &blk); end
|
||||
|
||||
def create_attr_reader(*args, &blk); end
|
||||
|
||||
def create_attr_writer(*args, &blk); end
|
||||
|
||||
def create_attribute(*args, &blk); end
|
||||
|
||||
def create_class(*args, &blk); end
|
||||
|
||||
def create_constant(*args, &blk); end
|
||||
|
||||
def create_enum_class(*args, &blk); end
|
||||
|
||||
def create_extend(*args, &blk); end
|
||||
|
||||
def create_extends(*args, &blk); end
|
||||
|
||||
def create_include(*args, &blk); end
|
||||
|
||||
def create_includes(*args, &blk); end
|
||||
|
||||
def create_method(*args, &blk); end
|
||||
|
||||
def create_module(*args, &blk); end
|
||||
|
||||
def create_struct_class(*args, &blk); end
|
||||
|
||||
def create_type_alias(*args, &blk); end
|
||||
|
||||
def extends(*args, &blk); end
|
||||
|
||||
def final(*args, &blk); end
|
||||
|
||||
def includes(*args, &blk); end
|
||||
|
||||
def path(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Namespace
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Options
|
||||
def break_params(*args, &blk); end
|
||||
|
||||
def indented(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def sort_namespaces(*args, &blk); end
|
||||
|
||||
def tab_size(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Options
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Parameter
|
||||
def ==(*args, &blk); end
|
||||
|
||||
def default(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def kind(*args, &blk); end
|
||||
|
||||
def name(*args, &blk); end
|
||||
|
||||
def name_without_kind(*args, &blk); end
|
||||
|
||||
def to_def_param(*args, &blk); end
|
||||
|
||||
def to_sig_param(*args, &blk); end
|
||||
|
||||
def type(*args, &blk); end
|
||||
PREFIXES = ::T.let(nil, ::T.untyped)
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::Parameter
|
||||
@ -12930,193 +12691,34 @@ class Parlour::RbiGenerator::Parameter
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::RbiObject
|
||||
def add_comment(*args, &blk); end
|
||||
|
||||
def add_comments(*args, &blk); end
|
||||
|
||||
def comments(*args, &blk); end
|
||||
|
||||
def describe(*args, &blk); end
|
||||
|
||||
def generate_rbi(*args, &blk); end
|
||||
|
||||
def generated_by(*args, &blk); end
|
||||
|
||||
def generator(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def merge_into_self(*args, &blk); end
|
||||
|
||||
def mergeable?(*args, &blk); end
|
||||
|
||||
def name(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::RbiObject
|
||||
extend ::T::Helpers
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Abstract::Hooks
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::StructClassNamespace
|
||||
def props(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::StructClassNamespace
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::StructProp
|
||||
def ==(*args, &blk); end
|
||||
|
||||
def array(*args, &blk); end
|
||||
|
||||
def default(*args, &blk); end
|
||||
|
||||
def dont_store(*args, &blk); end
|
||||
|
||||
def enum(*args, &blk); end
|
||||
|
||||
def factory(*args, &blk); end
|
||||
|
||||
def foreign(*args, &blk); end
|
||||
|
||||
def immutable(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def name(*args, &blk); end
|
||||
|
||||
def optional(*args, &blk); end
|
||||
|
||||
def override(*args, &blk); end
|
||||
|
||||
def redaction(*args, &blk); end
|
||||
|
||||
def to_prop_call(*args, &blk); end
|
||||
|
||||
def type(*args, &blk); end
|
||||
EXTRA_PROPERTIES = ::T.let(nil, ::T.untyped)
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator::StructProp
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbiGenerator
|
||||
class Parlour::RbsGenerator::Block
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbsGenerator::MethodSignature
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::RbsGenerator::Parameter
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::TypeLoader
|
||||
end
|
||||
|
||||
module Parlour::TypeLoader
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
def self.load_file(*args, &blk); end
|
||||
|
||||
def self.load_project(*args, &blk); end
|
||||
|
||||
def self.load_source(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::TypeParser
|
||||
def ast(*args, &blk); end
|
||||
|
||||
def ast=(ast); end
|
||||
|
||||
def body_has_modifier?(*args, &blk); end
|
||||
|
||||
def body_includes_and_extends(*args, &blk); end
|
||||
|
||||
def constant_names(*args, &blk); end
|
||||
|
||||
def generator(*args, &blk); end
|
||||
|
||||
def generator=(generator); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def node_to_s(*args, &blk); end
|
||||
|
||||
def parse_all(*args, &blk); end
|
||||
|
||||
def parse_err(*args, &blk); end
|
||||
|
||||
def parse_method_into_methods(*args, &blk); end
|
||||
|
||||
def parse_path_to_object(*args, &blk); end
|
||||
|
||||
def parse_sig_into_methods(*args, &blk); end
|
||||
|
||||
def parse_sig_into_sig(*args, &blk); end
|
||||
|
||||
def previous_sibling_sig_node?(*args, &blk); end
|
||||
|
||||
def sig_node?(*args, &blk); end
|
||||
|
||||
def unknown_node_errors(*args, &blk); end
|
||||
|
||||
def zip_by(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::TypeParser::IntermediateSig
|
||||
def abstract(); end
|
||||
|
||||
def abstract=(val); end
|
||||
|
||||
def final(); end
|
||||
|
||||
def final=(val); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def overridable(); end
|
||||
|
||||
def overridable=(val); end
|
||||
|
||||
def override(); end
|
||||
|
||||
def override=(val); end
|
||||
|
||||
def params(); end
|
||||
|
||||
def params=(val); end
|
||||
|
||||
def return_type(); end
|
||||
|
||||
def return_type=(val); end
|
||||
|
||||
def type_parameters(); end
|
||||
|
||||
def type_parameters=(val); end
|
||||
end
|
||||
|
||||
class Parlour::TypeParser::IntermediateSig
|
||||
def self.inherited(s); end
|
||||
end
|
||||
|
||||
class Parlour::TypeParser::NodePath
|
||||
def child(*args, &blk); end
|
||||
|
||||
def indices(*args, &blk); end
|
||||
|
||||
def initialize(*args, &blk); end
|
||||
|
||||
def parent(*args, &blk); end
|
||||
|
||||
def sibling(*args, &blk); end
|
||||
|
||||
def traverse(*args, &blk); end
|
||||
end
|
||||
|
||||
class Parlour::TypeParser::NodePath
|
||||
@ -13129,10 +12731,34 @@ class Parlour::TypeParser
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
def self.from_source(*args, &blk); end
|
||||
end
|
||||
|
||||
module Parlour
|
||||
class Parlour::TypedObject
|
||||
extend ::T::Sig
|
||||
extend ::T::Helpers
|
||||
extend ::T::Private::Abstract::Hooks
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::Types
|
||||
TypeLike = ::T.let(nil, ::T.untyped)
|
||||
end
|
||||
|
||||
class Parlour::Types::Proc::Parameter
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::Types::Type
|
||||
extend ::T::Sig
|
||||
extend ::T::Helpers
|
||||
extend ::T::Private::Abstract::Hooks
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parser::Ruby24
|
||||
@ -30043,6 +29669,11 @@ class Utils::AST::FormulaAST
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Utils::AST
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Utils::Analytics
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user