com.codecommit.gll.Parsers

SequentialParser

class SequentialParser[+A, +B] extends NonTerminalParser[~[A, B]]

Linear Supertypes
NonTerminalParser[~[A, B]], Parser[~[A, B]], (LineStream) ⇒ Stream[Result[~[A, B]]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SequentialParser
  2. NonTerminalParser
  3. Parser
  4. Function1
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SequentialParser(left: Parser[A], right: Parser[B])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(sep: Parser[_]): Parser[List[~[A, B]]]

    Definition Classes
    Parser
  5. def *(): Parser[List[~[A, B]]]

    Definition Classes
    Parser
  6. def +(sep: Parser[_]): Parser[List[~[A, B]]]

    Definition Classes
    Parser
  7. def +(): Parser[List[~[A, B]]]

    Definition Classes
    Parser
  8. def +?: Parser[Option[List[~[A, B]]]]

    Definition Classes
    Parser
  9. def ->[B](y: B): (SequentialParser[A, B], B)

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to ArrowAssoc[SequentialParser[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def <~[R2](that: Parser[R2]): Parser[~[A, B]]

    Definition Classes
    Parser
  11. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  13. def ?(): Parser[Option[~[A, B]]]

    Definition Classes
    Parser
  14. def \(not: TerminalParser[Any]): Parser[~[A, B]]

    Definition Classes
    Parser
  15. def ^^^[R2](v: ⇒ R2): Parser[R2]

    Definition Classes
    Parser
  16. def andThen[A](g: (Stream[Result[~[A, B]]]) ⇒ A): (LineStream) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  17. final def apply(in: LineStream): Stream[Result[~[A, B]]]

    This method takes care of kicking off a new parse process.

    This method takes care of kicking off a new parse process. We will never call this method to handle a sub-parse. In such situations, we will use the trampoline to queue results.

    Note: to ensure greedy matching (for PEG compatibility) we define any Success with a non-empty tail to be a Failure

    Definition Classes
    NonTerminalParser → Function1
  18. def apply(str: String): Stream[Result[~[A, B]]]

    Definition Classes
    Parser
  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. def chain(t: Trampoline, in: LineStream)(f: (Result[~[A, B]]) ⇒ Unit): Unit

    Definition Classes
    SequentialParserParser
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def compose[A](g: (A) ⇒ LineStream): (A) ⇒ Stream[Result[~[A, B]]]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  23. def computeFirst(seen: Set[Parser[Any]]): Option[Set[Option[Char]]]

    returns

    The FIRST set for this parser, or the empty set if the production goes to \epsilon.

    Definition Classes
    SequentialParserParser
  24. def ensuring(cond: (SequentialParser[A, B]) ⇒ Boolean, msg: ⇒ Any): SequentialParser[A, B]

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

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

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to Ensuring[SequentialParser[A, B]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): SequentialParser[A, B]

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

    Definition Classes
    AnyRef
  29. def equals(other: Any): Boolean

    Definition Classes
    SequentialParser → AnyRef → Any
  30. def filter(f: (~[A, B]) ⇒ Boolean): Parser[~[A, B]]

    Definition Classes
    Parser
  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. lazy val first: Set[Char]

    Definition Classes
    Parser
  33. def flatMap[R2](f1: (~[A, B]) ⇒ Parser[R2]): Parser[R2]

    Definition Classes
    Parser
  34. def formatted(fmtstr: String): String

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

    Definition Classes
    AnyRef → Any
  36. def hashCode(): Int

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

    Definition Classes
    Any
  38. def isPreferred: Boolean

    Definition Classes
    Parser
  39. def map[R2](f: (~[A, B]) ⇒ R2): Parser[R2]

    Definition Classes
    Parser
  40. def mapWithTail[R2](f1: (LineStream, ~[A, B]) ⇒ R2): Parser[R2]

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

    Definition Classes
    AnyRef
  42. final def notify(): Unit

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

    Definition Classes
    AnyRef
  44. def orElse[R2 >: ~[A, B]](alternate: ⇒ Parser[R2]): Parser[R2]

    Definition Classes
    Parser
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. final val terminal: Boolean(false)

    Definition Classes
    NonTerminalParserParser
  47. def toString(): String

    Definition Classes
    SequentialParser → Function1 → AnyRef → Any
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def ~[R2](that: Parser[R2]): Parser[~[~[A, B], R2]]

    Definition Classes
    Parser
  52. def ~>[R2](that: Parser[R2]): Parser[R2]

    Definition Classes
    Parser
  53. def [B](y: B): (SequentialParser[A, B], B)

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to ArrowAssoc[SequentialParser[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (sequentialParser: StringAdd).+(other)
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sequentialParser: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sequentialParser: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SequentialParser[A, B]

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to ArrowAssoc[SequentialParser[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sequentialParser: ArrowAssoc[SequentialParser[A, B]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SequentialParser[A, B]

    Implicit information
    This member is added by an implicit conversion from SequentialParser[A, B] to Ensuring[SequentialParser[A, B]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (sequentialParser: Ensuring[SequentialParser[A, B]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from NonTerminalParser[~[A, B]]

Inherited from Parser[~[A, B]]

Inherited from (LineStream) ⇒ Stream[Result[~[A, B]]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SequentialParser[A, B] to StringAdd

Inherited by implicit conversion any2stringfmt from SequentialParser[A, B] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SequentialParser[A, B] to ArrowAssoc[SequentialParser[A, B]]

Inherited by implicit conversion any2Ensuring from SequentialParser[A, B] to Ensuring[SequentialParser[A, B]]

Ungrouped