scala.util.parsing.combinator.Parsers

trait OnceParser

[source: scala/util/parsing/combinator/Parsers.scala]

trait OnceParser[+T]
extends Parser[T]
A parser whose ~ combinator disallows back-tracking.
Method Summary
override def ~ [U](q : => Parser[U]) : Parser[~[T, U]]
A parser combinator for sequential composition

`p ~ q' succeeds if `p' succeeds and `q' succeeds on the input left over by `p'.

override def ~ [Q](q : => Q)(implicit view$18 : (Q) => UnitParser) : Parser[T]
A parser combinator for sequential composition with a unit-parser

`p ~ q' succeeds if `p' succeeds and `q' succeeds on the input left over by `p'.

Methods inherited from Parser
apply (abstract), ~!, ~!, |, ^^, ^?, ^?, into, >>, *, *, *, +, ?
Methods inherited from Function1
toString, compose, andThen
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf