Scalax
|
|
scalax/rules/Parsers.scala
]
trait
Parsers[T]
extends
RulesWithStateType Summary | |
type
|
Parser |
abstract type
|
X |
Values and Variables inherited from RulesWithState | |
factory |
Method Summary | |
def
|
choice
[C](seq : C)(implicit view$2 : (C) => scala.Seq[T]) : Rule[S, S, T, X]
|
implicit def
|
elem (t : T) : Rule[S, S, T, X] |
implicit def
|
inElem (t : T) : InRule[S, S, T, X] |
abstract def
|
item
: Rule[T]
Succeeds with the first element of the input unless input is empty.
|
implicit def
|
iterableToChoice [TS <: scala.Iterable[T]](iterable : TS) : Rule[T] |
implicit def
|
iterableToChoiceSeq [TS <: scala.Iterable[T]](iterable : TS) : SeqRule[S, T, X] |
implicit def
|
iteratorToChoice [TS <: scala.Iterator[T]](iterator : TS) : Rule[T] |
implicit def
|
iteratorToChoiceSeq [TS <: scala.Iterator[T]](iterator : TS) : SeqRule[S, T, X] |
def
|
readSeq
[C](seq : C)(implicit view$1 : (C) => scala.Seq[T]) : Rule[S, S, C, X]
|
Methods inherited from StateRules | |
apply, unit, read, get, set, update, nil, none, cond, allOf |
Methods inherited from Rules | |
rule, inRule, seqRule, from, state, success, failure, error, error, oneOf, ruleWithName, expect |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Method Details |
implicit
def
iterableToChoice[TS <: scala.Iterable[T]](iterable : TS) : Rule[T]
implicit
def
iteratorToChoice[TS <: scala.Iterator[T]](iterator : TS) : Rule[T]
Scalax
|
|