Builder which does checking of constraints on the numeric arguments of binary operations.
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.
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.
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, themap
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).