Packages

class TermParser extends JavaTokenParsers

Linear Supertypes
JavaTokenParsers, RegexParsers, Parsers, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TermParser
  2. JavaTokenParsers
  3. RegexParsers
  4. Parsers
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TermParser()

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. sealed abstract class ParseResult[+T] extends AnyRef
    Definition Classes
    Parsers
  8. abstract class Parser[+T] extends (Input) => ParseResult[T]
    Definition Classes
    Parsers
  9. case class Success[+T] extends ParseResult[T] with Product with Serializable
    Definition Classes
    Parsers
  10. 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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from TermParser toany2stringadd[TermParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TermParser, B)
    Implicit
    This member is added by an implicit conversion from TermParser toArrowAssoc[TermParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def OnceParser[T](f: (Input) => ParseResult[T]): Parser[T] with OnceParser[T]
    Definition Classes
    Parsers
  7. def Parser[T](f: (Input) => ParseResult[T]): Parser[T]
    Definition Classes
    Parsers
  8. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]
    Definition Classes
    Parsers
  9. def accept[ES](es: ES)(implicit f: (ES) => List[Elem]): Parser[List[Elem]]
    Definition Classes
    Parsers
  10. implicit def accept(e: Elem): Parser[Elem]
    Definition Classes
    Parsers
  11. def acceptIf(p: (Elem) => Boolean)(err: (Elem) => String): Parser[Elem]
    Definition Classes
    Parsers
  12. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]
    Definition Classes
    Parsers
  13. def acceptSeq[ES](es: ES)(implicit f: (ES) => Iterable[Elem]): Parser[List[Elem]]
    Definition Classes
    Parsers
  14. def appln: Parser[Term]
  15. def arrow: Parser[Any]
  16. def arrowTyp: Parser[Typ[Term]]
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def chainl1[T, U](first: => Parser[T], p: => Parser[U], q: => Parser[(T, U) => T]): Parser[T]
    Definition Classes
    Parsers
  19. def chainl1[T](p: => Parser[T], q: => Parser[(T, T) => T]): Parser[T]
    Definition Classes
    Parsers
  20. def chainr1[T, U](p: => Parser[T], q: => Parser[(T, U) => U], combine: (T, U) => U, first: U): Parser[U]
    Definition Classes
    Parsers
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. def colon: Parser[String]
  23. def commit[T](p: => Parser[T]): Parser[T]
    Definition Classes
    Parsers
  24. def decimalNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  25. def elem(e: Elem): Parser[Elem]
    Definition Classes
    Parsers
  26. def elem(kind: String, p: (Elem) => Boolean): Parser[Elem]
    Definition Classes
    Parsers
  27. def ensuring(cond: (TermParser) => Boolean, msg: => Any): TermParser
    Implicit
    This member is added by an implicit conversion from TermParser toEnsuring[TermParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (TermParser) => Boolean): TermParser
    Implicit
    This member is added by an implicit conversion from TermParser toEnsuring[TermParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: => Any): TermParser
    Implicit
    This member is added by an implicit conversion from TermParser toEnsuring[TermParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): TermParser
    Implicit
    This member is added by an implicit conversion from TermParser toEnsuring[TermParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  33. def err(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  34. def failure(msg: String): Parser[Nothing]
    Definition Classes
    Parsers
  35. def floatingPointNumber: Parser[String]
    Definition Classes
    JavaTokenParsers
  36. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from TermParser toStringFormat[TermParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  37. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def guard[T](p: => Parser[T]): Parser[T]
    Definition Classes
    Parsers
  39. def handleWhiteSpace(source: CharSequence, offset: Int): Int
    Attributes
    protected
    Definition Classes
    RegexParsers
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def ident: Parser[String]
    Definition Classes
    JavaTokenParsers
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def lambdaTerm: Parser[Term]
  44. implicit def literal(s: String): Parser[String]
    Definition Classes
    RegexParsers
  45. def log[T](p: => Parser[T])(name: String): Parser[T]
    Definition Classes
    Parsers
  46. def makeSymbol(s: String): AnySym
  47. def mapsto: Parser[Any]
  48. def mkList[T]: (~[T, List[T]]) => List[T]
    Definition Classes
    Parsers
  49. def name: Parser[AnySym]
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def not[T](p: => Parser[T]): Parser[Unit]
    Definition Classes
    Parsers
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. def opt[T](p: => Parser[T]): Parser[Option[T]]
    Definition Classes
    Parsers
  55. def pair: Parser[Term]
  56. def parse[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  57. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  58. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  59. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]
    Definition Classes
    RegexParsers
  60. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]
    Definition Classes
    RegexParsers
  61. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
    Definition Classes
    RegexParsers
  62. def phrase[T](p: Parser[T]): Parser[T]
    Definition Classes
    RegexParsers → Parsers
  63. def piTyp: Parser[Typ[Term]]
  64. def positioned[T <: Positional](p: => Parser[T]): Parser[T]
    Definition Classes
    RegexParsers → Parsers
  65. def prod: Parser[Any]
  66. implicit def regex(r: Regex): Parser[String]
    Definition Classes
    RegexParsers
  67. def rep[T](p: => Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  68. 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.

  69. def rep1[T](p: => Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  70. def rep1sep[T](p: => Parser[T], q: => Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  71. def repN[T](num: Int, p: => Parser[T]): Parser[List[T]]
    Definition Classes
    Parsers
  72. def repsep[T](p: => Parser[T], q: => Parser[Any]): Parser[List[T]]
    Definition Classes
    Parsers
  73. def sigma: Parser[Any]
  74. def sigmaTyp: Parser[Typ[Term]]
  75. def skipWhitespace: Boolean
    Definition Classes
    RegexParsers
  76. 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.

  77. def success[T](v: T): Parser[T]
    Definition Classes
    Parsers
  78. def symbTerm: Parser[Term]
  79. def symbTyp: Parser[Typ[Term]]
  80. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  81. def term: Parser[Term]
  82. def toString(): String
    Definition Classes
    AnyRef → Any
  83. def typ: Parser[Typ[Term]]
  84. def uni: Parser[Typ[Typ[Term]]]
  85. def univ: Parser[Any]
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. val whiteSpace: Regex
    Attributes
    protected
    Definition Classes
    RegexParsers
  90. def wholeNumber: Parser[String]
    Definition Classes
    JavaTokenParsers

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (TermParser, B)
    Implicit
    This member is added by an implicit conversion from TermParser toArrowAssoc[TermParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from JavaTokenParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromTermParser to any2stringadd[TermParser]

Inherited by implicit conversion StringFormat fromTermParser to StringFormat[TermParser]

Inherited by implicit conversion Ensuring fromTermParser to Ensuring[TermParser]

Inherited by implicit conversion ArrowAssoc fromTermParser to ArrowAssoc[TermParser]

Ungrouped