Scala Library Documentation
|
|
trait
TokenParsers
extends
ParsersThis is the core component for token-based parsers.
@requires lexical a component providing the tokens consumed by the parsers in this component.
Type Summary | |
type
|
Elem
The input-type for these parsers
|
abstract type
|
Tokens
<: Tokens
Tokens is the abstract type of the `Token's consumed by the parsers in this component
|
Value Summary | |
abstract val
|
lexical
: Tokens
lexical is the component responsible for consuming some basic kind of
input (usually character-based) and turning it into the tokens
understood by these parsers.
|
Method Summary | |
def
|
phrase
[t](p : Parser[t]) : Parser[t]
A parser generator delimiting whole phrases (i.e. programs).
|
Methods inherited from Parsers | |
commit, commit, not, elem, elem, accept, accept, accept, failure, fail, success, success, discard, log, log, rep, rep, repsep, rep1, rep1, repN, rep1, repN, rep1sep, rep1sep, chainl1, chainl1, chainr1, opt, opt, positioned, positioned |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Scala Library Documentation
|
|