public class AntlrSchemaQdstringParser extends antlr.LLkParser implements AntlrSchemaQdstringTokenTypes
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
EOF, LPAR, NULL_TREE_LOOKAHEAD, QDSTRING, QUOTE, RPAR, WHSP
Modifier | Constructor and Description |
---|---|
|
AntlrSchemaQdstringParser(antlr.ParserSharedInputState state) |
|
AntlrSchemaQdstringParser(antlr.TokenBuffer tokenBuf) |
protected |
AntlrSchemaQdstringParser(antlr.TokenBuffer tokenBuf,
int k) |
|
AntlrSchemaQdstringParser(antlr.TokenStream lexer) |
protected |
AntlrSchemaQdstringParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
String |
qdstring()
qdstring = SQUOTE dstring SQUOTE
dstring = 1*( QS / QQ / QUTF8 ) ; escaped UTF-8 string
QQ = ESC %x32 %x37 ; "\27"
QS = ESC %x35 ( %x43 / %x63 ) ; "\5C" / "\5c"
; Any UTF-8 encoded Unicode character
; except %x27 ("\'") and %x5C ("\")
QUTF8 = QUTF1 / UTFMB
; Any ASCII character except %x27 ("\'") and %x5C ("\")
QUTF1 = %x00-26 / %x28-5B / %x5D-7F
|
List<String> |
qdstrings()
qdstrings = qdstring / ( LPAREN WSP qdstringlist WSP RPAREN )
qdstringlist = [ qdstring *( SP qdstring ) ]
|
void |
setParserMonitor(ParserMonitor monitor) |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public static final String[] _tokenNames
protected AntlrSchemaQdstringParser(antlr.TokenBuffer tokenBuf, int k)
public AntlrSchemaQdstringParser(antlr.TokenBuffer tokenBuf)
protected AntlrSchemaQdstringParser(antlr.TokenStream lexer, int k)
public AntlrSchemaQdstringParser(antlr.TokenStream lexer)
public AntlrSchemaQdstringParser(antlr.ParserSharedInputState state)
public void setParserMonitor(ParserMonitor monitor)
public final List<String> qdstrings() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String qdstring() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.