org.parboiled.scala.rules

Rule2

class Rule2 [+A, +B] extends PushRule

A rule pushing two new values of given types onto the parsers value stack.

Linear Supertypes
PushRule, Rule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Rule2
  2. PushRule
  3. Rule
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Rule2 (matcher: Matcher)

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. def append (other: Matcher): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  7. def append (other: Rule): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  8. def append (f: (Context[Any]) ⇒ Boolean): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  9. def append (action: org.parboiled.Action[_]): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  10. def appendChoice (other: Matcher): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  11. def appendChoice (other: Rule): Matcher

    Attributes
    protected
    Definition Classes
    Rule
  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  20. def label (label: String): Rule2.this.type

    Definition Classes
    Rule
  21. val matcher : Matcher

    Definition Classes
    Rule2Rule
  22. def memoMismatches : Rule2.this.type

    Definition Classes
    Rule
  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def skipNode : Rule2.this.type

    Definition Classes
    Rule
  27. def suppressNode : Rule2.this.type

    Definition Classes
    Rule
  28. def suppressSubnodes : Rule2.this.type

    Definition Classes
    Rule
  29. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  30. def toString (): String

    Definition Classes
    Rule → AnyRef → Any
  31. def unary_! : Rule0

    Creates a "NOT" syntactic predicate according to the PEG formalism.

    Creates a "NOT" syntactic predicate according to the PEG formalism.

    Definition Classes
    Rule
  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def withMatcher (matcher: Matcher): Rule2.this.type

    Attributes
    protected
    Definition Classes
    Rule2Rule
  36. def | [AA >: A, BB >: B] (other: Rule2[AA, BB]): Rule2[AA, BB]

  37. def ~ [C, D, E, F, G] (other: Rule5[C, D, E, F, G]): Rule7[A, B, C, D, E, F, G]

  38. def ~ [C, D, E, F] (other: Rule4[C, D, E, F]): Rule6[A, B, C, D, E, F]

  39. def ~ [C, D, E] (other: Rule3[C, D, E]): Rule5[A, B, C, D, E]

  40. def ~ [C, D] (other: Rule2[C, D]): Rule4[A, B, C, D]

  41. def ~ [C] (other: Rule1[C]): Rule3[A, B, C]

  42. def ~ [BB >: B, R] (other: ReductionRule1[BB, R]): Rule2[A, R]

  43. def ~ [AA >: A, BB >: B, R] (other: ReductionRule2[AA, BB, R]): Rule1[R]

  44. def ~ [X, AA >: A, BB >: B, R] (other: ReductionRule3[X, AA, BB, R]): ReductionRule1[X, R]

  45. def ~ [BB >: B] (other: PopRule1[BB]): Rule1[A]

  46. def ~ [AA >: A, BB >: B] (other: PopRule2[AA, BB]): Rule0

  47. def ~ [Z, AA >: A, BB >: B] (other: PopRule3[Z, AA, BB]): PopRule1[Z]

  48. def ~ (other: Rule0): Rule2.this.type

    Connects two rules into a rule a sequence.

    Connects two rules into a rule a sequence.

    Definition Classes
    Rule
  49. def ~% (f: (String) ⇒ Unit): Rule2.this.type

    Creates a simple parser action with the input text matched by the immediately preceding rule as parameter.

    Creates a simple parser action with the input text matched by the immediately preceding rule as parameter.

    Definition Classes
    Rule
  50. def ~:% (f: (Char) ⇒ Unit): Rule2.this.type

    Creates a simple parser action with the first char of the input text matched by the immediately preceding rule as parameter.

    Creates a simple parser action with the first char of the input text matched by the immediately preceding rule as parameter.

    Definition Classes
    Rule
  51. def ~:> [R] (f: (Char) ⇒ R): Rule3[A, B, R]

  52. def ~:? (f: (Char) ⇒ Boolean): Rule2.this.type

    Creates a semantic predicate on the first char of the input text matched by the immediately preceding rule.

    Creates a semantic predicate on the first char of the input text matched by the immediately preceding rule.

    Definition Classes
    Rule
  53. def ~> [R] (f: (String) ⇒ R): Rule3[A, B, R]

  54. def ~>> [R] (f: (IndexRange) ⇒ R): Rule3[A, B, R]

  55. def ~? (f: (String) ⇒ Boolean): Rule2.this.type

    Creates a semantic predicate on the input text matched by the immediately preceding rule.

    Creates a semantic predicate on the input text matched by the immediately preceding rule.

    Definition Classes
    Rule
  56. def ~~% [X, Y, Z] (f: (X, Y, Z, A, B) ⇒ Unit): PopRule3[X, Y, Z]

  57. def ~~% [Y, Z] (f: (Y, Z, A, B) ⇒ Unit): PopRule2[Y, Z]

  58. def ~~% [Z] (f: (Z, A, B) ⇒ Unit): PopRule1[Z]

  59. def ~~% (f: (A, B) ⇒ Unit): Rule0

  60. def ~~% (f: (B) ⇒ Unit): Rule1[A]

  61. def ~~> [X, Y, Z, R] (f: (X, Y, Z, A, B) ⇒ R): ReductionRule3[X, Y, Z, R]

  62. def ~~> [Y, Z, R] (f: (Y, Z, A, B) ⇒ R): ReductionRule2[Y, Z, R]

  63. def ~~> [Z, R] (f: (Z, A, B) ⇒ R): ReductionRule1[Z, R]

  64. def ~~> [R] (f: (A, B) ⇒ R): Rule1[R]

  65. def ~~> [R] (f: (B) ⇒ R): Rule2[A, R]

  66. def ~~? [X, Y, Z] (f: (X, Y, Z, A, B) ⇒ Boolean): PopRule3[X, Y, Z]

  67. def ~~? [Y, Z] (f: (Y, Z, A, B) ⇒ Boolean): PopRule2[Y, Z]

  68. def ~~? [Z] (f: (Z, A, B) ⇒ Boolean): PopRule1[Z]

  69. def ~~? (f: (A, B) ⇒ Boolean): Rule0

  70. def ~~? (f: (B) ⇒ Boolean): Rule1[A]

  71. def ~~~% (f: (A, B) ⇒ Unit): Rule2[A, B]

  72. def ~~~% (f: (B) ⇒ Unit): Rule2[A, B]

  73. def ~~~> [R] (f: (A, B) ⇒ R): Rule3[A, B, R]

  74. def ~~~> [R] (f: (B) ⇒ R): Rule3[A, B, R]

  75. def ~~~? (f: (A, B) ⇒ Boolean): Rule2[A, B]

  76. def ~~~? (f: (B) ⇒ Boolean): Rule2[A, B]

Inherited from PushRule

Inherited from Rule

Inherited from AnyRef

Inherited from Any