Package

sigmastate

lang

Permalink

package lang

Visibility
  1. Public
  2. All

Type Members

  1. class CheckingSigmaBuilder extends StdSigmaBuilder

    Permalink

    Builder which does checking of constraints on the numeric arguments of binary operations.

  2. case class CompilerSettings(networkPrefix: NetworkPrefix, builder: SigmaBuilder, lowerMethodCalls: Boolean) extends Product with Serializable

    Permalink

    networkPrefix

    network prefix to decode an ergo address from string (PK op)

    builder

    used to create ErgoTree nodes

    lowerMethodCalls

    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).

  3. class SigmaBinder extends AnyRef

    Permalink

  4. abstract class SigmaBuilder extends AnyRef

    Permalink

    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.

  5. class SigmaCompiler extends AnyRef

    Permalink
  6. class SigmaPrinter extends PrettyPrinter

    Permalink

    Sigma pretty printing.

  7. class SigmaSpecializer extends AnyRef

    Permalink
  8. class SigmaTyper extends AnyRef

    Permalink

    Type inference and analysis for Sigma expressions.

  9. case class SourceContext(line: Int, column: Int, sourceLine: String) extends Product with Serializable

    Permalink
  10. class StdSigmaBuilder extends SigmaBuilder

    Permalink

    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.)

  11. class TransformingSigmaBuilder extends StdSigmaBuilder

    Permalink

    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.

  12. trait Types extends Core

    Permalink

Value Members

  1. object CheckingSigmaBuilder extends CheckingSigmaBuilder with Product with Serializable

    Permalink

    Builder which performs checking of constraints on numeric operations.

  2. object Constraints

    Permalink
  3. object DeserializationSigmaBuilder extends TransformingSigmaBuilder with Product with Serializable

    Permalink

    Builder of ErgoTree nodes which is used in deserializers.

  4. object SigmaBinder

    Permalink
  5. object SigmaCompiler

    Permalink
  6. object SigmaParser extends Exprs with Types with Core

    Permalink
  7. object SigmaPredef

    Permalink
  8. object SigmaPrinter extends SigmaPrinter

    Permalink

    Lambda calculus pretty printing.

  9. object SigmaSpecializer

    Permalink
  10. object SigmaTyper

    Permalink
  11. object SourceContext extends Serializable

    Permalink
  12. object SrcCtxCallbackRewriter extends CallbackRewriter

    Permalink
  13. object StdSigmaBuilder extends StdSigmaBuilder with Product with Serializable

    Permalink

    Standard builder which don't perform any additional transformations and checking.

  14. object Terms

    Permalink
  15. object TransformingSigmaBuilder extends TransformingSigmaBuilder with Product with Serializable

    Permalink

    Builder of ErgoTree nodes which is used in SigmaCompiler.

  16. package exceptions

    Permalink
  17. package syntax

    Permalink

Ungrouped