|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.umlv.tatoo.cc.common.xml.XMLDigester
fr.umlv.tatoo.cc.common.xml.AbstractXMLDigester
fr.umlv.tatoo.cc.parser.xml.ParserXMLDigester
public class ParserXMLDigester
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.umlv.tatoo.cc.common.xml.AbstractXMLDigester |
|---|
AbstractXMLDigester.DefaultSAXlet, AbstractXMLDigester.SAXlet |
| Constructor Summary | |
|---|---|
ParserXMLDigester(GrammarFactory factory)
|
|
| Method Summary | |
|---|---|
ParserTableDecl |
createParserTableDecl(ActionDeclFactory actionFactory,
TableFactoryMethod<?> method,
ConflictResolverPolicy conflictResolver,
AbstractConflictDiagnosticReporter reporter,
File log)
Creates a parser table. |
EBNFSupport |
getEBNFSupport()
Returns the EBNF support. |
GrammarRepository |
getGrammarItemsRepository()
Return the grammar factory. |
String |
getRootElementName()
Retruns the name of the root element of the XML file. |
protected AbstractXMLDigester.SAXlet[] |
getSAXLets()
Retruns the saxlets registered by the digester. |
Unit |
getUnit()
Retruns the corresponding unit type. |
boolean |
isFatalError()
True if the parser table builder is not complete. |
| Methods inherited from class fr.umlv.tatoo.cc.common.xml.AbstractXMLDigester |
|---|
handler, isSaxletsRegistered, registerSaxlets, unregisterSaxlets |
| Methods inherited from class fr.umlv.tatoo.cc.common.xml.XMLDigester |
|---|
computeId, computeId, computeId, computeId, convert, convert, getLocator, parse, parse, reportError, reportError, setLocator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParserXMLDigester(GrammarFactory factory)
| Method Detail |
|---|
public ParserTableDecl createParserTableDecl(ActionDeclFactory actionFactory,
TableFactoryMethod<?> method,
ConflictResolverPolicy conflictResolver,
AbstractConflictDiagnosticReporter reporter,
File log)
ParserTableBuilder
createParserTableDecl in interface ParserTableBuilderactionFactory - a factory that numbering actions by type (shift, reduce etc.)method - the method used to create the table SLR, LR, LALR.conflictResolver - the conflict resolver.reporter - the conflict reporter used to report conflictslog - the log file or null.
public boolean isFatalError()
ParserTableBuilder
isFatalError in interface ParserTableBuilderpublic EBNFSupport getEBNFSupport()
ParserTableBuilder
getEBNFSupport in interface ParserTableBuilderpublic GrammarRepository getGrammarItemsRepository()
ParserTableBuilder
getGrammarItemsRepository in interface ParserTableBuilderpublic String getRootElementName()
AbstractXMLDigester
getRootElementName in class AbstractXMLDigesterpublic Unit getUnit()
AbstractXMLDigester
getUnit in class AbstractXMLDigesterprotected AbstractXMLDigester.SAXlet[] getSAXLets()
AbstractXMLDigester
getSAXLets in class AbstractXMLDigester
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||