|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.umlv.tatoo.cc.ebnf.EBNFParserTableBuilder
public class EBNFParserTableBuilder
| Constructor Summary | |
|---|---|
EBNFParserTableBuilder(GrammarFactory grammarFactory,
EBNFSupport ebnfSupport,
boolean isFatalError)
|
|
| 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. |
boolean |
isFatalError()
True if the parser table builder is not complete. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EBNFParserTableBuilder(GrammarFactory grammarFactory,
EBNFSupport ebnfSupport,
boolean isFatalError)
| 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 GrammarRepository getGrammarItemsRepository()
ParserTableBuilder
getGrammarItemsRepository in interface ParserTableBuilderpublic EBNFSupport getEBNFSupport()
ParserTableBuilder
getEBNFSupport in interface ParserTableBuilderpublic boolean isFatalError()
ParserTableBuilder
isFatalError in interface ParserTableBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||