Trait

sigmastate.lang.syntax

Literals

Related Doc: package syntax

Permalink

trait Literals extends AnyRef

Parsers of literal expressions.

Self Type
Literals
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Literals
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ParserOps[+T] extends AnyRef

    Permalink

Abstract Value Members

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

    Permalink

    Parses simple blocks { ... }

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

    Permalink

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

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

    Permalink

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

  4. abstract def srcCtx(parserIndex: Int): SourceContext

    Permalink

    Create SourceContext using current input string and the given index.

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Literals

    Permalink
  5. def Newline[_](implicit arg0: P[Any]): P[Unit]

    Permalink
  6. def NotNewline[_](implicit arg0: P[Any]): P0

    Permalink

    Look ahead whitespaces, but not new line.

  7. def OneNLMax[_](implicit arg0: P[Any]): P0

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

    Permalink
  9. def Semis[_](implicit arg0: P[Any]): P[Unit]

    Permalink
  10. def TrailingComma[_](implicit arg0: P[Any]): P0

    Permalink

    Parses optional trailing comma.

  11. def WL[_](implicit arg0: P[Any]): P[Unit]

    Permalink
  12. def WL0[_](implicit arg0: P[Any]): P[Unit]

    Permalink

    Parses whitespace, including newlines.

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

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

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. val builder: SigmaBuilder

    Permalink

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

  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped