class Novika::BuiltinSnapshot
- Novika::BuiltinSnapshot
- Novika::Snapshot
- BinData
- Reference
- Object
Overview
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Defined in:
novika/image.crConstant Summary
-
ENDIAN =
["big"]
-
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
-
KLASS_NAME =
[Novika::BuiltinSnapshot]
-
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
-
PARTS =
[{type: "string", name: id, cls: String, onlyif: nil, verify: nil, length: nil, value: nil, encoding: nil}] of Nil
-
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
-
REMAINING =
[] of Nil
-
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Constructors
Class Method Summary
-
.bit_fields
Snapshot of a builtin form.
Instance Method Summary
- #__format__ : IO::ByteFormat
-
#id : String
Holds the 0-terminated unique identifier of this builtin.
-
#id=(id : String)
Holds the 0-terminated unique identifier of this builtin.
- #to_form(assembler)
Macro Summary
-
novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_builtin_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_large_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_quote_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_quoted_word_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_small_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
-
novika_word_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a builtin form.
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
Class Method Detail
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Instance Method Detail
Macro Detail
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.
Snapshot of a builtin form.
Note: builtins aren't actually serialized, only their identifies are. Assuming the contract between the image emitter and image consumer is held, that builtin ids in capabilities are the same and unique -- this works.
But not builtins created dynamically! Such builtins are not easy nor safe to serialize.
TODO handle builtin serialization and/or provide serializable builtin factories.