case class MethodIRInfo(irBuilder: Option[PartialFunction[(SigmaBuilder, SValue, SMethod, Seq[SValue], STypeSubst), SValue]], javaMethod: Option[RMethod], invokeDescsBuilder: Option[InvokeDescBuilder]) extends Product with Serializable
Meta information connecting SMethod with ErgoTree.
The optional builder is used by front-end ErgoScript compiler to replace method calls
with ErgoTree nodes. In many cases SMethod.MethodCallIrBuilder builder is used.
However there are specific cases where more complex builders are used, see for example
usage of withIRInfo
in the declaration of SCollection.GetOrElseMethod.
- irBuilder
optional method call recognizer and ErgoTree node builder. When the partial function is defined on a tuple (builder, obj, m, args, subst) it transforms it to a new ErgoTree node, which is then used in the resuting ErgoTree coming out of the ErgoScript compiler.
- javaMethod
Java Method which should be used to evaluate sigmastate.lang.Terms.MethodCall node of ErgoTree.
- invokeDescsBuilder
optional builder of additional type descriptors (see extraDescriptors)
- Alphabetic
- By Inheritance
- MethodIRInfo
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MethodIRInfo(irBuilder: Option[PartialFunction[(SigmaBuilder, SValue, SMethod, Seq[SValue], STypeSubst), SValue]], javaMethod: Option[RMethod], invokeDescsBuilder: Option[InvokeDescBuilder])
- irBuilder
optional method call recognizer and ErgoTree node builder. When the partial function is defined on a tuple (builder, obj, m, args, subst) it transforms it to a new ErgoTree node, which is then used in the resuting ErgoTree coming out of the ErgoScript compiler.
- javaMethod
Java Method which should be used to evaluate sigmastate.lang.Terms.MethodCall node of ErgoTree.
- invokeDescsBuilder
optional builder of additional type descriptors (see extraDescriptors)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val invokeDescsBuilder: Option[InvokeDescBuilder]
- val irBuilder: Option[PartialFunction[(SigmaBuilder, SValue, SMethod, Seq[SValue], STypeSubst), SValue]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val javaMethod: Option[RMethod]
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()