Package

scalaparsers

Permalink

package scalaparsers

Visibility
  1. Public
  2. All

Type Members

  1. trait Alternating[T[+_], +A] extends Applied[T, A] with Filtered[T, A]

    Permalink
  2. trait Applied[T[+_], +A] extends AppliedOnce[T, A]

    Permalink
  3. trait AppliedOnce[T[+_], +A] extends Functorial[T, A]

    Permalink
  4. sealed trait Assoc extends AnyRef

    Permalink
  5. case class BracedLayout[S](left: String, endsWith: Parser[S, Any], unmatchedBy: Parser[S, Nothing], right: String) extends LayoutContext[S] with Product with Serializable

    Permalink
  6. case class Commit[S, +A](s: ParseState[S], extract: A, expected: Set[String]) extends ParseResult[S, A] with Located with Product with Serializable

    Permalink

    A committed computation which ha manipulated the ParseState

  7. trait Comonadic[T[+_], +A] extends Functorial[T, A]

    Permalink
  8. case class Death(error: Document, base: Exception = null) extends Exception with Product with Serializable

    Permalink
  9. abstract class Diagnostic[M[+_]] extends AnyRef

    Permalink
  10. case class DocBreak(hard: Boolean = true) extends Document with Product with Serializable

    Permalink
  11. case class DocColumn(f: (Int) ⇒ Document) extends Document with Product with Serializable

    Permalink
  12. case class DocCons(hd: Document, tl: Document) extends Document with Product with Serializable

    Permalink
  13. abstract class DocException extends Exception

    Permalink
  14. case class DocGroup(doc: Document) extends Document with Product with Serializable

    Permalink
  15. case class DocNest(indent: Int, doc: Document) extends Document with Product with Serializable

    Permalink
  16. case class DocNesting(f: (Int) ⇒ Document) extends Document with Product with Serializable

    Permalink
  17. class DocText extends Document

    Permalink
  18. abstract class Document extends AnyRef

    Permalink
  19. class Err extends ParseFailure with Located

    Permalink

    A lazily constructed error message and scope stack

  20. case class Fail(msg: Option[Document] = None, aux: List[Document] = List(), expected: Set[String] = Set()) extends ParseFailure with Product with Serializable

    Permalink

    A recoverable error that hasn't consumed any input

  21. case class Failure(error: Option[Document], stack: List[String]) extends Result[Nothing, Nothing] with Product with Serializable

    Permalink
  22. trait Filtered[T[+_], +A] extends Functorial[T, A]

    Permalink
  23. trait Functorial[+T[+_], +A] extends AnyRef

    Permalink
  24. case class IndentedLayout[S](depth: Int, desc: String) extends LayoutContext[S] with Product with Serializable

    Permalink
  25. case class Inferred(p: Pos) extends Loc with Product with Serializable

    Permalink
  26. sealed abstract class LayoutContext[S] extends AnyRef

    Permalink

    LayoutContext are used to track the current indentation level for parsing

  27. sealed abstract class Loc extends Located

    Permalink

    a Loc is an abstract possibly built-in location

  28. trait Located extends AnyRef

    Permalink

    Located types know how to transform errors to give better location information

  29. trait Monadic[T[+_], +A] extends Applied[T, A]

    Permalink
  30. trait MonadicPlus[T[+_], +A] extends Monadic[T, A] with Alternating[T, A]

    Permalink
  31. sealed trait ParseFailure extends ParseResult[Nothing, Nothing]

    Permalink
  32. sealed trait ParseResult[+S, +A] extends Functorial[[+X_kp1]ParseResult[S, X_kp1], A]

    Permalink
  33. case class ParseState[S](loc: Pos, input: String, offset: Int = 0, s: S, layoutStack: List[LayoutContext[S]] = ..., bol: Boolean = false) extends Located with Product with Serializable

    Permalink

    Used to track the current indentation level

  34. abstract class Parser[S, +A] extends MonadicPlus[[+X_kp1]Parser[S, X_kp1], A]

    Permalink

    A parser with a nice error handling

  35. trait Parsing[S] extends AnyRef

    Permalink
  36. case class Pos(fileName: String, current: String, line: Int, column: Int, ending: Boolean) extends Loc with Product with Serializable

    Permalink

    A Pos is a location that actually occurs in a source file.

  37. case class Pure[+A](extract: A, last: Fail = Fail()) extends ParseResult[Nothing, A] with Comonadic[Pure, A] with Product with Serializable

    Permalink

    A pure computation that hasn't consumed any input, including a list of options that could have made it eat more

  38. abstract class Relocatable[T <: Located] extends AnyRef

    Permalink

    A relocatable instance for a Locatable type knows how to change its current location

  39. sealed abstract class Result[+S, +A] extends Functorial[[+X_kp1]Result[S, X_kp1], A]

    Permalink
  40. trait Scoped[+T[+_], +A] extends AnyRef

    Permalink
  41. case class Success[+S, +A](body: A, state: S) extends Result[S, A] with Product with Serializable

    Permalink
  42. class Supply extends AnyRef

    Permalink
  43. sealed abstract class Token extends AnyRef

    Permalink

    Tokens are returned by the layout parser rather than raw characters

Value Members

  1. object ++

    Permalink
  2. object AssocL extends Assoc with Product with Serializable

    Permalink
  3. object AssocN extends Assoc with Product with Serializable

    Permalink
  4. object AssocR extends Assoc with Product with Serializable

    Permalink
  5. object Commit extends Serializable

    Permalink
  6. object Diagnostic

    Permalink
  7. object DocNewline extends Document with Product with Serializable

    Permalink
  8. object DocNil extends Document with Product with Serializable

    Permalink
  9. object DocText

    Permalink
  10. object Document

    Permalink
  11. object Err

    Permalink
  12. object Loc

    Permalink
  13. object Other extends Token with Product with Serializable

    Permalink
  14. object ParseResult

    Permalink
  15. object ParseState extends Serializable

    Permalink
  16. object Parser

    Permalink
  17. object Pos extends Serializable

    Permalink
  18. object Supply

    Permalink
  19. object VBrace extends Token with Product with Serializable

    Permalink
  20. object VSemi extends Token with Product with Serializable

    Permalink
  21. object WhiteSpace extends Token with Product with Serializable

    Permalink

Ungrouped