c

info.kwarc.mmt.oeis.parser

QueryParser

class QueryParser extends JavaTokenParsers with PackratParsers

Source
QueryParser.scala
Linear Supertypes
PackratParsers, JavaTokenParsers, RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryParser
  2. PackratParsers
  3. JavaTokenParsers
  4. RegexParsers
  5. Parsers
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryParser()

Type Members

  1. type Elem = Char
    Definition Classes
    RegexParsers → Parsers
  2. case class Error extends NoSuccess with Product with Serializable
    Definition Classes
    Parsers
  3. case class Failure extends NoSuccess with Product with Serializable
    Definition Classes
    Parsers
  4. type Input = Reader[Elem]
    Definition Classes
    Parsers
  5. sealed abstract class NoSuccess extends ParseResult[Nothing]
    Definition Classes
    Parsers
  6. trait OnceParser[+T] extends Parser[T]
    Definition Classes
    Parsers
  7. abstract class PackratParser[+T] extends scala.util.parsing.combinator.PackratParsers.Parser[T]
    Definition Classes
    PackratParsers
  8. class PackratReader[+T] extends Reader[T]
    Definition Classes
    PackratParsers
  9. sealed abstract class ParseResult[+T] extends AnyRef
    Definition Classes
    Parsers
  10. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]
    Definition Classes
    Parsers
  11. case class Success[+T] extends ParseResult[T] with Product with Serializable
    Definition Classes
    Parsers
  12. case class ~[+a, +b] extends Product with Serializable
    Definition Classes
    Parsers

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. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]
    Definition Classes
    Parsers
  5. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]
    Definition Classes
    Parsers
  6. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]
    Definition Classes
    Parsers
  7. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]
    Definition Classes
    Parsers
  8. implicit def accept(e: Elem): Parser[Elem]
    Definition Classes
    Parsers
  9. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]
    Definition Classes
    Parsers
  10. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]
    Definition Classes
    Parsers
  11. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]
    Definition Classes
    Parsers
  12. def addFunc(function: String, throwable: Boolean = true): HashSet[String]
  13. def addVar(variable: String, throwable: Boolean = true): HashSet[String]
  14. def applyFunctionsInOrder(exprs: List[Expression], funcs: List[(Expression, Expression) ⇒ Expression]): Expression
  15. lazy val argument: PackratParser[Expression]
  16. lazy val argument_suffix: PackratParser[Expression]
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. lazy val c_expression: PackratParser[Expression]
  19. lazy val c_expression_iters: PackratParser[Expression]
  20. lazy val cbracket: PackratParser[String]
  21. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]
    Definition Classes
    Parsers
  22. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]
    Definition Classes
    Parsers
  23. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]
    Definition Classes
    Parsers
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. def commit[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    Parsers
  26. lazy val comparison: PackratParser[(Expression, Expression) ⇒ Expression]
  27. lazy val constant: PackratParser[String]
  28. lazy val date: String
  29. def decimalNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  30. lazy val delim: Regex
  31. val dictionary: Set[String]
  32. lazy val divisible: PackratParser[(Expression, Expression) ⇒ Expression]
  33. lazy val dots: PackratParser[String]
  34. def elem(e: Elem): Parser[Elem]
    Definition Classes
    Parsers
  35. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]
    Definition Classes
    Parsers
  36. lazy val elem: PackratParser[String]
  37. lazy val element: PackratParser[(Expression, Expression) ⇒ Expression]
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  40. def err(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  41. val exceptionCases: Regex
  42. lazy val expression: PackratParser[Expression]
  43. lazy val expression_iters: PackratParser[Expression]
  44. lazy val factor: PackratParser[Expression]
  45. def failure(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  46. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. def floatingPointNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  48. lazy val formulas: PackratParser[Expression]
  49. lazy val function: PackratParser[String]
  50. var functions: HashSet[String]
  51. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  52. def guard[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    Parsers
  53. def handleWhiteSpace(source: CharSequence, offset: Int): Int
    Attributes
    protected
    Definition Classes
    RegexParsers
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  55. def ident: Parser[String]
    Definition Classes
    JavaTokenParsers
  56. lazy val infix_ops: Parser[AnyRef]
  57. def initSet(): Unit
  58. def isInDictionary(word: String): Boolean
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. lazy val lazy_multiply: PackratParser[Expression]
  61. implicit def literal(s: String): Parser[String]
    Definition Classes
    RegexParsers
  62. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]
    Definition Classes
    Parsers
  63. def memo[T](p: Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers
  64. def mkList[T]: (~[T, List[T]]) ⇒ List[T]
    Definition Classes
    Parsers
  65. lazy val mod: PackratParser[String]
  66. lazy val modulo: PackratParser[(Expression, Expression) ⇒ Expression]
  67. lazy val month: String
  68. lazy val multdiv: PackratParser[(Expression, Expression) ⇒ Expression]
  69. lazy val multiply: PackratParser[~[(Expression, Expression) ⇒ Expression, Expression]]
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. lazy val no_bracket_function: Parser[String]
  72. def not[T](p: ⇒ Parser[T]): Parser[Unit]
    Definition Classes
    Parsers
  73. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  74. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  75. lazy val number: PackratParser[String]
  76. lazy val obracket: PackratParser[String]
  77. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]
    Definition Classes
    Parsers
  78. def parse(line: String, theory: String = ""): Option[Expression]
  79. def parse[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  80. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  81. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  82. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  83. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  84. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  85. def parseQuery(line: String, theory: String = ""): Option[String]
  86. implicit def parser2packrat[T](p: ⇒ Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers
  87. def phrase[T](p: Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers → Parsers
  88. lazy val plusminus: PackratParser[(Expression, Expression) ⇒ Expression]
  89. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    RegexParsers → Parsers
  90. def postProcess(expression: Expression): Expression
  91. lazy val reference: Regex
  92. implicit def regex(r: Regex): Parser[String]
    Definition Classes
    RegexParsers
  93. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  94. 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.

  95. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  96. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  97. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  98. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  99. lazy val sen_cbracket: PackratParser[String]
  100. lazy val sen_obracket: PackratParser[String]
  101. lazy val sentence: PackratParser[Sentence]
  102. lazy val sentence_cont: PackratParser[List[Expression]]
  103. lazy val signed_factor: PackratParser[Expression]
  104. lazy val signed_term: PackratParser[Expression]
  105. val skipWhitespace: Boolean
    Definition Classes
    QueryParser → RegexParsers
  106. def stringLiteral: Parser[String]
    Definition Classes
    JavaTokenParsers
    Annotations
    @migration
    Migration

    (Changed in version 2.10.0) stringLiteral allows escaping single and double quotes, but not forward slashes any longer.

  107. def success[T](v: T): Parser[T]
    Definition Classes
    Parsers
  108. lazy val suffix_functions: PackratParser[String]
  109. lazy val sum: PackratParser[String]
  110. lazy val sum_op: PackratParser[((Expression, Expression) ⇒ Expression, Expression)]
  111. lazy val sum_op_iters: PackratParser[((Expression, Expression) ⇒ Expression, Expression)]
  112. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  113. lazy val term: PackratParser[Expression]
  114. lazy val term_no_fact: PackratParser[Expression]
  115. def toString(): String
    Definition Classes
    AnyRef → Any
  116. lazy val unary_plusminus: PackratParser[String]
  117. lazy val unsigned_factor: PackratParser[Expression]
  118. lazy val value: PackratParser[Expression]
  119. def varToFunc(left: Expression, right: Mul): Mul
  120. lazy val variable: PackratParser[String]
  121. var variables: HashSet[String]
  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( ... ) @native()
  125. val whiteSpace: Regex
    Attributes
    protected
    Definition Classes
    RegexParsers
  126. def wholeNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  127. lazy val word: Regex
  128. lazy val words: PackratParser[List[Expression]]
  129. lazy val words_inbracket: PackratParser[List[Expression]]
  130. object NoSuccess
    Definition Classes
    Parsers

Inherited from PackratParsers

Inherited from JavaTokenParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped