class Novika::FrozenBlock
- Novika::FrozenBlock
- BinData
- Reference
- Object
Overview
Holds all information about a block.
Defined in:
novika/image.crConstant Summary
-
ENDIAN =
["big"]
-
Holds all information about a block.
-
KLASS_NAME =
[Novika::FrozenBlock]
-
Holds all information about a block.
-
PARTS =
[{type: "bitfield", name: 2, cls: Novika::FrozenBlock, onlyif: nil, verify: nil}, {type: "basic", name: id, cls: UInt64, onlyif: nil, verify: nil, value: nil}, {type: "group", name: tape, cls: Tape, onlyif: -> do has_tape end, verify: nil, value: nil}, {type: "group", name: dict, cls: Dict, onlyif: -> do has_dict end, verify: nil, value: nil}, {type: "group", name: friends, cls: Friends, onlyif: -> do has_friends end, verify: nil, value: nil}, {type: "basic", name: parent, cls: BlockRefSnapshot | ::Nil, onlyif: -> do has_parent end, verify: nil, value: nil}, {type: "basic", name: prototype, cls: BlockRefSnapshot | ::Nil, onlyif: -> do is_instance end, verify: nil, value: nil}, {type: "string", name: comment, cls: String, onlyif: -> do has_comment end, verify: nil, length: nil, value: nil, encoding: nil}] of Nil
-
Holds all information about a block.
-
REMAINING =
[] of Nil
-
Holds all information about a block.
Constructors
Class Method Summary
-
.bit_fields
Holds all information about a block.
Instance Method Summary
- #__format__ : IO::ByteFormat
-
#comment : String
Holds the string comment, if one exists.
-
#comment=(comment : String)
Holds the string comment, if one exists.
-
#dict : Novika::FrozenBlock::Dict
Holds information about the block's dictionary entries, in case it has non-empty dictionary.
-
#dict=(dict : Novika::FrozenBlock::Dict)
Holds information about the block's dictionary entries, in case it has non-empty dictionary.
-
#friends : Novika::FrozenBlock::Friends
Holds the information about the block's friends, in case it has some.
-
#friends=(friends : Novika::FrozenBlock::Friends)
Holds the information about the block's friends, in case it has some.
-
#has_comment : Bool
Whether this block has a comment.
-
#has_comment=(has_comment : UInt8)
Whether this block has a comment.
-
#has_comment=(value : Bool)
Whether this block has a comment.
-
#has_dict : Bool
Whether this block has a dictionary.
-
#has_dict=(has_dict : UInt8)
Whether this block has a dictionary.
-
#has_dict=(value : Bool)
Whether this block has a dictionary.
-
#has_friends : Bool
Whether this block has friends.
-
#has_friends=(has_friends : UInt8)
Whether this block has friends.
-
#has_friends=(value : Bool)
Whether this block has friends.
-
#has_parent : Bool
Whether this block has a parent.
-
#has_parent=(has_parent : UInt8)
Whether this block has a parent.
-
#has_parent=(value : Bool)
Whether this block has a parent.
-
#has_tape : Bool
Whether this block has tape.
-
#has_tape=(has_tape : UInt8)
Whether this block has tape.
-
#has_tape=(value : Bool)
Whether this block has tape.
-
#id : UInt64
Block identifier (
BlockRefSnapshot
s will refer to this frozen block by this identifier). -
#id=(id : UInt64)
Block identifier (
BlockRefSnapshot
s will refer to this frozen block by this identifier). -
#is_instance : Bool
Whether this block is an instance (its prototype is other than itself).
-
#is_instance=(is_instance : UInt8)
Whether this block is an instance (its prototype is other than itself).
-
#is_instance=(value : Bool)
Whether this block is an instance (its prototype is other than itself).
-
#parent : BlockRefSnapshot | Nil
Holds a ref to the parent block, in case there is a parent.
-
#parent=(parent : BlockRefSnapshot | Nil)
Holds a ref to the parent block, in case there is a parent.
-
#prototype : BlockRefSnapshot | Nil
Holds a ref to the block's prototype, in case it is different from the block itself.
-
#prototype=(prototype : BlockRefSnapshot | Nil)
Holds a ref to the block's prototype, in case it is different from the block itself.
- #reserved : UInt8
- #reserved=(reserved : UInt8)
-
#tape : Novika::FrozenBlock::Tape
Holds information about the block's tape, in case it has non-empty tape.
-
#tape=(tape : Novika::FrozenBlock::Tape)
Holds information about the block's tape, in case it has non-empty tape.
Macro Summary
-
novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_builtin_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_byteslice_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_frozen_block(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_frozen_entry(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_large_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_quote_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_quoted_word_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_small_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_typed_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
-
novika_word_snapshot(name, onlyif = nil, verify = nil, value = nil)
Holds all information about a block.
Constructor Detail
Class Method Detail
Instance Method Detail
Holds information about the block's dictionary entries, in case it has non-empty dictionary.
Holds information about the block's dictionary entries, in case it has non-empty dictionary.
Holds the information about the block's friends, in case it has some.
Holds the information about the block's friends, in case it has some.
Block identifier (BlockRefSnapshot
s will refer to
this frozen block by this identifier).
Block identifier (BlockRefSnapshot
s will refer to
this frozen block by this identifier).
Whether this block is an instance (its prototype is other than itself).
Whether this block is an instance (its prototype is other than itself).
Holds a ref to the parent block, in case there is a parent.
Holds a ref to the block's prototype, in case it is different from the block itself.
Holds a ref to the block's prototype, in case it is different from the block itself.
Holds information about the block's tape, in case it has non-empty tape.
Holds information about the block's tape, in case it has non-empty tape.
Macro Detail
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.
Holds all information about a block.