Object/Class

sigmastate.Values

ErgoTree

Related Docs: class ErgoTree | package Values

Permalink

object ErgoTree extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErgoTree
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ConstantSegregationFlag: Byte

    Permalink

    Header flag to indicate that constant segregation should be applied.

  5. val ConstantSegregationHeader: Byte

    Permalink

    Default header with constant segregation enabled.

  6. val DefaultHeader: Byte

    Permalink

    Default value of ErgoTree.header byte

  7. val EmptyConstants: IndexedSeq[Constant[SType]]

    Permalink
  8. val SizeFlag: Byte

    Permalink

    Header flag to indicate that whole size of ErgoTree should be saved before tree content.

  9. val VersionFlag: Byte

    Permalink

    Current version of ErgoTree serialization format (aka bite-code language version)

  10. val VersionMask: Byte

    Permalink

    Header mask to extract version bits.

  11. def apply(header: Byte, constants: IndexedSeq[Constant[SType]], root: SigmaPropValue): ErgoTree

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. implicit def fromProposition(prop: SigmaPropValue): ErgoTree

    Permalink
  18. implicit def fromSigmaBoolean(pk: SigmaBoolean): ErgoTree

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def getVersion(header: Byte): Byte

    Permalink
    Annotations
    @inline()
  21. final def hasSize(header: Byte): Boolean

    Permalink
    Annotations
    @inline()
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isConstantSegregation(header: Byte): Boolean

    Permalink
    Annotations
    @inline()
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def substConstants(root: SValue, constants: IndexedSeq[Constant[SType]]): SValue

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withSegregation(value: SigmaPropValue): ErgoTree

    Permalink
  35. def withSegregation(headerFlags: Byte, value: SigmaPropValue): ErgoTree

    Permalink

    Build ErgoTree via serialization of the value with ConstantSegregationHeader, constants segregated from the tree and ConstantPlaceholders referring to the segregated constants.

    Build ErgoTree via serialization of the value with ConstantSegregationHeader, constants segregated from the tree and ConstantPlaceholders referring to the segregated constants.

    This method uses single traverse of the tree to: 1) find and segregate all constants; 2) replace constants with ConstantPlaceholders in the tree; 3) write the tree to the Writer's buffer obtaining treeBytes; 4) deserialize tree with ConstantPlaceholders.

  36. def withoutSegregation(root: SigmaPropValue): ErgoTree

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped