Trait

sigmastate.lang

Types

Related Doc: package lang

Permalink

trait Types extends Core

Parsers of type terms. Can produce values of SType.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Types
  2. Core
  3. Literals
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ParserOps[+T] extends AnyRef

    Permalink
    Definition Classes
    Literals

Abstract Value Members

  1. abstract def Block[_](implicit arg0: P[Any]): P[Value[SType]]

    Permalink

    Parses simple blocks { ... }

    Parses simple blocks { ... }

    Definition Classes
    Literals
  2. abstract def Pattern[_](implicit arg0: P[Any]): P0

    Permalink

    Parses pattern, like in the expression val <pattern> = expr

    Parses pattern, like in the expression val <pattern> = expr

    Definition Classes
    Literals
  3. abstract def TypeExpr[_](implicit arg0: P[Any]): P[Value[SType]]

    Permalink

    Parser of typed expressions.

    Parser of typed expressions.

    returns

    expression of ErgoTree IR

  4. abstract def ValVarDef[_](implicit arg0: P[Any]): P[Value[SType]]

    Permalink

    Parser of name = expr syntax.

    Parser of name = expr syntax.

    returns

    an instance of ValNode

  5. abstract def atSrcPos[A](parserIndex: Int)(thunk: ⇒ A): A

    Permalink

    Set the current source position (dynamic variable) and execute the given thunk.

    Set the current source position (dynamic variable) and execute the given thunk.

    Definition Classes
    Literals
  6. abstract def mkBinaryOp(l: Value[SType], opName: String, r: Value[SType]): Value[SType]

    Permalink

    Constructor of ErgoTree binary operation.

    Constructor of ErgoTree binary operation.

    Definition Classes
    Core
  7. abstract def mkUnaryOp(opName: String, arg: Value[SType]): Value[SType]

    Permalink

    Constructor of ErgoTree unary operation.

    Constructor of ErgoTree unary operation.

    Definition Classes
    Core
  8. abstract def srcCtx(parserIndex: Int): SourceContext

    Permalink

    Create SourceContext using current input string and the given index.

    Create SourceContext using current input string and the given index.

    Definition Classes
    Literals

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  4. def :[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  5. def <:[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  6. def =[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def =>[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  9. def >:[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  10. def @[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  11. def Annot[_](implicit arg0: P[Any]): P0

    Permalink

    Annotation with optional arguments, result is ignored.

  12. def AnnotType[_](implicit arg0: P[Any]): P[SType]

    Permalink
  13. def BacktickId[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  14. def CompoundType[_](implicit arg0: P[Any]): P[SType]

    Permalink
  15. def Dcl[_](implicit arg0: P[Any]): P[Value[SType]]

    Permalink

    Parser of val name = expr syntax.

    Parser of val name = expr syntax.

    returns

    an instance of ValNode

  16. def DottyExtMethodSubj[_](implicit arg0: P[Any]): P[(String, SType)]

    Permalink
  17. def ExprLiteral[_](implicit arg0: P[Any]): P[Constant[SMonoType with SProduct with Serializable { type WrappedType >: Long with Int with Boolean with String }]]

    Permalink
    Definition Classes
    Core
  18. def Exprs[_](implicit arg0: P[Any]): P[Seq[Value[SType]]]

    Permalink

    Sequence of comma separated expressions.

  19. def FunSig[_](implicit arg0: P[Any]): P[Seq[Seq[(String, SType)]]]

    Permalink

    Parses [T1,T2](a1: T, a2: S)

  20. def Id[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  21. def InfixType[_](implicit arg0: P[Any]): P[SType]

    Permalink
  22. object Literals

    Permalink
    Definition Classes
    Literals
  23. def Newline[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Literals
  24. def NotNewline[_](implicit arg0: P[Any]): P0

    Permalink

    Look ahead whitespaces, but not new line.

    Look ahead whitespaces, but not new line.

    Definition Classes
    Literals
  25. def OneNLMax[_](implicit arg0: P[Any]): P0

    Permalink
    Definition Classes
    Literals
  26. def PostDotCheck[_](implicit arg0: P[Any]): P0

    Permalink

    Sketchy way to whitelist a few suffixes that come after a .

    Sketchy way to whitelist a few suffixes that come after a . select; apart from these and IDs, everything else is illegal

    Definition Classes
    Core
  27. def PostfixType[_](implicit arg0: P[Any]): P[SType]

    Permalink
  28. def Semi[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Literals
  29. def Semis[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Literals
  30. def SimpleType[_](implicit arg0: P[Any]): P[SType]

    Permalink
  31. def StableId[_](implicit arg0: P[Any]): P[SValue]

    Permalink
    Definition Classes
    Core
  32. def TrailingComma[_](implicit arg0: P[Any]): P0

    Permalink

    Parses optional trailing comma.

    Parses optional trailing comma.

    Definition Classes
    Literals
  33. def Type[_](implicit arg0: P[Any]): P[SType]

    Permalink
  34. def TypeArgs[_](implicit arg0: P[Any]): P[Seq[SType]]

    Permalink
  35. def TypeId[_](implicit arg0: P[Any]): P[SType]

    Permalink
  36. def VarId[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  37. def WL[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Literals
  38. def WL0[_](implicit arg0: P[Any]): P[Unit]

    Permalink

    Parses whitespace, including newlines.

    Parses whitespace, including newlines. This is the default for most things

    Definition Classes
    Literals
  39. def WS[_](implicit arg0: P[Any]): P[Unit]

    Permalink

    Parses all whitespace, excluding newlines.

    Parses all whitespace, excluding newlines. This is only really useful in e.g. {} blocks, where we want to avoid capturing newlines so semicolon-inference would work

    Definition Classes
    Literals
  40. def _[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  41. def _*[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  42. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  43. val builder: SigmaBuilder

    Permalink

    A builder instance used by the parsers to create ErgoTree expressions.

    A builder instance used by the parsers to create ErgoTree expressions.

    Definition Classes
    Literals
  44. def case[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  45. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def def[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  47. def else[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  48. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  49. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  50. def extends[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  51. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  53. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  54. def if[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  55. def implicit[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  56. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  57. def lazy[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  58. def match[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. def new[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  61. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  62. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  63. val predefTypes: Map[String, SType with Serializable { type WrappedType >: Unit with special.sigma.Box with String with special.sigma.PreHeader with special.sigma.Header with special.sigma.SigmaDslBuilder with special.sigma.SigmaProp with special.sigma.GroupElement with special.sigma.Context with special.sigma.AvlTree with special.sigma.BigInt with Long with Int with Short with Byte with Boolean }]

    Permalink

    This map should be in sync with SType.allPredefTypes

  64. def super[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def this[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  67. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  68. def type[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  69. def val[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  70. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def with[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  74. def {[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core
  75. def }[_](implicit arg0: P[Any]): P[Unit]

    Permalink
    Definition Classes
    Core

Inherited from Core

Inherited from Literals

Inherited from AnyRef

Inherited from Any

Ungrouped