fr.umlv.tatoo.cc.parser.table
Class AbstractConflictDiagnosticReporter

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.log.AbstractDiagnosticReporter<AbstractConflictDiagnosticReporter.WarningKey>
      extended by fr.umlv.tatoo.cc.parser.table.AbstractConflictDiagnosticReporter
All Implemented Interfaces:
DiagnosticReporter
Direct Known Subclasses:
LogInfoConflictDiagnosticReporter

public abstract class AbstractConflictDiagnosticReporter
extends AbstractDiagnosticReporter<AbstractConflictDiagnosticReporter.WarningKey>


Nested Class Summary
static class AbstractConflictDiagnosticReporter.ErrorKey
           
static class AbstractConflictDiagnosticReporter.InfoKey
           
static class AbstractConflictDiagnosticReporter.WarningKey
           
 
Nested classes/interfaces inherited from interface fr.umlv.tatoo.cc.common.log.DiagnosticReporter
DiagnosticReporter.Key, DiagnosticReporter.Level
 
Constructor Summary
protected AbstractConflictDiagnosticReporter(UserDefinedLevelMap<AbstractConflictDiagnosticReporter.WarningKey> userDefinedLevelMap)
           
 
Method Summary
protected abstract  void branchConflict(DiagnosticReporter.Key key, NodeDecl<?> node, Set<? extends ActionEntry<?>> actions, TerminalDecl eof)
           
 void conflict(DiagnosticReporter.Key key, NodeDecl<?> node, TerminalDecl terminal, Set<? extends ActionEntry<?>> actions, TerminalDecl eof)
           
protected  ResourceBundle getBundle()
           
protected abstract  void terminalConflict(DiagnosticReporter.Key key, NodeDecl<?> node, TerminalDecl terminal, Set<? extends ActionEntry<?>> actions, TerminalDecl eof)
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.log.AbstractDiagnosticReporter
formatMessage, getLevel, isOnError, setOnError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConflictDiagnosticReporter

protected AbstractConflictDiagnosticReporter(UserDefinedLevelMap<AbstractConflictDiagnosticReporter.WarningKey> userDefinedLevelMap)
Method Detail

conflict

public void conflict(DiagnosticReporter.Key key,
                     NodeDecl<?> node,
                     TerminalDecl terminal,
                     Set<? extends ActionEntry<?>> actions,
                     TerminalDecl eof)

terminalConflict

protected abstract void terminalConflict(DiagnosticReporter.Key key,
                                         NodeDecl<?> node,
                                         TerminalDecl terminal,
                                         Set<? extends ActionEntry<?>> actions,
                                         TerminalDecl eof)

branchConflict

protected abstract void branchConflict(DiagnosticReporter.Key key,
                                       NodeDecl<?> node,
                                       Set<? extends ActionEntry<?>> actions,
                                       TerminalDecl eof)

getBundle

protected ResourceBundle getBundle()
Specified by:
getBundle in class AbstractDiagnosticReporter<AbstractConflictDiagnosticReporter.WarningKey>