|
Scala Library
|
|
class
StandardTokenParsers
extends StdTokenParsers| Type Summary | |
type
|
Tokens
Tokens is the abstract type of the `Token's consumed by the parsers in this component
|
| Value Summary | |
val
|
lexical
: StdLexical
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.
|
| Values and Variables inherited from StdTokenParsers | |
| keywordCache |
| Values and Variables inherited from Parsers | |
| lastNoSuccess |
| Method Summary | |
implicit override def
|
keyword
(chars : java.lang.String) : Parser[java.lang.String]
A parser which matches a single keyword token.
|
| Methods inherited from StdTokenParsers | |
| numericLit, stringLit, ident |
| Methods inherited from Parsers | |
| Parser, OnceParser, commit, elem, elem, accept, accept, accept, acceptIf, acceptMatch, acceptSeq, failure, err, success, log, rep, repsep, rep1, rep1, repN, rep1sep, chainl1, chainl1, chainr1, opt, not, guard, positioned, phrase, mkList |
| 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 |
| Value Details |
val
lexical : StdLexical
| Method Details |
implicit override
def
keyword(chars : java.lang.String) : Parser[java.lang.String]
chars - The character string making up the matched keyword.|
Scala Library
|
|