org.apache.directory.shared.converter.schema
Class antlrSchemaParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by org.apache.directory.shared.converter.schema.antlrSchemaParser
All Implemented Interfaces:
antlrSchemaTokenTypes

public class antlrSchemaParser
extends antlr.LLkParser
implements antlrSchemaTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.apache.directory.shared.converter.schema.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
  antlrSchemaParser(antlr.ParserSharedInputState state)
           
  antlrSchemaParser(antlr.TokenBuffer tokenBuf)
           
protected antlrSchemaParser(antlr.TokenBuffer tokenBuf, int k)
           
  antlrSchemaParser(antlr.TokenStream lexer)
           
protected antlrSchemaParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void attributeType()
           
 void clear()
           
 void desc(AttributeTypeHolder type)
           
 void equality(AttributeTypeHolder type)
           
 java.util.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)
           
 java.lang.String woid()
           
 java.util.List<java.lang.String> woidlist()
           
 
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

_tokenNames

public static final java.lang.String[] _tokenNames
Constructor Detail

antlrSchemaParser

protected antlrSchemaParser(antlr.TokenBuffer tokenBuf,
                            int k)

antlrSchemaParser

public antlrSchemaParser(antlr.TokenBuffer tokenBuf)

antlrSchemaParser

protected antlrSchemaParser(antlr.TokenStream lexer,
                            int k)

antlrSchemaParser

public antlrSchemaParser(antlr.TokenStream lexer)

antlrSchemaParser

public antlrSchemaParser(antlr.ParserSharedInputState state)
Method Detail

clear

public void clear()

getSchemaElements

public java.util.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 java.util.List<java.lang.String> woidlist()
                                                throws antlr.RecognitionException,
                                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

woid

public final java.lang.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

desc

public final void desc(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


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.