|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectantlr.Parser
antlr.LLkParser
org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaValueParser
public class AntlrSchemaValueParser
An antlr generated schema parser. This is a sub-parser used to parse numericoid, oid, oids, qdescr, qdescrs according to RFC4512.
| Field Summary | |
|---|---|
static String[] |
_tokenNames
|
static antlr.collections.impl.BitSet |
_tokenSet_0
|
static antlr.collections.impl.BitSet |
_tokenSet_1
|
static antlr.collections.impl.BitSet |
_tokenSet_2
|
static antlr.collections.impl.BitSet |
_tokenSet_3
|
static antlr.collections.impl.BitSet |
_tokenSet_4
|
static antlr.collections.impl.BitSet |
_tokenSet_5
|
static antlr.collections.impl.BitSet |
_tokenSet_6
|
static antlr.collections.impl.BitSet |
_tokenSet_7
|
static antlr.collections.impl.BitSet |
_tokenSet_8
|
| Fields inherited from class antlr.Parser |
|---|
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
| Fields inherited from interface org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaValueTokenTypes |
|---|
CHAR, DESCR, DESCR_OR_QUIRKS_DESCR, DIGIT, DOLLAR, EOF, HYPEN, LCURLY, LDIGIT, LEN, LPAR, NULL_TREE_LOOKAHEAD, NUMBER, NUMBER2, NUMERICOID, OTHER, QUIRKS_DESCR, QUOTE, RCURLY, RPAR, WHSP |
| Constructor Summary | |
|---|---|
|
AntlrSchemaValueParser(antlr.ParserSharedInputState state)
|
|
AntlrSchemaValueParser(antlr.TokenBuffer tokenBuf)
|
protected |
AntlrSchemaValueParser(antlr.TokenBuffer tokenBuf,
int k)
|
|
AntlrSchemaValueParser(antlr.TokenStream lexer)
|
protected |
AntlrSchemaValueParser(antlr.TokenStream lexer,
int k)
|
| Method Summary | |
|---|---|
org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen |
noidlen()
noidlen = numericoid [ LCURLY len RCURLY ] len = number |
String |
numericoid()
numericoid = number 1*( DOT number ) |
String |
oid()
oid = descr / numericoid numericoid = number 1*( DOT number ) descr = keystring keystring = leadkeychar *keychar leadkeychar = ALPHA keychar = ALPHA / DIGIT / HYPHEN number = DIGIT / ( LDIGIT 1*DIGIT ) |
List<String> |
oids()
oids = oid / ( LPAREN WSP oidlist WSP RPAREN ) oidlist = oid *( WSP DOLLAR WSP oid ) |
String |
qdescr()
qdescr = SQUOTE descr SQUOTE |
List<String> |
qdescrs()
qdescrs = qdescr / ( LPAREN WSP qdescrlist WSP RPAREN ) qdescrlist = [ qdescr *( SP qdescr ) ] |
org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen |
quirksNoidlen()
noidlen = numericoid [ LCURLY len RCURLY ] len = number |
String |
quirksQdescr()
qdescr = SQUOTE descr SQUOTE |
List<String> |
quirksQdescrs()
qdescrs = qdescr / ( LPAREN WSP qdescrlist WSP RPAREN ) qdescrlist = [ qdescr *( SP qdescr ) ] |
Integer |
ruleid()
ruleid = number number = DIGIT / ( LDIGIT 1*DIGIT ) |
List<Integer> |
ruleids()
ruleids = ruleid / ( LPAREN WSP ruleidlist WSP RPAREN ) ruleidlist = ruleid *( SP ruleid ) |
void |
setParserMonitor(ParserMonitor monitor)
|
| Methods inherited from class antlr.LLkParser |
|---|
consume, LA, LT, traceIn, traceOut |
| Methods inherited from class antlr.Parser |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
| Constructor Detail |
|---|
protected AntlrSchemaValueParser(antlr.TokenBuffer tokenBuf,
int k)
public AntlrSchemaValueParser(antlr.TokenBuffer tokenBuf)
protected AntlrSchemaValueParser(antlr.TokenStream lexer,
int k)
public AntlrSchemaValueParser(antlr.TokenStream lexer)
public AntlrSchemaValueParser(antlr.ParserSharedInputState state)
| Method Detail |
|---|
public void setParserMonitor(ParserMonitor monitor)
public final org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen noidlen()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen quirksNoidlen()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String numericoid()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String oid()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> oids()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String qdescr()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> qdescrs()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String quirksQdescr()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> quirksQdescrs()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Integer ruleid()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<Integer> ruleids()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||