cmpsci220.hw.parsing

ArithParserLike

trait ArithParserLike extends RegexParsers with PackratParsers

Linear Supertypes
PackratParsers, RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArithParserLike
  2. PackratParsers
  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
Learn more about member selection
Visibility
  1. Public
  2. All

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

Abstract Value Members

  1. abstract val add: PackratParser[Expr]

  2. abstract val atom: PackratParser[Expr]

  3. abstract val exponent: PackratParser[Expr]

  4. abstract val expr: PackratParser[Expr]

  5. abstract val mul: PackratParser[Expr]

Concrete 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 information
    This member is added by an implicit conversion from ArithParserLike to any2stringadd[ArithParserLike] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ArithParserLike, B)

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to ArrowAssoc[ArithParserLike] 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 arg0: (ES) ⇒ scala.List[Elem]): Parser[scala.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 arg0: (ES) ⇒ Iterable[Elem]): Parser[scala.List[Elem]]

    Definition Classes
    Parsers
  14. final def asInstanceOf[T0]: T0

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

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

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

    Definition Classes
    Parsers
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  20. def elem(e: Elem): Parser[Elem]

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

    Definition Classes
    Parsers
  22. def ensuring(cond: (ArithParserLike) ⇒ Boolean, msg: ⇒ Any): ArithParserLike

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to Ensuring[ArithParserLike] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: (ArithParserLike) ⇒ Boolean): ArithParserLike

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to Ensuring[ArithParserLike] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean, msg: ⇒ Any): ArithParserLike

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to Ensuring[ArithParserLike] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean): ArithParserLike

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to Ensuring[ArithParserLike] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Parsers
  30. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to StringFormat[ArithParserLike] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. final def getClass(): Class[_]

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

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

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

    Definition Classes
    AnyRef → Any
  36. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    PackratParsers
  40. def mkList[T]: (~[T, scala.List[T]]) ⇒ scala.collection.immutable.List[T]

    Definition Classes
    Parsers
  41. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  45. lazy val number: PackratParser[Double]

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

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

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

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

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

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

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

    Definition Classes
    RegexParsers
  53. def parseArith(s: String): Expr

  54. implicit def parser2packrat[T](p: ⇒ Parser[T]): PackratParser[T]

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

    Definition Classes
    PackratParsers → Parsers
  56. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    RegexParsers → Parsers
  57. implicit def regex(r: Regex): Parser[String]

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

    Definition Classes
    Parsers
  59. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[scala.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.

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

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

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

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

    Definition Classes
    Parsers
  64. def skipWhitespace: Boolean

    Definition Classes
    RegexParsers
  65. def success[T](v: T): Parser[T]

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

    Definition Classes
    AnyRef
  67. def toString(): String

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

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

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

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

    Attributes
    protected
    Definition Classes
    RegexParsers
  72. def [B](y: B): (ArithParserLike, B)

    Implicit information
    This member is added by an implicit conversion from ArithParserLike to ArrowAssoc[ArithParserLike] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from PackratParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ArithParserLike to any2stringadd[ArithParserLike]

Inherited by implicit conversion StringFormat from ArithParserLike to StringFormat[ArithParserLike]

Inherited by implicit conversion Ensuring from ArithParserLike to Ensuring[ArithParserLike]

Inherited by implicit conversion ArrowAssoc from ArithParserLike to ArrowAssoc[ArithParserLike]

Ungrouped