net.liftweb.util.SafeSeqParser

trait SafeSeqParser

trait SafeSeqParser

 extends Parsers




Source: CombParserHelpers.scala(151)

Direct Known Subclasses

JSONParser,

 Fields

lastNoSuccess var lastNoSuccess NoSuccess Parsers

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
OnceParser def OnceParser[T](arg0 : (Reader) => ParseResult[T]) Parser[T] with OnceParser[T] Parsers
Parser def Parser[T](arg0 : (Reader) => ParseResult[T]) Parser[T] Parsers
accept implicit def accept(arg0 : Elem) Parser[Elem] Parsers
accept def accept[U](arg0 : String, arg1 : PartialFunction[Elem, U]) Parser[U] Parsers
accept def accept[ES](arg0 : ES) Parser[List[Elem]] Parsers
acceptIf def acceptIf(arg0 : (Elem) => Boolean) Parser[Elem] Parsers
acceptMatch def acceptMatch[U](arg0 : String, arg1 : PartialFunction[Elem, U]) Parser[U] Parsers
acceptSeq def acceptSeq[ES](arg0 : ES) Parser[List[Elem]] Parsers
asInstanceOf final def asInstanceOf[T0] T0 Any
chainl1 def chainl1[T](arg0 : => Parser[T], arg1 : => Parser[(T, T) => T]) Parser[T] Parsers
chainl1 def chainl1[T, U](arg0 : => Parser[T], arg1 : => Parser[U], arg2 : => Parser[(T, U) => T]) Parser[T] Parsers
chainr1 def chainr1[T, U](arg0 : => Parser[T], arg1 : => Parser[(T, U) => U], arg2 : (T, U) => U, arg3 : U) Parser[U] Parsers
clone protected def clone Object AnyRef
commit def commit[T](arg0 : => Parser[T]) Parser[T] Parsers
elem def elem(arg0 : String, arg1 : (Elem) => Boolean) Parser[Elem] Parsers
elem def elem(arg0 : Elem) Parser[Elem] Parsers
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
err def err(arg0 : String) Parser[Nothing] Parsers
failure def failure(arg0 : String) Parser[Nothing] Parsers
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Any] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
log def log[T](arg0 : => Parser[T]) Parser[T] Parsers
mkList def mkList[T] (~[T, List[T]]) => List[T] Parsers
ne final def ne(arg0 : Object) Boolean AnyRef
not def not[T](arg0 : => Parser[T]) Parser[Unit] Parsers
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
opt def opt[T](arg0 : => Parser[T]) Parser[Option[T]] Parsers
phrase def phrase[T](arg0 : Parser[T]) Parser[T] Parsers
positioned def positioned[T <: Positional](arg0 : => Parser[T]) Parser[T] Parsers
rep def rep[T](arg0 : => Parser[T]) Parser[List[T]] Parsers
rep1 def rep1[T](arg0 : => Parser[T]) Parser[List[T]] Parsers
rep1 override def rep1[T](first : => Parser[T], p : => Parser[T])
A parser generator for non-empty repetitions [details]

rep1(f, p) first uses `f' (which must succeed) and then repeatedly uses `p' to parse the input until `p' fails (the result is a `List' of the consecutive results of `f' and `p')

param
p - a `Parser' that is to be applied successively to the rest of the input (if any)
first - a `Parser' that parses the first piece of input
return
- A parser that returns a list of results produced by first applying `f' and then repeatedly `p' to the input (it only succeeds if `f' matches).
Parser[List[T]]
rep1sep override def rep1sep[T](p : => Parser[T], q : => Parser[Any])
A parser generator for non-empty repetitions [details]

rep1sep(first, p, q) starts by using `first', followed by repeatedly uses of `p' interleaved with `q' to parse the input, until `p' fails. `first' must succeed (the result is a `List' of the consecutive results of `first' and `p')

param
p - a `Parser' that is to be applied successively to the input
q - a `Parser' that parses the elements that separate the elements parsed by `p' (interleaved with `q')
first - a `Parser' that is to be applied to the first element of input
return
- A parser that returns a list of results produced by repeatedly applying `p' to the input (and that only succeeds if `p' matches at least once). The results of `p' are collected in a list. The results of `q' are discarded.
Parser[List[T]]
repN def repN[T](arg0 : Int, arg1 : => Parser[T]) Parser[List[T]] Parsers
repsep def repsep[T](arg0 : => Parser[T], arg1 : => Parser[Any]) Parser[List[T]] Parsers
success def success[T](arg0 : T) Parser[T] Parsers
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2007-2009 Lift Team. All Rights Reserved.