case class ValDef(id: Int, tpeArgs: Seq[STypeVar], rhs: SValue) extends BlockItem with Product with Serializable

IR node for let-bound expressions let x = rhs which is ValDef, or let f[T] = rhs which is FunDef. These nodes are used to represent ErgoTrees after common sub-expression elimination. This representation is more compact in serialized form.

id

unique identifier of the variable in the current scope.

Linear Supertypes
Serializable, Serializable, BlockItem, NotReadyValue[SType], Value[SType], SigmaNode, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValDef
  2. Serializable
  3. Serializable
  4. BlockItem
  5. NotReadyValue
  6. Value
  7. SigmaNode
  8. Product
  9. Equals
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValDef(id: Int, tpeArgs: Seq[STypeVar], rhs: SValue)

    id

    unique identifier of the variable in the current scope.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def companion: ValueCompanion
    Definition Classes
    ValDefValue
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. val id: Int
    Definition Classes
    ValDefBlockItem
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isValDef: Boolean
    Definition Classes
    ValDefBlockItem
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def opCode: OpCode

    Unique id of the node class used in serialization of ErgoTree.

    Unique id of the node class used in serialization of ErgoTree.

    Definition Classes
    Value
  17. def opName: String
    Definition Classes
    Value
  18. def opType: SFunc

    This is not used as operation, but rather to form a program structure

    This is not used as operation, but rather to form a program structure

    Definition Classes
    ValDefValue
  19. val rhs: SValue
    Definition Classes
    ValDefBlockItem
  20. def sourceContext: Nullable[SourceContext]
    Definition Classes
    Value
  21. def sourceContext_=(srcCtx: Nullable[SourceContext]): Unit
    Definition Classes
    Value
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def tpe: SType

    The type of the value represented by this node.

    The type of the value represented by this node. If the value is an operation it is the type of operation result.

    Definition Classes
    ValDefValue
  24. val tpeArgs: Seq[STypeVar]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from BlockItem

Inherited from NotReadyValue[SType]

Inherited from Value[SType]

Inherited from SigmaNode

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped