object Syntax extends SyntaxCompanionVersionSpecific

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Syntax
  2. SyntaxCompanionVersionSpecific
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. lazy val alphaNumeric: Syntax[String, Char, Char, Char]

    Syntax of a single alpha-numeric character

  5. val anyChar: Syntax[Nothing, Char, Char, Char]

    Syntax that parses/prints a single character

  6. lazy val anyString: Syntax[Nothing, Char, Char, String]

    Syntax that parses/prints an arbitrary long string

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def char[Err](value: Char, failure: Err): Syntax[Err, Char, Char, Unit]

    Parse or print a specific character 'value' or fail with 'failure', result in unit

  9. def char(value: Char): Syntax[String, Char, Char, Unit]

    Parse or print a specific character 'value' and result in unit

  10. def charIn(chars: String): Syntax[String, Char, Char, Char]

    Syntax that parses/prints a single character that matches one of the characters in 'chars'

  11. def charIn(chars: Char*): Syntax[String, Char, Char, Char]

    Syntax that parses/prints a single character that matches one of 'chars'

  12. def charNotIn(chars: String): Syntax[String, Char, Char, Char]

    Syntax that parses/prints a single character that does not match any of the characters in 'chars'

  13. def charNotIn(chars: Char*): Syntax[String, Char, Char, Char]

    Syntax that parses/prints a single character that does not match any of 'chars'

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. lazy val digit: Syntax[String, Char, Char, Char]

    Syntax of a single digit

  16. lazy val end: Syntax[Nothing, Any, Nothing, Unit]

    Syntax that in parser mode only succeeds if the input stream has been consumed fully.

    Syntax that in parser mode only succeeds if the input stream has been consumed fully.

    This can be used to require that a parser consumes the full input.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def fail[Err](failure: Err): Syntax[Err, Any, Nothing, Nothing]

    Syntax that does not pares or print anything but fails with 'failure'

  20. def filterChar[Err](filter: (Char) => Boolean, failure: Err): Syntax[Err, Char, Char, Char]

    Syntax that parses/prints a single character that matches the given predicate, or fails with 'failure'

  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. lazy val index: Syntax[Nothing, Any, Nothing, Int]

    Syntax that in parser mode results in the current input stream position

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. lazy val letter: Syntax[String, Char, Char, Char]

    Syntax of a single letter

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def notChar[Err](value: Char, failure: Err): Syntax[Err, Char, Char, Char]

    Parse or print a single character and fail with 'failure' if it is 'value'

  29. def notChar(value: Char): Syntax[String, Char, Char, Char]

    Parse or print a single character and fail if it is 'value'

  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def oneOf[A, I, O](syntax: Syntax[String, I, O, _ <: A], syntaxes: Syntax[String, I, O, _ <: A]*): Syntax[String, I, O, A]
  33. def regex[Err](regex: Regex, failure: Err): Syntax[Err, Char, Char, Chunk[Char]]

    Syntax that executes a regular expression on the input and results in the chunk of the parsed characters, or fails with 'failure'.

  34. def regexChar[Err](regex: Regex, failure: Err): Syntax[Err, Char, Char, Char]

    Syntax that during parsing executes a regular expression on the input and results in the last parsed character, or fails with 'failure'.

    Syntax that during parsing executes a regular expression on the input and results in the last parsed character, or fails with 'failure'. Useful for regexes that are known to parse a single character. The printer prints the character provided as input value.

  35. def regexDiscard[Err](regex: Regex, failure: Err, value: Chunk[Char]): Syntax[Err, Char, Char, Unit]

    Parse with a given regular expression and discard its results.

    Parse with a given regular expression and discard its results. If the regex fails, fail with 'failure'. When printing, the chunk of characters in 'value' gets printed.

  36. def string[Result](str: String, value: Result): Syntax[String, Char, Char, Result]

    Syntax that parses/prints a specific string 'str', and results in 'value'

  37. def succeed[Value](value: Value): Syntax[Nothing, Any, Nothing, Value]

    Syntax that does not parse or print anything but succeeds with 'value'

  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. lazy val unit: Syntax[Nothing, Any, Nothing, Unit]

    Syntax that results in unit

  41. def unsafeRegex[Err](regex: Regex): Syntax[Nothing, Char, Char, Chunk[Char]]

    Syntax that executes a regular expression on the input and results in the chunk of the parsed characters.

    Syntax that executes a regular expression on the input and results in the chunk of the parsed characters. The regex should never fail.

  42. def unsafeRegexChar(regex: Regex): Syntax[Nothing, Char, Char, Char]

    Syntax that during parsing executes a regular expression on the input and results in the last parsed character.

    Syntax that during parsing executes a regular expression on the input and results in the last parsed character. The regex should never fail. Useful for regexes that are known to parse a single character. The printer prints the character provided as input value.

  43. def unsafeRegexDiscard(regex: Regex, value: Chunk[Char]): Syntax[Nothing, Char, Char, Unit]

    Parse with a given regular expression and discard its results.

    Parse with a given regular expression and discard its results. The regex should never fail. When printing, the chunk of characters in 'value' gets printed.

  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. lazy val whitespace: Syntax[String, Char, Char, Char]

    Syntax of a single whitespace character

Inherited from AnyRef

Inherited from Any

Ungrouped