Object/Trait

sigma.ast

SNumericTypeMethods

Related Docs: trait SNumericTypeMethods | package ast

Permalink

object SNumericTypeMethods extends MethodsContainer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SNumericTypeMethods
  2. MethodsContainer
  3. AnyRef
  4. 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 ToBigIntMethod: SMethod

    Permalink
  5. val ToBitsMethod: SMethod

    Permalink
  6. val ToBits_CostKind: FixedCost

    Permalink

    Cost of: 1) creating Boolean collection (one bool for each bit) from a numeric value.

  7. val ToByteMethod: SMethod

    Permalink

    The following SMethod instances are descriptors of methods available on all numeric types.

    The following SMethod instances are descriptors of methods available on all numeric types.

    See also

    val methods below

  8. val ToBytesMethod: SMethod

    Permalink
  9. val ToBytes_CostKind: FixedCost

    Permalink

    Cost of: 1) creating Byte collection from a numeric value

  10. val ToIntMethod: SMethod

    Permalink
  11. val ToLongMethod: SMethod

    Permalink
  12. val ToShortMethod: SMethod

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. val castMethods: Array[String]

    Permalink

    Collection of names of numeric casting methods (like toByte, toInt, etc).

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val costOfNumericCast: MethodCostFunc

    Permalink

    Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree.

    Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree. It is called as part of MethodCall.eval method.

  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getMethodById(methodId: Byte): Option[SMethod]

    Permalink

    Lookup method by its id in this type.

    Lookup method by its id in this type.

    Definition Classes
    MethodsContainer
    Annotations
    @inline()
  22. def getMethodByName(name: String): SMethod

    Permalink

    Looks up the method descriptor by the method name.

    Looks up the method descriptor by the method name.

    Definition Classes
    MethodsContainer
  23. def getMethods(): Seq[SMethod]

    Permalink

    This method should be overriden in derived classes to add new methods in addition to inherited.

    This method should be overriden in derived classes to add new methods in addition to inherited. Typical override: super.getMethods() ++ Seq(m1, m2, m3)

    Attributes
    protected
    Definition Classes
    SNumericTypeMethodsMethodsContainer
  24. def getNumericCast(fromTpe: SType, methodName: String, resTpe: SType): Option[NumericCastCompanion]

    Permalink

    Convert the given method to a cast operation from fromTpe to resTpe.

  25. def hasMethod(name: String): Boolean

    Permalink

    Returns true if this type has a method with the given name.

    Returns true if this type has a method with the given name.

    Definition Classes
    MethodsContainer
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def isCastMethod(name: String): Boolean

    Permalink

    Checks the given name is numeric type cast method (like toByte, toInt, etc.).

  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def method(methodName: String): Option[SMethod]

    Permalink

    Finds a method descriptor SMethod for the given name.

    Finds a method descriptor SMethod for the given name.

    Definition Classes
    MethodsContainer
  30. def methodById(methodId: Byte): SMethod

    Permalink

    Lookup method in this type by method's id or throw ValidationException.

    Lookup method in this type by method's id or throw ValidationException. This method can be used in trySoftForkable section to either obtain valid method or catch ValidatioinException which can be checked for soft-fork condition. It delegate to getMethodById to lookup method.

    Definition Classes
    MethodsContainer
    See also

    getMethodById

  31. def methodIndex(name: String): Int

    Permalink

    Returns -1 if method is not found.

    Returns -1 if method is not found.

    Definition Classes
    MethodsContainer
  32. lazy val methods: Seq[SMethod]

    Permalink

    Returns all the methods of this type.

    Returns all the methods of this type.

    Definition Classes
    MethodsContainer
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def ownerType: STypeCompanion

    Permalink

    Type for which this container defines methods.

    Type for which this container defines methods.

    Definition Classes
    SNumericTypeMethodsMethodsContainer
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. val tNum: STypeVar

    Permalink

    Type variable used in generic signatures of method descriptors.

  39. lazy val thisRClass: RClass[_]

    Permalink

    Represents class of this.

    Represents class of this.

    Definition Classes
    MethodsContainer
  40. def toString(): String

    Permalink
    Definition Classes
    MethodsContainer → AnyRef → Any
  41. def typeId: Byte

    Permalink
    Definition Classes
    MethodsContainer
  42. def typeName: String

    Permalink
    Definition Classes
    MethodsContainer
  43. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MethodsContainer

Inherited from AnyRef

Inherited from Any

Ungrouped