org.tresql

QueryParser

object QueryParser extends JavaTokenParsers

Linear Supertypes
JavaTokenParsers, RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryParser
  2. JavaTokenParsers
  3. RegexParsers
  4. Parsers
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class All() extends Exp with Product with Serializable

  2. case class Arr(elements: List[Any]) extends Exp with Product with Serializable

  3. case class BinOp(op: String, lop: Any, rop: Any) extends Exp with Product with Serializable

  4. case class Braces(expr: Any) extends Exp with Product with Serializable

  5. case class Col(col: Any, alias: String, typ: String) extends Exp with Product with Serializable

  6. case class Cols(distinct: Boolean, cols: List[Col]) extends Exp with Product with Serializable

  7. case class Delete(table: Ident, alias: String, filter: Arr) extends Exp with Product with Serializable

  8. type Elem = Char

    Definition Classes
    RegexParsers → Parsers
  9. case class Error extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  10. trait Exp extends AnyRef

  11. case class Failure extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  12. case class Fun(name: String, parameters: List[Any]) extends Exp with Product with Serializable

  13. case class Grp(cols: List[Any], having: Any) extends Exp with Product with Serializable

  14. case class Id(name: String) extends Exp with Product with Serializable

  15. case class IdRef(name: String) extends Exp with Product with Serializable

  16. case class Ident(ident: List[String]) extends Exp with Product with Serializable

  17. case class IdentAll(ident: Ident) extends Exp with Product with Serializable

  18. case class In(lop: Any, rop: List[Any], not: Boolean) extends Exp with Product with Serializable

  19. type Input = Reader[Elem]

    Definition Classes
    Parsers
  20. case class Insert(table: Ident, alias: String, cols: List[Col], vals: List[Arr]) extends Exp with Product with Serializable

  21. case class Join(default: Boolean, expr: Any, noJoin: Boolean) extends Exp with Product with Serializable

  22. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Definition Classes
    Parsers
  23. case class Null() extends Exp with Product with Serializable

  24. case class Obj(obj: Any, alias: String, join: Join, outerJoin: String, nullable: Boolean) extends Exp with Product with Serializable

  25. trait OnceParser[+T] extends Parser[T]

    Definition Classes
    Parsers
  26. case class Ord(cols: (Null, List[Any], Null), asc: Boolean) extends Exp with Product with Serializable

  27. sealed abstract class ParseResult[+T] extends AnyRef

    Definition Classes
    Parsers
  28. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Definition Classes
    Parsers
  29. case class Query(tables: List[Obj], filter: Arr, cols: List[Col], distinct: Boolean, group: Grp, order: List[Ord], offset: Any, limit: Any) extends Exp with Product with Serializable

  30. case class Res(rNr: Int, col: Any) extends Exp with Product with Serializable

  31. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Definition Classes
    Parsers
  32. case class UnOp(operation: String, operand: Any) extends Exp with Product with Serializable

  33. case class Update(table: Ident, alias: String, filter: Arr, cols: List[Col], vals: Arr) extends Exp with Product with Serializable

  34. case class Variable(variable: String, opt: Boolean) extends Exp with Product with Serializable

  35. case class ~[+a, +b] extends Product with Serializable

    Definition Classes
    Parsers

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 ALL: Parser[All]

  7. val DefaultJoin: Join

  8. def FALSE: Parser[Boolean]

  9. val KEYWORDS: Set[String]

  10. def NULL: Parser[Null]

  11. val NoJoin: Join

  12. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Definition Classes
    Parsers
  13. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Definition Classes
    Parsers
  14. def TRUE: Parser[Boolean]

  15. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  16. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  17. implicit def accept(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  18. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Definition Classes
    Parsers
  19. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  20. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  21. def any2tresql(any: Any): String

  22. def array: Parser[Arr]

  23. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  24. def bindVariables(ex: String): List[String]

  25. def bracesExp: Parser[Braces]

  26. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  27. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  28. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Definition Classes
    Parsers
  29. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def column: Parser[Col] { ... /* 2 definitions in type refinement */ }

  31. def columns: Parser[Cols]

  32. def comment: Parser[String]

  33. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  34. def comp: Parser[~[Any, List[~[String, Any]]]]

  35. def compTernary: Parser[Any] { def compBinOp(p: org.tresql.QueryParser.~[Any,List[org.tresql.QueryParser.~[String,Any]]]): Any }

  36. def decimalNr: Parser[BigDecimal]

  37. def decimalNumber: Parser[String]

    Definition Classes
    JavaTokenParsers
  38. def delete: Parser[Delete]

  39. def doubleQuotedStringLiteral: Parser[String]

  40. val doubleQuotedStringLiteralRegexp: Regex

  41. def elem(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  42. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Definition Classes
    Parsers
  43. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  45. def err(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  46. def excludeKeywordsIdent: Parser[String]

  47. def expr: Parser[Any]

  48. def exprList: Parser[Any]

  49. def failure(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  50. def filter: Parser[Arr]

  51. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def floatingPointNumber: Parser[String]

    Definition Classes
    JavaTokenParsers
  53. def function: Parser[Fun]

  54. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  55. def group: Parser[Grp]

  56. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  57. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Attributes
    protected
    Definition Classes
    RegexParsers
  58. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  59. def id: Parser[Id]

  60. def ident: Parser[String]

    Definition Classes
    QueryParser → JavaTokenParsers
  61. val identRegexp: Regex

  62. def idref: Parser[IdRef]

  63. def in: Parser[In]

  64. def insert: Parser[Insert]

  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. def join: Parser[Join]

  67. implicit def literal(s: String): Parser[String]

    Definition Classes
    RegexParsers
  68. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Definition Classes
    Parsers
  69. def logical: Parser[Any]

  70. def logicalOp: Parser[Any]

  71. def main(args: Array[String]): Unit

  72. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Definition Classes
    Parsers
  73. def mulDiv: Parser[Any]

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

    Definition Classes
    AnyRef
  75. def negation: Parser[UnOp]

  76. def not: Parser[UnOp]

  77. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Definition Classes
    Parsers
  78. final def notify(): Unit

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

    Definition Classes
    AnyRef
  80. def obj: Parser[Obj]

  81. def objs: Parser[List[Obj]]

  82. def offsetLimit: Parser[(Any, Any)]

  83. def operand: Parser[Any]

  84. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Definition Classes
    Parsers
  85. def order: Parser[List[Ord]]

  86. def orderAsc: Parser[Ord]

  87. def orderCore: Parser[(Null, List[Any], Null)]

  88. def orderDesc: Parser[Ord]

  89. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  90. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  91. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  92. def parseAll(expr: String): ParseResult[Any]

  93. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  94. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  95. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  96. def parseExp(expr: String): Any

  97. def phrase[T](p: Parser[T]): Parser[T]

    Definition Classes
    RegexParsers → Parsers
  98. def plusMinus: Parser[Any]

  99. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    RegexParsers → Parsers
  100. def qualifiedIdent: Parser[Ident]

  101. def qualifiedIdentAll: Parser[IdentAll]

  102. def query: Parser[Any]

  103. def quotedStringLiteral: Parser[String]

  104. val quotedStringLiteralRegexp: Regex

  105. implicit def regex(r: Regex): Parser[String]

    Definition Classes
    RegexParsers
  106. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  107. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  108. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  109. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  110. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  111. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  112. def result: Parser[Res]

  113. def sep: Parser[UnOp]

  114. def skipWhitespace: Boolean

    Definition Classes
    RegexParsers
  115. def stringLiteral: Parser[String]

    Definition Classes
    QueryParser → JavaTokenParsers
  116. def success[T](v: T): Parser[T]

    Definition Classes
    Parsers
  117. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  118. def toString(): String

    Definition Classes
    AnyRef → Any
  119. def unaryExpr: Parser[Any]

  120. def update: Parser[Update]

  121. def variable: Parser[Variable]

  122. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  125. val whiteSpace: Regex

    Attributes
    protected
    Definition Classes
    RegexParsers
  126. def wholeNumber: Parser[String]

    Definition Classes
    JavaTokenParsers

Deprecated Value Members

  1. def lastNoSuccess: NoSuccess

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  2. def lastNoSuccess_=(x: NoSuccess): Unit

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

Inherited from JavaTokenParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped