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