class Novika::WordSnapshot

Overview

Snapshot of a word form.

Its type is SnapshotType::Word.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Snapshot of a word form.

Its type is SnapshotType::Word.

KLASS_NAME = [Novika::WordSnapshot]

Snapshot of a word form.

Its type is SnapshotType::Word.

PARTS = [{type: "string", name: id, cls: String, onlyif: nil, verify: nil, length: nil, value: nil, encoding: nil}] of Nil

Snapshot of a word form.

Its type is SnapshotType::Word.

REMAINING = [] of Nil

Snapshot of a word form.

Its type is SnapshotType::Word.

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Novika::Snapshot

to_form(assembler : BlockAssembler) to_form

Class methods inherited from class Novika::Snapshot

bit_fields bit_fields

Macros inherited from class Novika::Snapshot

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

Constructor Detail

def self.new(form : Word) #

Class Method Detail

def self.bit_fields #

Snapshot of a word form.

Its type is SnapshotType::Word.


Macro Detail

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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


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

Snapshot of a word form.

Its type is SnapshotType::Word.


Instance Method Detail

def __format__ : IO::ByteFormat #

def id : String #

Holds the 0-terminated id (name) of the word.


def id=(id : String) #

Holds the 0-terminated id (name) of the word.


def to_form(assembler) #