fr.umlv.tatoo.cc.ebnf.ast.analysis
Class AbstractASTDiagnosticReporter

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.log.DiagnosticReporter
      extended by fr.umlv.tatoo.cc.ebnf.ast.analysis.AbstractASTDiagnosticReporter
All Implemented Interfaces:
ASTDiagnosticReporter
Direct Known Subclasses:
LogInfoASTDiagnosticReporter

public abstract class AbstractASTDiagnosticReporter
extends DiagnosticReporter
implements ASTDiagnosticReporter


Nested Class Summary
 
Nested classes/interfaces inherited from class fr.umlv.tatoo.cc.common.log.DiagnosticReporter
DiagnosticReporter.Key, DiagnosticReporter.Level
 
Nested classes/interfaces inherited from interface fr.umlv.tatoo.cc.ebnf.ast.analysis.ASTDiagnosticReporter
ASTDiagnosticReporter.ErrorKey, ASTDiagnosticReporter.WarningKey
 
Constructor Summary
protected AbstractASTDiagnosticReporter(UserDefinedLevelMap userDefinedLevelMap)
           
 
Method Summary
protected  ResourceBundle getBundle()
           
protected abstract  void report(DiagnosticReporter.Key key, Node node, Object... data)
           
 void signal(DiagnosticReporter.Key key, Node node, Object... data)
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.log.DiagnosticReporter
formatMessage, getLevel, isOnError, setErrorIfNedded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.umlv.tatoo.cc.ebnf.ast.analysis.ASTDiagnosticReporter
isOnError
 

Constructor Detail

AbstractASTDiagnosticReporter

protected AbstractASTDiagnosticReporter(UserDefinedLevelMap userDefinedLevelMap)
Method Detail

signal

public void signal(DiagnosticReporter.Key key,
                   Node node,
                   Object... data)
Specified by:
signal in interface ASTDiagnosticReporter

report

protected abstract void report(DiagnosticReporter.Key key,
                               Node node,
                               Object... data)

getBundle

protected ResourceBundle getBundle()
Specified by:
getBundle in class DiagnosticReporter