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