SeqRule

class SeqRule[S, +A, +X](rule: Rule[S, S, A, X])
class Object
trait Matchable
class Any

Value members

Concrete methods

def *: Rule[S, S, List[A], X]
def */[X2 >: X](sep: => Rule[S, S, Any, X2]): Rule[S, S, List[A], X2]

Repeats this rule zero or more times with a separator (which is discarded)

Repeats this rule zero or more times with a separator (which is discarded)

Source:
SeqRule.scala
def *~-[Out, X2 >: X](end: => Rule[S, Out, Any, X2]): Rule[S, Out, List[A], X2]
def +: Rule[S, S, List[A], X]
def +/[X2 >: X](sep: => Rule[S, S, Any, X2]): Rule[S, S, List[A], X2]

Repeats this rule one or more times with a separator (which is discarded)

Repeats this rule one or more times with a separator (which is discarded)

Source:
SeqRule.scala
def +~-[Out, X2 >: X](end: => Rule[S, Out, Any, X2]): Rule[S, Out, List[A], X2]
def -?: Rule[S, S, Boolean, X]

Creates a rule that always succeeds with a Boolean value. Value is 'true' if this rule succeeds, 'false' otherwise

Creates a rule that always succeeds with a Boolean value. Value is 'true' if this rule succeeds, 'false' otherwise

Source:
SeqRule.scala
def ?: Rule[S, S, Option[A], X]
def times(num: Int): Rule[S, S, Seq[A], X]

Repeats this rule num times

Repeats this rule num times

Source:
SeqRule.scala
def ~*~[B >: A, X2 >: X](join: => Rule[S, S, (B, B) => B, X2]): Rule[S, S, B, X2]
def ~>*[B >: A, X2 >: X](f: => Rule[S, S, B => B, X2]): Rule[S, S, B, X2]
def ~>?[B >: A, X2 >: X](f: => Rule[S, S, B => B, X2]): Rule[S, S, B, X2]