Packages

class Unparsed extends Reader[Char]

\n, \r, and \r\n are read as \n

Self Type
Unparsed
Source
ParseHelper.scala
Linear Supertypes
Reader[Char], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unparsed
  2. Reader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Unparsed(input: String, error: (String) ⇒ Nothing)

Type Members

  1. class UnparsedPosition extends Position

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def atEnd: Boolean
    Definition Classes
    Unparsed → Reader
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def drop(s: String): Unit
  8. def drop(n: Int): Reader[Char]
    Definition Classes
    Reader
  9. def empty: Boolean
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def errorExpected(exp: String): Nothing
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def first: Char
    Definition Classes
    Unparsed → Reader
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getSourcePosition: SourcePosition

    the position of the next character to be read

  17. def getnext(n: Int): StringSlice
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def head: Char
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def next(): Char
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def offset: Int
    Definition Classes
    Unparsed → Reader
  26. def pos: Position
    Definition Classes
    Unparsed → Reader
  27. def remainder: StringSlice
  28. def rest: Reader[Char]
    Definition Classes
    Unparsed → Reader
  29. def source: CharSequence
    Definition Classes
    Unparsed → Reader
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def tail: Unparsed.this.type
  32. def takeIf(s: String): Boolean

    drops a String if possible

    drops a String if possible

    returns

    true if dropped

  33. def takeRegex(regex: String): Match

    matches at the beginning of the stream and returns the matched prefix

  34. def takeUntilChar(until: Char, exceptAfter: Char): (String, Boolean)

    returns all characters up to the next unescaped occurrence of 'until' (that occurrence is eaten but not returned)

    returns all characters up to the next unescaped occurrence of 'until' (that occurrence is eaten but not returned)

    until

    the delimiter to scan for

    exceptAfter

    the an escape character

    returns

    the found string (excluding the until), and false iff end of input reached

  35. def takeUntilRegex(regex: String): String

    returns the string until the first match of a regular expression

  36. def takeUntilString(until: String, brackets: List[BracketPair]): String

    return all characters until a certain string is encountered outside well-nested brackets

  37. def takeWhile(test: (Char) ⇒ Boolean): String
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def trim: Unparsed.this.type
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Reader[Char]

Inherited from AnyRef

Inherited from Any

Ungrouped