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, 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, 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) 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 Result(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, 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. def FALSE: Parser[Boolean]

  8. val KEYWORDS: Set[String]

  9. def NULL: Parser[Null]

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

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

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

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

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

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

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

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

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

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

  20. def array: Parser[Arr]

  21. final def asInstanceOf[T0]: T0

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

  23. def bracesExp: Parser[Braces]

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

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

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

    Definition Classes
    Parsers
  27. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def column: Parser[Col]

  29. def columns: Parser[Cols]

  30. def comment: Parser[String]

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

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

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

  34. def decimalNr: Parser[BigDecimal]

  35. def decimalNumber: Parser[String]

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

  37. def doubleQuotedStringLiteral: Parser[String]

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

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

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

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

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

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

  44. def expr: Parser[Any]

  45. def exprList: Parser[Any]

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

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

  48. def finalize(): Unit

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

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

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

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

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

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

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

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

  57. def ident: Parser[String]

    Definition Classes
    JavaTokenParsers
  58. def idref: Parser[IdRef]

  59. def in: Parser[In]

  60. def insert: Parser[Insert]

  61. final def isInstanceOf[T0]: Boolean

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

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

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

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

  66. def logicalOp: Parser[Any]

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

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

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

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

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

  72. def not: Parser[UnOp]

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

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

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

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

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

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

  79. def operand: Parser[Any]

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

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

  82. def orderAsc: Parser[Ord]

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

  84. def orderDesc: Parser[Ord]

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

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

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

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

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

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

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

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

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

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

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

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

  97. def qualifiedIdentAll: Parser[IdentAll]

  98. def query: Parser[Any]

  99. def quotedStringLiteral: Parser[String]

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

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

    Definition Classes
    Parsers
  102. 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.

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

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

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

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

    Definition Classes
    Parsers
  107. def result: Parser[Result]

  108. def sep: Parser[UnOp]

  109. def skipWhitespace: Boolean

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

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

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

    Definition Classes
    AnyRef
  113. def toString(): String

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

  115. def update: Parser[Update]

  116. def variable: Parser[Variable]

  117. final def wait(): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    RegexParsers
  121. 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