abstract class Novika::Snapshot
- Novika::Snapshot
- BinData
- Reference
- Object
Overview
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a
Novika value form. Since Blocks are not value
forms, they are stored in BlockPool and pointed to by
"imaginary" (or "transitory") forms that go by the name
of block references.
All snapshots are big-endian-ordered.
Direct Known Subclasses
- Novika::BlockRefSnapshot
- Novika::BooleanSnapshot
- Novika::BuiltinSnapshot
- Novika::BytesliceSnapshot
- Novika::ColorSnapshot
- Novika::LargeDecimalSnapshot
- Novika::QuotedWordSnapshot
- Novika::QuoteSnapshot
- Novika::SmallDecimalSnapshot
- Novika::WordSnapshot
Defined in:
novika/image.crConstant Summary
-
ENDIAN =
["system"] -
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Blocks are not value forms, they are stored inBlockPooland pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
KLASS_NAME =
[Novika::Snapshot] -
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Blocks are not value forms, they are stored inBlockPooland pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
PARTS =
[] of Nil -
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Blocks are not value forms, they are stored inBlockPooland pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
REMAINING =
[] of Nil -
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Blocks are not value forms, they are stored inBlockPooland pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
Class Method Summary
-
.bit_fields
Base class for snapshots.
Instance Method Summary
-
#to_form(assembler : BlockAssembler)
Converts this snapshot to the corresponding form.
Macro Summary
-
novika_snapshot(name, onlyif = nil, verify = nil, value = nil)
Base class for snapshots.
Class Method Detail
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a
Novika value form. Since Blocks are not value
forms, they are stored in BlockPool and pointed to by
"imaginary" (or "transitory") forms that go by the name
of block references.
All snapshots are big-endian-ordered.
Instance Method Detail
Converts this snapshot to the corresponding form.