class Rule2[+A, +B] extends PushRule
A rule pushing two new values of given types onto the parsers value stack.
- Alphabetic
- By Inheritance
- Rule2
- PushRule
- Rule
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Rule2(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): Rule2.this.type
- Definition Classes
- Rule
- val matcher: Matcher
-
def
memoMismatches: Rule2.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: Rule2.this.type
- Definition Classes
- Rule
-
def
suppressNode: Rule2.this.type
- Definition Classes
- Rule
-
def
suppressSubnodes: Rule2.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): Rule2.this.type
- def |[AA >: A, BB >: B](other: Rule2[AA, BB]): Rule2[AA, BB]
- def ~[C, D, E, F, G](other: Rule5[C, D, E, F, G]): Rule7[A, B, C, D, E, F, G]
- def ~[C, D, E, F](other: Rule4[C, D, E, F]): Rule6[A, B, C, D, E, F]
- def ~[C, D, E](other: Rule3[C, D, E]): Rule5[A, B, C, D, E]
- def ~[C, D](other: Rule2[C, D]): Rule4[A, B, C, D]
- def ~[C](other: Rule1[C]): Rule3[A, B, C]
- def ~[BB >: B, R](other: ReductionRule1[BB, R]): Rule2[A, R]
- def ~[AA >: A, BB >: B, R](other: ReductionRule2[AA, BB, R]): Rule1[R]
- def ~[X, AA >: A, BB >: B, R](other: ReductionRule3[X, AA, BB, R]): ReductionRule1[X, R]
- def ~[BB >: B](other: PopRule1[BB]): Rule1[A]
- def ~[AA >: A, BB >: B](other: PopRule2[AA, BB]): Rule0
- def ~[Z, AA >: A, BB >: B](other: PopRule3[Z, AA, BB]): PopRule1[Z]
-
def
~(other: Rule0): Rule2.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): Rule2.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): Rule2.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): Rule3[A, B, R]
-
def
~:?(f: (Char) ⇒ Boolean): Rule2.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): Rule3[A, B, R]
- def ~>>[R](f: (IndexRange) ⇒ R): Rule3[A, B, R]
-
def
~?(f: (String) ⇒ Boolean): Rule2.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, B) ⇒ Unit): PopRule3[X, Y, Z]
- def ~~%[Y, Z](f: (Y, Z, A, B) ⇒ Unit): PopRule2[Y, Z]
- def ~~%[Z](f: (Z, A, B) ⇒ Unit): PopRule1[Z]
- def ~~%(f: (A, B) ⇒ Unit): Rule0
- def ~~%(f: (B) ⇒ Unit): Rule1[A]
- def ~~>[X, Y, Z, R](f: (X, Y, Z, A, B) ⇒ R): ReductionRule3[X, Y, Z, R]
- def ~~>[Y, Z, R](f: (Y, Z, A, B) ⇒ R): ReductionRule2[Y, Z, R]
- def ~~>[Z, R](f: (Z, A, B) ⇒ R): ReductionRule1[Z, R]
- def ~~>[R](f: (A, B) ⇒ R): Rule1[R]
- def ~~>[R](f: (B) ⇒ R): Rule2[A, R]
- def ~~?[X, Y, Z](f: (X, Y, Z, A, B) ⇒ Boolean): PopRule3[X, Y, Z]
- def ~~?[Y, Z](f: (Y, Z, A, B) ⇒ Boolean): PopRule2[Y, Z]
- def ~~?[Z](f: (Z, A, B) ⇒ Boolean): PopRule1[Z]
- def ~~?(f: (A, B) ⇒ Boolean): Rule0
- def ~~?(f: (B) ⇒ Boolean): Rule1[A]
- def ~~~%(f: (A, B) ⇒ Unit): Rule2[A, B]
- def ~~~%(f: (B) ⇒ Unit): Rule2[A, B]
- def ~~~>[R](f: (A, B) ⇒ R): Rule3[A, B, R]
- def ~~~>[R](f: (B) ⇒ R): Rule3[A, B, R]
- def ~~~?(f: (A, B) ⇒ Boolean): Rule2[A, B]
- def ~~~?(f: (B) ⇒ Boolean): Rule2[A, B]