net.liftweb.util

CombParserHelpers

trait CombParserHelpers extends AnyRef

The CombParserHelpers trait provides parser combinators helpers.

Self Type
CombParserHelpers with Parsers
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CombParserHelpers
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. type Elem = Char

    the type of input elements defined in the Parsers trait is Char

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def EOL: Parser[Unit]

    returns

    a parser discarding end of lines

  7. def aNumber: Parser[Int]

    returns

    a parser returning an Int if succeeding

  8. def aSpace: Parser[Boolean]

    returns

    a parser accepting a 'line' space, either ' ' or '\t'

  9. def acceptCI[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    returns

    a unit parser which will succeed if the input matches the list of characters regardless of the case (uppercase or lowercase)

  10. def anyChar: Parser[Elem]

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def colon: Parser[Elem]

    returns

    a parser for a colon

  14. def digit: Parser[Elem]

    returns

    a parser for a digit

  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  20. def isEof(c: Char): Boolean

    returns

    true if the character is an end of file

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isNum(c: Char): Boolean

    returns

    true if the character is a digit.

    Note

    Currently, it supports the BMP (Basic Multilingual Plane) set from U+0000 to U+FFFF and not the supplementary characters having code points greater than U+FFFF.

    See also

    java.lang.Character#isDigit(char)

  23. def lineSpace: Parser[List[Boolean]]

    returns

    a unit parser for any repetition of 'line' spaces

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def notEOF: Parser[Elem]

  26. def notEOL: Parser[Elem]

  27. def notEof(c: Char): Boolean

    returns

    true if the character is not an end of file

  28. def notNum(c: Char): Boolean

    returns

    true if the character is not a digit.

    Note

    Currently, it supports the BMP (Basic Multilingual Plane) set from U+0000 to U+FFFF and not the supplementary characters having code points greater than U+FFFF.

    See also

    java.lang.Character#isDigit(char)

  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. implicit def ns(in: List[Elem]): String

    returns

    a trimmed string of the input (a List of Elem)

  32. def permute[T](func: (List[Parser[T]]) ⇒ List[List[Parser[T]]], p: Parser[T]*): Parser[List[T]]

    func

    list permutation function. Returns all permutations on the list or all permutations on the list plus all permutations on sublists for example

    returns

    a parser which tries the permutations of a list of parsers, given a permutation function

  33. def permute[T](p: Parser[T]*): Parser[List[T]]

    returns

    a parser which tries the permutations of a list of parsers

  34. def permuteAll[T](p: Parser[T]*): Parser[List[T]]

    returns

    a parser which tries the permutations of a list and sublists of parsers

  35. def repNN[T](n: Int, p: ⇒ Parser[T]): Parser[List[T]]

    returns

    a parser which parses the input using p a number of times

  36. def slash: Parser[Elem]

    returns

    a parser for a slash

  37. implicit def strToInput(in: String): Input

    returns

    a CharArray input build from a String

  38. implicit def strToLst(in: String): List[Elem]

    returns

    a list of elements (Elem) from a String

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. def white: Parser[Elem]

    alias for the wsc parser

  45. def whiteSpace: Parser[Unit]

    returns

    a unit parser for any repetition of whitespaces

  46. def wsc: Parser[Elem]

    returns

    a whitespace parser

  47. def wsc(c: Char): Boolean

    returns

    true if the character is a space character

  48. def xform(in: Char): Char

Inherited from AnyRef

Inherited from Any