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 class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
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 Modifier Constructor Description antlrSchemaConverterParser(antlr.ParserSharedInputState state)antlrSchemaConverterParser(antlr.TokenBuffer tokenBuf)protectedantlrSchemaConverterParser(antlr.TokenBuffer tokenBuf, int k)antlrSchemaConverterParser(antlr.TokenStream lexer)protectedantlrSchemaConverterParser(antlr.TokenStream lexer, int k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattributeType()voidattributeTypeDesc(AttributeTypeHolder type)voidclear()voidequality(AttributeTypeHolder type)List<SchemaElement>getSchemaElements()voidmay(ObjectClassHolder objectClass)voidmust(ObjectClassHolder objectClass)voidnames(AttributeTypeHolder type)voidobjectClass()voidobjectClassDesc(ObjectClassHolder objectClass)voidobjectClassNames(ObjectClassHolder objectClass)voidobjectClassSuperiors(ObjectClassHolder objectClass)voidordering(AttributeTypeHolder type)voidparseSchema()voidsubstr(AttributeTypeHolder type)voidsuperior(AttributeTypeHolder type)voidsyntax(AttributeTypeHolder type)voidusage(AttributeTypeHolder type)Stringwoid()List<String>woidlist()-
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
-
-
-
-
Field Detail
-
_tokenNames
public static final String[] _tokenNames
-
-
Constructor Detail
-
antlrSchemaConverterParser
protected antlrSchemaConverterParser(antlr.TokenBuffer tokenBuf, int k)
-
antlrSchemaConverterParser
public antlrSchemaConverterParser(antlr.TokenBuffer tokenBuf)
-
antlrSchemaConverterParser
protected antlrSchemaConverterParser(antlr.TokenStream lexer, int k)
-
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.RecognitionExceptionantlr.TokenStreamException
-
attributeType
public final void attributeType() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
objectClass
public final void objectClass() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
objectClassNames
public final void objectClassNames(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
objectClassDesc
public final void objectClassDesc(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
objectClassSuperiors
public final void objectClassSuperiors(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
must
public final void must(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
may
public final void may(ObjectClassHolder objectClass) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
woidlist
public final List<String> woidlist() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
woid
public final String woid() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
names
public final void names(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
attributeTypeDesc
public final void attributeTypeDesc(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
superior
public final void superior(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
equality
public final void equality(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
ordering
public final void ordering(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
substr
public final void substr(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
syntax
public final void syntax(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
usage
public final void usage(AttributeTypeHolder type) throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
-