Builder which does checking of constraints on the numeric arguments of binary operations.
Result of ErgoScript source code compilation.
network prefix to decode an ergo address from string (PK op)
used to create ErgoTree nodes
if true, then MethodCall nodes are lowered to ErgoTree nodes
when sigmastate.SMethod.irInfo.irBuilder is defined. For
example, in the coll.map(x => x+1)
code, the map
method
call can be lowered to MapCollection node.
The lowering if preferable, because it is more compact (1 byte
for MapCollection instead of 3 bytes for MethodCall).
Abstract interface of ErgoTree node builders.
Abstract interface of ErgoTree node builders. Each method of the interface creates the corresponding ErgoTree node. The signatures of the methods reflect the constructors of the nodes. See the corresponding node classes for details.
Compiler which compiles ErgoScript source code into ErgoTree.
Sigma pretty printing.
Type inference and analysis for Sigma expressions.
Standard implementation of SigmaBuilder interface in which most of the operations delegate common logic to equalityOp, comparisonOp and arithOp with default implementation.
Standard implementation of SigmaBuilder interface in which most of the operations
delegate common logic to equalityOp, comparisonOp and arithOp with default
implementation.
Note, each method of this class uses current value of currentSrcCtx
dynamic variable
to attach SourceContext to the created node. Thus, it is a responsibility of the
caller to provide valid value of the currentSrcCtx
variable. (See for example how
this variable is used in SigmaParser.)
Builder which does automatic upcast of numeric arguments when necessary.
Builder which does automatic upcast of numeric arguments when necessary. The upcast is implemented by inserting additional Upcast nodes. It also performs checking of constrains.
Builder which performs checking of constraints on numeric operations.
Builder of ErgoTree nodes which is used in deserializers.
Lambda calculus pretty printing.
Standard builder which don't perform any additional transformations and checking.
Builder of ErgoTree nodes which is used in SigmaCompiler.
Result of ErgoScript source code compilation.
compiler environment used to compile the code
ErgoScript source code
graph obtained by using new GraphBuilding
ErgoTree expression obtained from graph created by GraphBuilding