Update RBI files for bindata.
This commit is contained in:
parent
06dfe53e49
commit
b9e183c1f5
@ -1,13 +1,12 @@
|
|||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `bindata` gem.
|
# This is an autogenerated file for types exported from the `bindata` gem.
|
||||||
# Please instead update this file by running `tapioca generate --exclude json`.
|
# Please instead update this file by running `bin/tapioca sync`.
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
module BinData
|
module BinData
|
||||||
extend(::BinData::BitFieldFactory)
|
extend ::BinData::BitFieldFactory
|
||||||
extend(::BinData::IntFactory)
|
extend ::BinData::IntFactory
|
||||||
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -51,8 +50,8 @@ class BinData::AcceptedParametersPlugin::AcceptedParameters
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Array < ::BinData::Base
|
class BinData::Array < ::BinData::Base
|
||||||
include(::Enumerable)
|
include ::Enumerable
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
def <<(*args); end
|
def <<(*args); end
|
||||||
def [](arg1, arg2 = T.unsafe(nil)); end
|
def [](arg1, arg2 = T.unsafe(nil)); end
|
||||||
@ -101,16 +100,16 @@ class BinData::ArrayArgProcessor < ::BinData::BaseArgProcessor
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Base
|
class BinData::Base
|
||||||
include(::BinData::Framework)
|
include ::BinData::Framework
|
||||||
include(::BinData::RegisterNamePlugin)
|
include ::BinData::RegisterNamePlugin
|
||||||
extend(::BinData::AcceptedParametersPlugin)
|
extend ::BinData::AcceptedParametersPlugin
|
||||||
|
|
||||||
def initialize(*args); end
|
def initialize(*args); end
|
||||||
|
|
||||||
def ==(other); end
|
def ==(other); end
|
||||||
def =~(other); end
|
def =~(other); end
|
||||||
def abs_offset; end
|
def abs_offset; end
|
||||||
def base_respond_to?(*_); end
|
def base_respond_to?(*_arg0); end
|
||||||
def clear; end
|
def clear; end
|
||||||
def debug_name; end
|
def debug_name; end
|
||||||
def eval_parameter(key, overrides = T.unsafe(nil)); end
|
def eval_parameter(key, overrides = T.unsafe(nil)); end
|
||||||
@ -134,7 +133,7 @@ class BinData::Base
|
|||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def parent=(_); end
|
def parent=(_arg0); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -288,7 +287,7 @@ class BinData::BitLe < ::BinData::BasePrimitive
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Buffer < ::BinData::Base
|
class BinData::Buffer < ::BinData::Base
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
def assign(val); end
|
def assign(val); end
|
||||||
def clear?; end
|
def clear?; end
|
||||||
@ -303,7 +302,7 @@ class BinData::Buffer < ::BinData::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::BufferArgProcessor < ::BinData::BaseArgProcessor
|
class BinData::BufferArgProcessor < ::BinData::BaseArgProcessor
|
||||||
include(::BinData::MultiFieldArgSeparator)
|
include ::BinData::MultiFieldArgSeparator
|
||||||
|
|
||||||
def sanitize_parameters!(obj_class, params); end
|
def sanitize_parameters!(obj_class, params); end
|
||||||
end
|
end
|
||||||
@ -317,7 +316,7 @@ module BinData::ByteAlignPlugin
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Choice < ::BinData::Base
|
class BinData::Choice < ::BinData::Base
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
def assign(*args); end
|
def assign(*args); end
|
||||||
def clear?(*args); end
|
def clear?(*args); end
|
||||||
@ -362,7 +361,6 @@ module BinData::CopyOnChangePlugin
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::CountBytesRemaining < ::BinData::BasePrimitive
|
class BinData::CountBytesRemaining < ::BinData::BasePrimitive
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def read_and_return_value(io); end
|
def read_and_return_value(io); end
|
||||||
@ -449,7 +447,7 @@ class BinData::DSLMixin::DSLParser
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::DelayedIO < ::BinData::Base
|
class BinData::DelayedIO < ::BinData::Base
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
def abs_offset; end
|
def abs_offset; end
|
||||||
def abs_offset=(offset); end
|
def abs_offset=(offset); end
|
||||||
@ -469,7 +467,7 @@ class BinData::DelayedIO < ::BinData::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::DelayedIoArgProcessor < ::BinData::BaseArgProcessor
|
class BinData::DelayedIoArgProcessor < ::BinData::BaseArgProcessor
|
||||||
include(::BinData::MultiFieldArgSeparator)
|
include ::BinData::MultiFieldArgSeparator
|
||||||
|
|
||||||
def sanitize_parameters!(obj_class, params); end
|
def sanitize_parameters!(obj_class, params); end
|
||||||
end
|
end
|
||||||
@ -549,7 +547,6 @@ end
|
|||||||
module BinData::IO::Common
|
module BinData::IO::Common
|
||||||
def initialize(io); end
|
def initialize(io); end
|
||||||
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def buffer_limited_n(n); end
|
def buffer_limited_n(n); end
|
||||||
@ -586,7 +583,7 @@ module BinData::IO::Common::UnSeekableStream
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::IO::Read
|
class BinData::IO::Read
|
||||||
include(::BinData::IO::Common)
|
include ::BinData::IO::Common
|
||||||
|
|
||||||
def initialize(io); end
|
def initialize(io); end
|
||||||
|
|
||||||
@ -609,7 +606,7 @@ class BinData::IO::Read
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::IO::Write
|
class BinData::IO::Write
|
||||||
include(::BinData::IO::Common)
|
include ::BinData::IO::Common
|
||||||
|
|
||||||
def initialize(io); end
|
def initialize(io); end
|
||||||
|
|
||||||
@ -738,7 +735,7 @@ module BinData::MultiFieldArgSeparator
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Primitive < ::BinData::BasePrimitive
|
class BinData::Primitive < ::BinData::BasePrimitive
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
def assign(val); end
|
def assign(val); end
|
||||||
def debug_name_of(child); end
|
def debug_name_of(child); end
|
||||||
@ -773,7 +770,7 @@ module BinData::ReadUntilPlugin
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Record < ::BinData::Struct
|
class BinData::Record < ::BinData::Struct
|
||||||
extend(::BinData::DSLMixin)
|
extend ::BinData::DSLMixin
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def inherited(subclass); end
|
def inherited(subclass); end
|
||||||
@ -781,7 +778,7 @@ class BinData::Record < ::BinData::Struct
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::RecordArgProcessor < ::BinData::StructArgProcessor
|
class BinData::RecordArgProcessor < ::BinData::StructArgProcessor
|
||||||
include(::BinData::MultiFieldArgSeparator)
|
include ::BinData::MultiFieldArgSeparator
|
||||||
|
|
||||||
def sanitize_parameters!(obj_class, params); end
|
def sanitize_parameters!(obj_class, params); end
|
||||||
end
|
end
|
||||||
@ -815,7 +812,6 @@ class BinData::Registry
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Rest < ::BinData::BasePrimitive
|
class BinData::Rest < ::BinData::BasePrimitive
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def read_and_return_value(io); end
|
def read_and_return_value(io); end
|
||||||
@ -853,7 +849,7 @@ class BinData::SanitizedField < ::BinData::SanitizedParameter
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::SanitizedFields < ::BinData::SanitizedParameter
|
class BinData::SanitizedFields < ::BinData::SanitizedParameter
|
||||||
include(::Enumerable)
|
include ::Enumerable
|
||||||
|
|
||||||
def initialize(hints, base_fields = T.unsafe(nil)); end
|
def initialize(hints, base_fields = T.unsafe(nil)); end
|
||||||
|
|
||||||
@ -874,15 +870,14 @@ class BinData::SanitizedLittleEndian < ::BinData::SanitizedParameter
|
|||||||
def endian; end
|
def endian; end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BinData::SanitizedParameter
|
class BinData::SanitizedParameter; end
|
||||||
end
|
|
||||||
|
|
||||||
class BinData::SanitizedParameters < ::Hash
|
class BinData::SanitizedParameters < ::Hash
|
||||||
def initialize(parameters, the_class, hints); end
|
def initialize(parameters, the_class, hints); end
|
||||||
|
|
||||||
def create_sanitized_params(params, the_class); end
|
def create_sanitized_params(params, the_class); end
|
||||||
def has_at_least_one_of?(*keys); end
|
def has_at_least_one_of?(*keys); end
|
||||||
def has_parameter?(_); end
|
def has_parameter?(_arg0); end
|
||||||
def hints; end
|
def hints; end
|
||||||
def must_be_integer(*keys); end
|
def must_be_integer(*keys); end
|
||||||
def rename_parameter(old_key, new_key); end
|
def rename_parameter(old_key, new_key); end
|
||||||
@ -912,7 +907,6 @@ class BinData::SanitizedParameters < ::Hash
|
|||||||
end
|
end
|
||||||
|
|
||||||
BinData::SanitizedParameters::BIG_ENDIAN = T.let(T.unsafe(nil), BinData::SanitizedBigEndian)
|
BinData::SanitizedParameters::BIG_ENDIAN = T.let(T.unsafe(nil), BinData::SanitizedBigEndian)
|
||||||
|
|
||||||
BinData::SanitizedParameters::LITTLE_ENDIAN = T.let(T.unsafe(nil), BinData::SanitizedLittleEndian)
|
BinData::SanitizedParameters::LITTLE_ENDIAN = T.let(T.unsafe(nil), BinData::SanitizedLittleEndian)
|
||||||
|
|
||||||
class BinData::SanitizedPrototype < ::BinData::SanitizedParameter
|
class BinData::SanitizedPrototype < ::BinData::SanitizedParameter
|
||||||
@ -1156,7 +1150,6 @@ class BinData::Uint8 < ::BinData::BasePrimitive
|
|||||||
end
|
end
|
||||||
|
|
||||||
class BinData::Uint8Array < ::BinData::BasePrimitive
|
class BinData::Uint8Array < ::BinData::BasePrimitive
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def read_and_return_value(io); end
|
def read_and_return_value(io); end
|
||||||
@ -1168,13 +1161,9 @@ class BinData::Uint8ArrayArgProcessor < ::BinData::BaseArgProcessor
|
|||||||
def sanitize_parameters!(obj_class, params); end
|
def sanitize_parameters!(obj_class, params); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BinData::UnRegisteredTypeError < ::StandardError
|
class BinData::UnRegisteredTypeError < ::StandardError; end
|
||||||
end
|
|
||||||
|
|
||||||
BinData::VERSION = T.let(T.unsafe(nil), String)
|
BinData::VERSION = T.let(T.unsafe(nil), String)
|
||||||
|
class BinData::ValidityError < ::StandardError; end
|
||||||
class BinData::ValidityError < ::StandardError
|
|
||||||
end
|
|
||||||
|
|
||||||
class BinData::Virtual < ::BinData::BasePrimitive
|
class BinData::Virtual < ::BinData::BasePrimitive
|
||||||
def do_num_bytes; end
|
def do_num_bytes; end
|
||||||
Loading…
x
Reference in New Issue
Block a user