Modifier and Type | Field and Description |
---|---|
static Parser<String> |
PARSER
Parser that recognizes identifier tokens. |
static Parser<Tokens.Fragment> |
TOKENIZER
A tokenizer that parses any identifier and returns a
Tokens.Fragment token tagged as
Tokens.Tag.IDENTIFIER . |
public static final Parser<String> PARSER
Parser
that recognizes identifier tokens.
i.e. Tokens.Fragment
tokens tagged as Tokens.Tag.IDENTIFIER
.
Tokens.Fragment.text()
is returned as parser result.public static final Parser<Tokens.Fragment> TOKENIZER
Tokens.Fragment
token tagged as
Tokens.Tag.IDENTIFIER
.
An identifier starts with an alphabetic character or underscore, and is followed by 0 or more alphanumeric characters or underscore.
Copyright © 2013–2016 jparsec. All rights reserved.