class ReductionRule2_2[-Y, -Z, +A, +B] extends ReductionRule
A rule taking two values off the value stack and replacing them with two values.
- Alphabetic
- By Inheritance
- ReductionRule2_2
- ReductionRule
- Rule
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ReductionRule2_2(matcher: Matcher)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(other: Matcher): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- def append(other: Rule): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- def append(f: (Context[Any]) => Boolean): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- def append(action: Action[_]): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- def appendChoice(other: Matcher): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- def appendChoice(other: Rule): Matcher
- Attributes
- protected
- Definition Classes
- Rule
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def label(label: String): ReductionRule2_2.this.type
- Definition Classes
- Rule
- val matcher: Matcher
- Definition Classes
- ReductionRule2_2 → Rule
- def memoMismatches: ReductionRule2_2.this.type
- Definition Classes
- Rule
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def skipNode: ReductionRule2_2.this.type
- Definition Classes
- Rule
- def suppressNode: ReductionRule2_2.this.type
- Definition Classes
- Rule
- def suppressSubnodes: ReductionRule2_2.this.type
- Definition Classes
- Rule
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Rule → AnyRef → Any
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withMatcher(matcher: Matcher): ReductionRule2_2.this.type
- Attributes
- protected
- Definition Classes
- ReductionRule2_2 → Rule
- def |[YY <: Y, ZZ <: Z, AA >: A, BB >: B](other: ReductionRule2_2[YY, ZZ, AA, BB]): ReductionRule2_2[YY, ZZ, AA, BB]
- def ~[C, D, E, F, G](other: Rule5[C, D, E, F, G]): ReductionRule2_7[Y, Z, A, B, C, D, E, F, G]
- def ~[C, D, E, F](other: Rule4[C, D, E, F]): ReductionRule2_6[Y, Z, A, B, C, D, E, F]
- def ~[C, D, E](other: Rule3[C, D, E]): ReductionRule2_5[Y, Z, A, B, C, D, E]
- def ~[C, D](other: Rule2[C, D]): ReductionRule2_4[Y, Z, A, B, C, D]
- def ~[C](other: Rule1[C]): ReductionRule2_3[Y, Z, A, B, C]
- def ~[BB >: B, RB, C, D, E, F, G](other: ReductionRule1_6[BB, RB, C, D, E, F, G]): ReductionRule2_7[Y, Z, A, RB, C, D, E, F, G]
- def ~[BB >: B, RB, C, D, E, F](other: ReductionRule1_5[BB, RB, C, D, E, F]): ReductionRule2_6[Y, Z, A, RB, C, D, E, F]
- def ~[BB >: B, RB, C, D, E](other: ReductionRule1_4[BB, RB, C, D, E]): ReductionRule2_5[Y, Z, A, RB, C, D, E]
- def ~[BB >: B, RB, C, D](other: ReductionRule1_3[BB, RB, C, D]): ReductionRule2_4[Y, Z, A, RB, C, D]
- def ~[BB >: B, RB, C](other: ReductionRule1_2[BB, RB, C]): ReductionRule2_3[Y, Z, A, RB, C]
- def ~[BB >: B, RB](other: ReductionRule1[BB, RB]): ReductionRule2_2[Y, Z, A, RB]
- def ~[AA >: A, BB >: B, RA, RB, C, D, E, F, G](other: ReductionRule2_7[AA, BB, RA, RB, C, D, E, F, G]): ReductionRule2_7[Y, Z, RA, RB, C, D, E, F, G]
- def ~[AA >: A, BB >: B, RA, RB, C, D, E, F](other: ReductionRule2_6[AA, BB, RA, RB, C, D, E, F]): ReductionRule2_6[Y, Z, RA, RB, C, D, E, F]
- def ~[AA >: A, BB >: B, RA, RB, C, D, E](other: ReductionRule2_5[AA, BB, RA, RB, C, D, E]): ReductionRule2_5[Y, Z, RA, RB, C, D, E]
- def ~[AA >: A, BB >: B, RA, RB, C, D](other: ReductionRule2_4[AA, BB, RA, RB, C, D]): ReductionRule2_4[Y, Z, RA, RB, C, D]
- def ~[AA >: A, BB >: B, RA, RB, C](other: ReductionRule2_3[AA, BB, RA, RB, C]): ReductionRule2_3[Y, Z, RA, RB, C]
- def ~[AA >: A, BB >: B, RA, RB](other: ReductionRule2_2[AA, BB, RA, RB]): ReductionRule2_2[Y, Z, RA, RB]
- def ~[AA >: A, BB >: B, RA](other: ReductionRule2[AA, BB, RA]): ReductionRule2[Y, Z, RA]
- def ~[X, AA >: A, BB >: B, RA, RB, C, D, E, F, G](other: ReductionRule3_7[X, AA, BB, RA, RB, C, D, E, F, G]): ReductionRule3_7[X, Y, Z, RA, RB, C, D, E, F, G]
- def ~[X, AA >: A, BB >: B, RA, RB, C, D, E, F](other: ReductionRule3_6[X, AA, BB, RA, RB, C, D, E, F]): ReductionRule3_6[X, Y, Z, RA, RB, C, D, E, F]
- def ~[X, AA >: A, BB >: B, RA, RB, C, D, E](other: ReductionRule3_5[X, AA, BB, RA, RB, C, D, E]): ReductionRule3_5[X, Y, Z, RA, RB, C, D, E]
- def ~[X, AA >: A, BB >: B, RA, RB, C, D](other: ReductionRule3_4[X, AA, BB, RA, RB, C, D]): ReductionRule3_4[X, Y, Z, RA, RB, C, D]
- def ~[X, AA >: A, BB >: B, RA, RB, C](other: ReductionRule3_3[X, AA, BB, RA, RB, C]): ReductionRule3_3[X, Y, Z, RA, RB, C]
- def ~[X, AA >: A, BB >: B, RA, RB](other: ReductionRule3_2[X, AA, BB, RA, RB]): ReductionRule3_2[X, Y, Z, RA, RB]
- def ~[X, AA >: A, BB >: B, RA](other: ReductionRule3[X, AA, BB, RA]): ReductionRule3[X, Y, Z, RA]
- def ~[BB >: B](other: PopRule1[BB]): ReductionRule2[Y, Z, A]
- def ~[AA >: A, BB >: B](other: PopRule2[AA, BB]): PopRule2[Y, Z]
- def ~[X, AA >: A, BB >: B](other: PopRule3[X, AA, BB]): PopRule3[X, Y, Z]
- def ~(other: Rule0): ReductionRule2_2.this.type
Connects two rules into a rule a sequence.
Connects two rules into a rule a sequence.
- Definition Classes
- Rule
- def ~%(f: (String) => Unit): ReductionRule2_2.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
- def ~:%(f: (Char) => Unit): ReductionRule2_2.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
- def ~:?(f: (Char) => Boolean): ReductionRule2_2.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
- def ~?(f: (String) => Boolean): ReductionRule2_2.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
- def ~~%(f: (B) => Unit): ReductionRule2[Y, Z, A]
- def ~~%(f: (A, B) => Unit): PopRule2[Y, Z]
- def ~~%[X](f: (X, A, B) => Unit): PopRule3[X, Y, Z]
- def ~~>[RB](f: (B) => RB): ReductionRule2_2[Y, Z, A, RB]
- def ~~>[RA](f: (A, B) => RA): ReductionRule2[Y, Z, RA]
- def ~~>[X, RA](f: (X, A, B) => RA): ReductionRule3[X, Y, Z, RA]
- def ~~?(f: (B) => Boolean): ReductionRule2[Y, Z, A]
- def ~~?(f: (A, B) => Boolean): PopRule2[Y, Z]
- def ~~?[X](f: (X, A, B) => Boolean): PopRule3[X, Y, Z]
- def ~~~%(f: (B) => Unit): ReductionRule2_2[Y, Z, A, B]
- def ~~~%(f: (A, B) => Unit): ReductionRule2_2[Y, Z, A, B]
- def ~~~?(f: (B) => Boolean): ReductionRule2_2[Y, Z, A, B]
- def ~~~?(f: (A, B) => Boolean): ReductionRule2_2[Y, Z, A, B]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)