Class antlrSchemaConverterParser
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- org.apache.directory.api.ldap.schema.converter.antlrSchemaConverterParser
-
- All Implemented Interfaces:
antlrSchemaTokenTypes
public class antlrSchemaConverterParser extends antlr.LLkParser implements antlrSchemaTokenTypes
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
_tokenNames
-
Fields inherited from interface org.apache.directory.api.ldap.schema.converter.antlrSchemaTokenTypes
CLOSE_BRACKET, CLOSE_PAREN, DESC, DIGIT, DOLLAR, EOF, IDENTIFIER, LITERAL_ABSTRACT, LITERAL_attributetype, LITERAL_AUXILIARY, LITERAL_COLLECTIVE, LITERAL_directoryOperation, LITERAL_distributedOperation, LITERAL_dSAOperation, LITERAL_END, LITERAL_EQUALITY, LITERAL_MAY, LITERAL_MUST, LITERAL_NAME, LITERAL_objectclass, LITERAL_OBSOLETE, LITERAL_ORDERING, LITERAL_STRUCTURAL, LITERAL_SUBSTR, LITERAL_SUP, LITERAL_USAGE, LITERAL_userApplications, NULL_TREE_LOOKAHEAD, NUMERIC_STRING, NUMERICOID, OPEN_BRACKET, OPEN_PAREN, QUOTE, SYNTAX, WS
-
-
Constructor Summary
Constructors Constructor Description antlrSchemaConverterParser(antlr.ParserSharedInputState state)
antlrSchemaConverterParser(antlr.TokenBuffer tokenBuf)
antlrSchemaConverterParser(antlr.TokenStream lexer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attributeType()
void
attributeTypeDesc(AttributeTypeHolder type)
void
clear()
void
equality(AttributeTypeHolder type)
List<SchemaElement>
getSchemaElements()
void
may(ObjectClassHolder objectClass)
void
must(ObjectClassHolder objectClass)
void
names(AttributeTypeHolder type)
void
objectClass()
void
objectClassDesc(ObjectClassHolder objectClass)
void
objectClassNames(ObjectClassHolder objectClass)
void
objectClassSuperiors(ObjectClassHolder objectClass)
void
ordering(AttributeTypeHolder type)
void
parseSchema()
void
substr(AttributeTypeHolder type)
void
superior(AttributeTypeHolder type)
void
syntax(AttributeTypeHolder type)
void
usage(AttributeTypeHolder type)
String
woid()
List<String>
woidlist()
-
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, 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
-
-
-
-
Field Detail
-
_tokenNames
public static final String[] _tokenNames
-
-
Constructor Detail
-
antlrSchemaConverterParser
public antlrSchemaConverterParser(antlr.TokenBuffer tokenBuf)
-
antlrSchemaConverterParser
public antlrSchemaConverterParser(antlr.TokenStream lexer)
-
antlrSchemaConverterParser
public antlrSchemaConverterParser(antlr.ParserSharedInputState state)
-
-
Method Detail
-
clear
public void clear()
-
getSchemaElements
public List<SchemaElement> getSchemaElements()
-
parseSchema
public final void parseSchema() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
attributeType
public final void attributeType() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
objectClass
public final void objectClass() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
objectClassNames
public final void objectClassNames(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
objectClassDesc
public final void objectClassDesc(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
objectClassSuperiors
public final void objectClassSuperiors(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
must
public final void must(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
may
public final void may(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
woidlist
public final List<String> woidlist() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
woid
public final String woid() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
names
public final void names(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
attributeTypeDesc
public final void attributeTypeDesc(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
superior
public final void superior(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
equality
public final void equality(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
ordering
public final void ordering(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
substr
public final void substr(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
syntax
public final void syntax(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
usage
public final void usage(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
-