c

info.kwarc.mmt.oeis.parser

FormulaParser

class FormulaParser extends JavaTokenParsers with PackratParsers

Source
FormulaParser.scala
Linear Supertypes
PackratParsers, JavaTokenParsers, RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormulaParser
  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 FormulaParser(dictionary: Set[String])

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. var calls: BigInt
  21. lazy val cbracket: PackratParser[String]
  22. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]
    Definition Classes
    Parsers
  23. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]
    Definition Classes
    Parsers
  24. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]
    Definition Classes
    Parsers
  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def commit[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    Parsers
  27. lazy val comparison: PackratParser[(Expression, Expression) ⇒ Expression]
  28. lazy val constant: PackratParser[String]
  29. lazy val date: String
  30. def decimalNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  31. lazy val delim: Regex
  32. val dictionary: Set[String]
  33. lazy val divisible: PackratParser[(Expression, Expression) ⇒ Expression]
  34. lazy val dots: PackratParser[String]
  35. def elem(e: Elem): Parser[Elem]
    Definition Classes
    Parsers
  36. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]
    Definition Classes
    Parsers
  37. lazy val elem: PackratParser[String]
  38. lazy val element: PackratParser[(Expression, Expression) ⇒ Expression]
  39. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  41. def err(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  42. val exceptionCases: Regex
  43. var exceptions: BigInt
  44. lazy val expression: PackratParser[Expression]
  45. lazy val expression_iters: PackratParser[Expression]
  46. lazy val factor: PackratParser[Expression]
  47. def failure(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  48. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. def floatingPointNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  50. lazy val formulas: PackratParser[Expression]
  51. lazy val function: PackratParser[String]
  52. var functions: HashSet[String]
  53. lazy val generating_function: Parser[String]
  54. lazy val generating_function_def: Regex
  55. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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
    Annotations
    @native()
  59. def ident: Parser[String]
    Definition Classes
    JavaTokenParsers
  60. lazy val infix_ops: Parser[AnyRef]
  61. def initSet(): Unit
  62. def isInDictionary(word: String): Boolean
  63. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  64. lazy val lazy_multiply: PackratParser[Expression]
  65. implicit def literal(s: String): Parser[String]
    Definition Classes
    RegexParsers
  66. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]
    Definition Classes
    Parsers
  67. def logger: SilentLogger
  68. def memo[T](p: Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers
  69. def mkList[T]: (~[T, List[T]]) ⇒ List[T]
    Definition Classes
    Parsers
  70. lazy val mod: PackratParser[String]
  71. lazy val modulo: PackratParser[(Expression, Expression) ⇒ Expression]
  72. lazy val month: String
  73. lazy val multdiv: PackratParser[(Expression, Expression) ⇒ Expression]
  74. lazy val multiply: PackratParser[~[(Expression, Expression) ⇒ Expression, Expression]]
  75. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. lazy val no_bracket_function: Parser[String]
  77. def not[T](p: ⇒ Parser[T]): Parser[Unit]
    Definition Classes
    Parsers
  78. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  79. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  80. lazy val number: PackratParser[String]
  81. lazy val obracket: PackratParser[String]
  82. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]
    Definition Classes
    Parsers
  83. def parse(line: String, theory: String = ""): Option[Expression]
  84. def parse[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  85. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  86. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  87. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  88. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  89. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  90. def parseQuery(line: String, theory: String = ""): Option[String]
  91. implicit def parser2packrat[T](p: ⇒ Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers
  92. def phrase[T](p: Parser[T]): PackratParser[T]
    Definition Classes
    PackratParsers → Parsers
  93. lazy val plusminus: PackratParser[(Expression, Expression) ⇒ Expression]
  94. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    RegexParsers → Parsers
  95. def postProcess(expression: Expression): Expression
  96. def printToFile(f: File)(op: (PrintWriter) ⇒ Unit): Unit
  97. lazy val reference: Regex
  98. implicit def regex(r: Regex): Parser[String]
    Definition Classes
    RegexParsers
  99. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  100. 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.

  101. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  102. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  103. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  104. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  105. lazy val sen_cbracket: PackratParser[String]
  106. lazy val sen_obracket: PackratParser[String]
  107. lazy val sentence: PackratParser[Sentence]
  108. lazy val sentence_cont: PackratParser[List[Expression]]
  109. lazy val signed_factor: PackratParser[Expression]
  110. lazy val signed_term: PackratParser[Expression]
  111. val skipWhitespace: Boolean
    Definition Classes
    FormulaParser → RegexParsers
  112. 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.

  113. var succeded: BigInt
  114. def success[T](v: T): Parser[T]
    Definition Classes
    Parsers
  115. lazy val suffix_functions: PackratParser[String]
  116. lazy val sum: PackratParser[String]
  117. lazy val sum_op: PackratParser[((Expression, Expression) ⇒ Expression, Expression)]
  118. lazy val sum_op_iters: PackratParser[((Expression, Expression) ⇒ Expression, Expression)]
  119. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  120. lazy val term: PackratParser[Expression]
  121. lazy val term_no_fact: PackratParser[Expression]
  122. def toString(): String
    Definition Classes
    AnyRef → Any
  123. lazy val unary_plusminus: PackratParser[String]
  124. lazy val unsigned_factor: PackratParser[Expression]
  125. lazy val value: PackratParser[Expression]
  126. def varToFunc(left: Expression, right: Mul): Mul
  127. lazy val variable: PackratParser[String]
  128. var variables: HashSet[String]
  129. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  131. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  132. val whiteSpace: Regex
    Attributes
    protected
    Definition Classes
    RegexParsers
  133. def wholeNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  134. lazy val word: Regex
  135. lazy val words: PackratParser[List[Expression]]
  136. lazy val words_inbracket: PackratParser[List[Expression]]
  137. object NoSuccess
    Definition Classes
    Parsers

Inherited from PackratParsers

Inherited from JavaTokenParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped