class ReductionRule1[-Z, +A] extends ReductionRule
A rule taking one value off the value stack and replacing it with another value.
- Alphabetic
- By Inheritance
- ReductionRule1
- ReductionRule
- Rule
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ReductionRule1(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): ReductionRule1.this.type
- Definition Classes
- Rule
- val matcher: Matcher
- Definition Classes
- ReductionRule1 → Rule
- def memoMismatches: ReductionRule1.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: ReductionRule1.this.type
- Definition Classes
- Rule
- def suppressNode: ReductionRule1.this.type
- Definition Classes
- Rule
- def suppressSubnodes: ReductionRule1.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): ReductionRule1.this.type
- Attributes
- protected
- Definition Classes
- ReductionRule1 → Rule
- def |[ZZ <: Z, AA >: A](other: ReductionRule1[ZZ, AA]): ReductionRule1[ZZ, AA]
- def ~[B, C, D, E, F, G](other: Rule6[B, C, D, E, F, G]): ReductionRule1_7[Z, A, B, C, D, E, F, G]
- def ~[B, C, D, E, F](other: Rule5[B, C, D, E, F]): ReductionRule1_6[Z, A, B, C, D, E, F]
- def ~[B, C, D, E](other: Rule4[B, C, D, E]): ReductionRule1_5[Z, A, B, C, D, E]
- def ~[B, C, D](other: Rule3[B, C, D]): ReductionRule1_4[Z, A, B, C, D]
- def ~[B, C](other: Rule2[B, C]): ReductionRule1_3[Z, A, B, C]
- def ~[B](other: Rule1[B]): ReductionRule1_2[Z, A, B]
- def ~[AA >: A, RA, B, C, D, E, F, G](other: ReductionRule1_7[AA, RA, B, C, D, E, F, G]): ReductionRule1_7[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]): ReductionRule1_6[Z, RA, B, C, D, E, F]
- def ~[AA >: A, RA, B, C, D, E](other: ReductionRule1_5[AA, RA, B, C, D, E]): ReductionRule1_5[Z, RA, B, C, D, E]
- def ~[AA >: A, RA, B, C, D](other: ReductionRule1_4[AA, RA, B, C, D]): ReductionRule1_4[Z, RA, B, C, D]
- def ~[AA >: A, RA, B, C](other: ReductionRule1_3[AA, RA, B, C]): ReductionRule1_3[Z, RA, B, C]
- def ~[AA >: A, RA, B](other: ReductionRule1_2[AA, RA, B]): ReductionRule1_2[Z, RA, B]
- def ~[AA >: A, RA](other: ReductionRule1[AA, RA]): ReductionRule1[Z, RA]
- def ~[Y, AA >: A, RA, B, C, D, E, F, G](other: ReductionRule2_7[Y, AA, RA, B, C, D, E, F, G]): ReductionRule2_7[Y, Z, RA, B, C, D, E, F, G]
- def ~[Y, AA >: A, RA, B, C, D, E, F](other: ReductionRule2_6[Y, AA, RA, B, C, D, E, F]): ReductionRule2_6[Y, Z, RA, B, C, D, E, F]
- def ~[Y, AA >: A, RA, B, C, D, E](other: ReductionRule2_5[Y, AA, RA, B, C, D, E]): ReductionRule2_5[Y, Z, RA, B, C, D, E]
- def ~[Y, AA >: A, RA, B, C, D](other: ReductionRule2_4[Y, AA, RA, B, C, D]): ReductionRule2_4[Y, Z, RA, B, C, D]
- def ~[Y, AA >: A, RA, B, C](other: ReductionRule2_3[Y, AA, RA, B, C]): ReductionRule2_3[Y, Z, RA, B, C]
- def ~[Y, AA >: A, RA, B](other: ReductionRule2_2[Y, AA, RA, B]): ReductionRule2_2[Y, Z, RA, B]
- def ~[Y, AA >: A, RA](other: ReductionRule2[Y, AA, RA]): ReductionRule2[Y, Z, RA]
- def ~[X, Y, AA >: A, RA, B, C, D, E, F, G](other: ReductionRule3_7[X, Y, AA, RA, B, C, D, E, F, G]): ReductionRule3_7[X, Y, Z, RA, B, C, D, E, F, G]
- def ~[X, Y, AA >: A, RA, B, C, D, E, F](other: ReductionRule3_6[X, Y, AA, RA, B, C, D, E, F]): ReductionRule3_6[X, Y, Z, RA, B, C, D, E, F]
- def ~[X, Y, AA >: A, RA, B, C, D, E](other: ReductionRule3_5[X, Y, AA, RA, B, C, D, E]): ReductionRule3_5[X, Y, Z, RA, B, C, D, E]
- def ~[X, Y, AA >: A, RA, B, C, D](other: ReductionRule3_4[X, Y, AA, RA, B, C, D]): ReductionRule3_4[X, Y, Z, RA, B, C, D]
- def ~[X, Y, AA >: A, RA, B, C](other: ReductionRule3_3[X, Y, AA, RA, B, C]): ReductionRule3_3[X, Y, Z, RA, B, C]
- def ~[X, Y, AA >: A, RA, B](other: ReductionRule3_2[X, Y, AA, RA, B]): ReductionRule3_2[X, Y, Z, RA, B]
- def ~[X, Y, AA >: A, RA](other: ReductionRule3[X, Y, AA, RA]): ReductionRule3[X, Y, Z, RA]
- def ~[AA >: A](other: PopRule1[AA]): PopRule1[Z]
- def ~[Y, AA >: A](other: PopRule2[Y, AA]): PopRule2[Y, Z]
- def ~[X, Y, AA >: A](other: PopRule3[X, Y, AA]): PopRule3[X, Y, Z]
- def ~(other: Rule0): ReductionRule1.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): ReductionRule1.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): ReductionRule1.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): ReductionRule1.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): ReductionRule1.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): PopRule1[Z]
- def ~~%[Y](f: (Y, A) => Unit): PopRule2[Y, Z]
- def ~~%[X, Y](f: (X, Y, A) => Unit): PopRule3[X, Y, Z]
- def ~~>[RA](f: (A) => RA): ReductionRule1[Z, RA]
- def ~~>[Y, RA](f: (Y, A) => RA): ReductionRule2[Y, Z, RA]
- def ~~>[X, Y, RA](f: (X, Y, A) => RA): ReductionRule3[X, Y, Z, RA]
- def ~~?(f: (A) => Boolean): PopRule1[Z]
- def ~~?[Y](f: (Y, A) => Boolean): PopRule2[Y, Z]
- def ~~?[X, Y](f: (X, Y, A) => Boolean): PopRule3[X, Y, Z]
- def ~~~%(f: (A) => Unit): ReductionRule1[Z, A]
- def ~~~?(f: (A) => Boolean): ReductionRule1[Z, A]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)