class SigmaCompiler extends AnyRef
Compiler which compiles ErgoScript source code into ErgoTree.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SigmaCompiler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SigmaCompiler(networkPrefix: Byte)
Constructs an instance for the given network type and with default settings.
-
new
SigmaCompiler(settings: CompilerSettings)
- settings
compilation parameters \
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
-
final
def
builder: SigmaBuilder
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compile(env: ScriptEnv, code: String)(implicit IR: IRContext): CompilerResult[IR.type]
Compiles the given ErgoScript source code.
-
def
compileTyped(env: ScriptEnv, typedExpr: SValue)(implicit IR: IRContext): CompilerResult[IR.type]
Compiles the given typed expression.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
networkPrefix: NetworkPrefix
- Annotations
- @inline()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse(x: String): SValue
Parses the given ErgoScript source code and produces expression tree.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def typecheck(env: ScriptEnv, code: String): Value[SType]
-
def
typecheck(env: ScriptEnv, parsed: SValue): Value[SType]
Typechecks the given parsed expression and assigns types for all sub-expressions.
-
def
unlowerMethodCalls(expr: SValue): SValue
Unlowering transformation, which replaces some operations with equivalent MethodCall node.
Unlowering transformation, which replaces some operations with equivalent MethodCall node. This replacement is only defined for some operations. This is inverse to
lowering
which is performed during compilation. -
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()