class Novika::FrozenEntry

Overview

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).

KLASS_NAME = [Novika::FrozenEntry]

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).

PARTS = [{type: "bitfield", name: 1, cls: Novika::FrozenEntry, onlyif: nil, verify: nil}, {type: "basic", name: key, cls: TypedSnapshot | ::Nil, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: value, cls: TypedSnapshot | ::Nil, onlyif: nil, verify: nil, value: nil}] of Nil

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).

REMAINING = [] of Nil

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(key : Form, entry : Entry) #

Class Method Detail

def self.bit_fields #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


Macro Detail

macro novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_builtin_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_byteslice_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_frozen_entry(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_large_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_quote_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_quoted_word_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_small_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_typed_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


macro novika_word_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about a block dictionary entry (a form-to-form pair with an is-opener flag).


Instance Method Detail

def __format__ : IO::ByteFormat #

def key : TypedSnapshot | Nil #

Holds the key form.


def key=(key : TypedSnapshot | Nil) #

Holds the key form.


def melt(assembler, block) #

Defines the corresponding entry in block.


def opens : Bool #

Holds whether the entry is an opener entry.


def opens=(opens : UInt8) #

Holds whether the entry is an opener entry.


def opens=(value : Bool) #

Holds whether the entry is an opener entry.


def reserved : UInt8 #

def reserved=(reserved : UInt8) #

def value : TypedSnapshot | Nil #

Holds the value form, unless the value form is a builtin.


def value=(value : TypedSnapshot | Nil) #

Holds the value form, unless the value form is a builtin.