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. CombParserHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Elem = Char

    the type of input elements defined in the Parsers trait is 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: (CombParserHelpers.this)#Parser[Unit]

    returns

    a parser discarding end of lines

  7. def aNumber: (CombParserHelpers.this)#Parser[Int]

    returns

    a parser returning an Int if succeeding

  8. def aSpace: (CombParserHelpers.this)#Parser[Boolean]

    returns

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

  9. def acceptCI[ES](es: ES)(implicit arg0: (ES) ⇒ List[(CombParserHelpers.this)#Elem]): (CombParserHelpers.this)#Parser[List[(CombParserHelpers.this)#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: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#Elem]

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

    returns

    a parser for a colon

  14. def digit: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): 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: (CombParserHelpers.this)#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: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#Elem]

  26. def notEOL: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#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[(CombParserHelpers.this)#Elem]): String

    returns

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

  32. def permute[T](func: (List[(CombParserHelpers.this)#Parser[T]]) ⇒ List[List[(CombParserHelpers.this)#Parser[T]]], p: (CombParserHelpers.this)#Parser[T]*): (CombParserHelpers.this)#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: (CombParserHelpers.this)#Parser[T]*): (CombParserHelpers.this)#Parser[List[T]]

    returns

    a parser which tries the permutations of a list of parsers

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

    returns

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

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

    returns

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

  36. def slash: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#Elem]

    returns

    a parser for a slash

  37. implicit def strToInput(in: String): (CombParserHelpers.this)#Input

    returns

    a CharArray input build from a String

  38. implicit def strToLst(in: String): List[(CombParserHelpers.this)#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: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#Elem]

    alias for the wsc parser

  45. def whiteSpace: (CombParserHelpers.this)#Parser[Unit]

    returns

    a unit parser for any repetition of whitespaces

  46. def wsc: (CombParserHelpers.this)#Parser[(CombParserHelpers.this)#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

Ungrouped