object ValueSerializer extends SigmaSerializerCompanion[Value[SType]]
Implements serialization of ErgoTree expressions. Contains global collection of
serializers for each ErgoTree operation (see serializers
field).
It also implements optional (see collectSerInfo flag) metadata collection during serialization to generate serializer specification tables in LaTeX.
- See also
GenSerializers
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValueSerializer
- SigmaSerializerCompanion
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class CasesScope(parent: Scope, matchExpr: String, children: ChildrenMap) extends Scope with Product with Serializable
- type ChildrenMap = ArrayBuffer[(String, Scope)]
- case class DataScope(parent: Scope, data: DataInfo[_]) extends Scope with Product with Serializable
- case class ForScope(parent: Scope, name: String, limitVar: String, children: ChildrenMap) extends Scope with Product with Serializable
- case class OptionScope(parent: Scope, name: String, children: ChildrenMap) extends Scope with Product with Serializable
- case class OptionalScope(parent: Scope, name: String, children: ChildrenMap) extends Scope with Product with Serializable
- trait Scope extends AnyRef
- case class SerScope(opCode: OpCode, children: ChildrenMap) extends Scope with Product with Serializable
- type Tag = Byte with supertagged.Tag[Byte, ValueCodes.OpCode.Tag]
- case class WhenScope(parent: Scope, pos: Int, condition: String, children: ChildrenMap) extends Scope with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addArgInfo[T](prop: DataInfo[T]): Unit
- def addSerializer(opCode: OpCode, ser: ValueSerializer[_ <: Value[SType]]): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cases(matchExpr: String)(block: => Unit): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val collectSerInfo: Boolean
- def deserialize(bytes: Array[Byte], pos: Position = 0): Value[SType]
- def deserialize(r: SigmaByteReader): Value[SType]
- Definition Classes
- ValueSerializer → SigmaSerializerCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foreach[T](sizeVar: String, seq: Seq[T])(f: (T) => Unit): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSerializer(opCode: OpCode): ValueSerializer[_ <: Value[SType]]
- Definition Classes
- ValueSerializer → SigmaSerializerCompanion
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def opt[T](w: SigmaByteWriter, name: String, o: Option[T])(f: (SigmaByteWriter, T) => Unit): Unit
- def optional(name: String)(block: => Unit): Unit
- def otherwise(block: => Unit): Unit
- val otherwiseCondition: String
- def printSerInfo(): String
- def removeSerializer(opCode: OpCode): Unit
- def serialize(v: Value[SType]): Array[Byte]
- def serialize(v: Value[SType], w: SigmaByteWriter): Unit
- Definition Classes
- ValueSerializer → SigmaSerializerCompanion
- val serializerInfo: Map[OpCode, SerScope]
- val serializers: SparseArrayContainer[ValueSerializer[_ <: Value[SType]]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def when(pos: Int, condition: String)(block: => Unit): Unit