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

Instance Method Summary

Macro 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

Constructor Detail

def self.new(form : Word) #

[View source]

Class Method Detail

def self.bit_fields #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
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) #

[View source]

Macro Detail

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

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_large_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_quote_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_small_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]
macro novika_word_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Snapshot of a word form.

Its type is SnapshotType::Word.


[View source]