Object/Class

sigmastate

SMethod

Related Docs: class SMethod | package sigmastate

Permalink

object SMethod extends Serializable

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

Type Members

  1. type InvokeDescBuilder = (SFunc) ⇒ Seq[SType]

    Permalink

    Some runtime methods (like Coll.map, Coll.flatMap) require additional RType descriptors.

    Some runtime methods (like Coll.map, Coll.flatMap) require additional RType descriptors. The builder can extract those descriptors from the given type of the method signature.

  2. abstract class MethodCostFunc extends (ErgoTreeEvaluator, MethodCall, Any, Array[Any]) ⇒ CostDetails

    Permalink

    Type of functions used to assign cost to method call nodes.

    Type of functions used to assign cost to method call nodes. For a function f: (mc, obj, args) => cost it is called before the evaluation of the mc node with the given obj as method receiver and args as method arguments.

  3. type RCosted[A] = scalan.Library._67.type.Ref[scalan.Library._67.type.Costed[A]] forSome {val _67: RuntimeCosting}

    Permalink

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 MethodCallIrBuilder: PartialFunction[(SigmaBuilder, SValue, SMethod, Seq[SValue], STypeSubst), SValue]

    Permalink

    Default fallback method call recognizer which builds MethodCall ErgoTree nodes.

  5. def apply(objType: STypeCompanion, name: String, stype: SFunc, methodId: Byte, costKind: CostKind): SMethod

    Permalink

    Convenience factory method.

  6. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromIds(typeId: Byte, methodId: Byte): SMethod

    Permalink

    Looks up SMethod instance for the given type and method ids.

    Looks up SMethod instance for the given type and method ids.

    typeId

    id of a type which can contain methods

    methodId

    id of a method of the type given by typeId

    returns

    an instance of SMethod which may contain generic type variables in the signature (see SMethod.stype). As a result specializeFor is called by deserializer to obtain monomorphic method descriptor.

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def givenCost(costKind: FixedCost): MethodCostFunc

    Permalink

    Returns a cost function which always returs the given cost.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def javaMethodOf[T, A1, A2](methodName: String)(implicit cT: ClassTag[T], cA1: ClassTag[A1], cA2: ClassTag[A2]): Method

    Permalink

    Return Method descriptor for the given methodName on the given cT type.

    Return Method descriptor for the given methodName on the given cT type.

    methodName

    the name of the method to lookup

    cT

    the class where to search the methodName

    cA1

    the class of the method's first argument

    cA2

    the class of the method's second argument

  17. def javaMethodOf[T, A1](methodName: String)(implicit cT: ClassTag[T], cA1: ClassTag[A1]): Method

    Permalink

    Return Method descriptor for the given methodName on the given cT type.

    Return Method descriptor for the given methodName on the given cT type.

    methodName

    the name of the method to lookup

    cT

    the class where to search the methodName

    cA1

    the class of the method argument

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def perItemCost(costKind: PerItemCost): MethodCostFunc

    Permalink

    Returns a cost function which expects obj to be of Coll[T] type and uses its length to compute SeqCostItem

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped