class ReductionRule2[-Y, -Z, +R] 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
- @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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- @throws( ... )
-
def
withMatcher(matcher: Matcher): ReductionRule2.this.type
- Attributes
- protected
- Definition Classes
- ReductionRule2 → Rule
- def |[YY <: Y, ZZ <: Z, RR >: R](other: ReductionRule2[YY, ZZ, RR]): ReductionRule2[YY, ZZ, RR]
- def ~[T](other: ReductionRule1[R, T]): ReductionRule2[Y, Z, T]
- def ~[X, T](other: ReductionRule2[X, R, T]): ReductionRule3[X, Y, Z, T]
- def ~(other: PopRule1[R]): PopRule2[Y, Z]
- def ~[X](other: PopRule2[X, R]): 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