|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.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 ParserTableBuilder
actionFactory
- 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 ParserTableBuilder
public EBNFSupport getEBNFSupport()
ParserTableBuilder
getEBNFSupport
in interface ParserTableBuilder
public boolean isFatalError()
ParserTableBuilder
isFatalError
in interface ParserTableBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |