Class/Object

ap.parser

TPTPTParser

Related Docs: object TPTPTParser | package parser

Permalink

class TPTPTParser extends Parser2InputAbsy[Type, Type, Rank, Rank, Type, Unit] with JavaTokenParsers with PackratParsers

A parser for TPTP, both FOF and TFF

Linear Supertypes
PackratParsers, JavaTokenParsers, RegexParsers, Parsers, Parser2InputAbsy[Type, Type, Rank, Rank, Type, Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TPTPTParser
  2. PackratParsers
  3. JavaTokenParsers
  4. RegexParsers
  5. Parsers
  6. Parser2InputAbsy
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TPTPTParser(_env: Environment[Type, Type, Rank, Rank, Type], settings: ParserSettings)

    Permalink

Type Members

  1. abstract class ASTConnective extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  2. type Elem = Char

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

    Permalink
    Definition Classes
    Parsers
  4. case class Failure extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  5. abstract type GrammarExpression

    Permalink
    Definition Classes
    Parser2InputAbsy
  6. type Input = Reader[Elem]

    Permalink
    Definition Classes
    Parsers
  7. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Permalink
    Definition Classes
    Parsers
  8. trait OnceParser[+T] extends Parser[T]

    Permalink
    Definition Classes
    Parsers
  9. abstract class PackratParser[+T] extends scala.util.parsing.combinator.PackratParsers.Parser[T]

    Permalink
    Definition Classes
    PackratParsers
  10. class PackratReader[+T] extends Reader[T]

    Permalink
    Definition Classes
    PackratParsers
  11. sealed abstract class ParseResult[+T] extends AnyRef

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

    Permalink
    Definition Classes
    Parsers
  13. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  14. case class ~[+a, +b] extends Product with Serializable

    Permalink
    Definition Classes
    Parsers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

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

    Permalink
    Definition Classes
    Parsers
  6. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

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

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

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

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

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

    Permalink
    Definition Classes
    Parsers
  12. def addAxiom(f: IFormula): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  13. def addTheory(t: Theory): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  14. def apply(reader: Reader): (IFormula, List[IInterpolantSpec], Signature)

    Permalink

    Parse a problem from a character stream.

    Parse a problem from a character stream. The result is the formula contained in the input, a list of interpolation specifications present in the input, and the Signature declared in the input (constants, and the TermOrder that was used for the formula).

    Definition Classes
    TPTPTParserParser2InputAbsy
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

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

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

    Permalink
    Definition Classes
    Parsers
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def collectSubExpressions(f: GrammarExpression, cont: (GrammarExpression) ⇒ Boolean, Connective: ASTConnective): Seq[GrammarExpression]

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  21. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  22. def decimalNumber: Parser[String]

    Permalink
    Definition Classes
    JavaTokenParsers
  23. def elem(e: Elem): Parser[Elem]

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

    Permalink
    Definition Classes
    Parsers
  25. def ensureEnvironmentCopy: Unit

    Permalink

    Make sure that the current settings frame contains a local copy of the Environment.

    Make sure that the current settings frame contains a local copy of the Environment. To be called before changing anything in the Environment.

    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  26. def env: Environment[Type, Type, Rank, Rank, Type]

    Permalink
    Definition Classes
    Parser2InputAbsy
  27. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    Parsers
  30. def failure(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  31. def finalize(): Unit

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

    Permalink
    Definition Classes
    JavaTokenParsers
  33. def genSignature(completeFor: IExpression): Signature

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  34. def getAxioms: IFormula

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. def guard[T](p: ⇒ Parser[T]): Parser[T]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def ident: Parser[String]

    Permalink
    Definition Classes
    JavaTokenParsers
  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. implicit def literal(s: String): Parser[String]

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

    Permalink
    Definition Classes
    Parsers
  43. def memo[T](p: Parser[T]): PackratParser[T]

    Permalink
    Definition Classes
    PackratParsers
  44. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Permalink
    Definition Classes
    Parsers
  45. lazy val mulTheory: MulTheory

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  46. def mult(t1: ITerm, t2: ITerm): ITerm

    Permalink
    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  47. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  48. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Permalink
    Definition Classes
    Parsers
  49. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  51. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Permalink
    Definition Classes
    Parsers
  52. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

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

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

    Permalink
    Definition Classes
    RegexParsers
  55. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

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

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

    Permalink
    Definition Classes
    RegexParsers
  58. implicit def parser2packrat[T](p: ⇒ Parser[T]): PackratParser[T]

    Permalink
    Definition Classes
    PackratParsers
  59. def phrase[T](p: Parser[T]): PackratParser[T]

    Permalink
    Definition Classes
    PackratParsers → Parsers
  60. def popState: Unit

    Permalink

    Pop a frame from the settings stack.

    Pop a frame from the settings stack.

    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  61. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  62. def pushState(state: Unit): Unit

    Permalink

    Add a new frame to the settings stack; this in particular affects the Environment.

    Add a new frame to the settings stack; this in particular affects the Environment.

    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  63. implicit def regex(r: Regex): Parser[String]

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

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

    Permalink
    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.

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

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

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

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

    Permalink
    Definition Classes
    Parsers
  70. def reset: Unit

    Permalink

    Erase all stored information.

    Erase all stored information.

    Attributes
    protected
    Definition Classes
    Parser2InputAbsy
  71. def skipWhitespace: Boolean

    Permalink
    Definition Classes
    RegexParsers
  72. def stringLiteral: Parser[String]

    Permalink
    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.

  73. def success[T](v: T): Parser[T]

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

    Permalink
    Definition Classes
    AnyRef
  75. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  76. final def wait(): Unit

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

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

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

    Permalink

    Comments are considered as whitespace and ignored right away

    Comments are considered as whitespace and ignored right away

    Attributes
    protected
    Definition Classes
    TPTPTParser → RegexParsers
  80. def wholeNumber: Parser[String]

    Permalink
    Definition Classes
    JavaTokenParsers

Inherited from PackratParsers

Inherited from JavaTokenParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from Parser2InputAbsy[Type, Type, Rank, Rank, Type, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped