|
Scala Library
|
|
trait
StdTokenParsers
extends TokenParsers with AnyRef| Type Summary | |
abstract type
|
Tokens
<: StdTokens
Tokens is the abstract type of the `Token's consumed by the parsers in this component
|
| Values and Variables inherited from Parsers | |
| lastNoSuccess |
| Values and Variables inherited from TokenParsers | |
| lexical (abstract) |
| Method Summary | |
def
|
ident
: Parser[java.lang.String]
A parser which matches an identifier
|
implicit def
|
keyword
(chars : java.lang.String) : Parser[java.lang.String]
A parser which matches a single keyword token.
|
def
|
numericLit
: Parser[java.lang.String]
A parser which matches a numeric literal
|
def
|
stringLit
: Parser[java.lang.String]
A parser which matches a string literal
|
| 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, 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 |
abstract
type
Tokens <: StdTokens
| Method Details |
implicit
def
keyword(chars : java.lang.String) : Parser[java.lang.String]
chars - The character string making up the matched keyword.
def
numericLit : Parser[java.lang.String]
def
stringLit : Parser[java.lang.String]
def
ident : Parser[java.lang.String]
|
Scala Library
|
|