C# 클래스 Antlr3.Tool.ErrorManager

파일 보기 프로젝트 열기: antlr/antlrcs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ErrorsForcingNoAnalysis Antlr3.Misc.BitSet
ErrorsForcingNoCodegen Antlr3.Misc.BitSet
emitSingleError ICollection>.IDictionary

공개 메소드들

메소드 설명
AnalysisAborted ( Antlr3.Analysis.DecisionProbe probe ) : void
AssertTrue ( bool condition, String message ) : void
DanglingState ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d ) : void
DoNotAttemptAnalysis ( ) : bool
DoNotAttemptCodeGen ( ) : bool
Error ( int msgID ) : void
Error ( int msgID, Exception e ) : void
Error ( int msgID, Object arg ) : void
Error ( int msgID, Object arg, Exception e ) : void
Error ( int msgID, Object arg, Object arg2 ) : void
FormatWantsSingleLineMessage ( ) : bool
GetErrorListener ( ) : IANTLRErrorListener
GetErrorState ( ) : ErrorState
GetLocationFormat ( ) : Antlr4.StringTemplate.Template
GetMessage ( int msgID ) : Antlr4.StringTemplate.Template
GetMessageFormat ( ) : Antlr4.StringTemplate.Template
GetMessageType ( int msgID ) : String
GetNumErrors ( ) : int
GetReportFormat ( ) : Antlr4.StringTemplate.Template
GetStringTemplateErrorListener ( ) : Antlr4.StringTemplate.ITemplateErrorListener
GetTool ( ) : Antlr3.AntlrTool
GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token ) : void
GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg ) : void
GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg, Object arg2 ) : void
GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token ) : void
GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg ) : void
GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg, Object arg2 ) : void
Info ( String msg ) : void
InsufficientPredicates ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d, IDictionary altToUncoveredLocations ) : void
InternalError ( Object error ) : void
InternalError ( Object error, Exception e ) : void
LeftRecursion ( Antlr3.Analysis.DecisionProbe probe, int alt, System.Collections.ICollection targetRules, System.Collections.ICollection callSiteStates ) : void
LeftRecursionCycles ( System.Collections.ICollection cycles ) : void
NonLLStarDecision ( Antlr3.Analysis.DecisionProbe probe ) : void
Nondeterminism ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d ) : void
Panic ( ) : void
RecursionOverflow ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState sampleBadState, int alt, ICollection targetRules, ICollection callSiteStates ) : void
RemoveErrorListener ( ) : void
ResetErrorState ( ) : void
SetErrorListener ( IANTLRErrorListener listener ) : void
SetFormat ( String formatName ) : void
SetLocale ( System.Globalization.CultureInfo locale ) : void
SetTool ( Antlr3.AntlrTool tool ) : void
SyntaxError ( int msgID, Grammar grammar, Antlr.Runtime.IToken token, Object arg, Antlr.Runtime.RecognitionException re ) : void
UnreachableAlts ( Antlr3.Analysis.DecisionProbe probe, IEnumerable alts ) : void
Warning ( int msgID, Object arg ) : void

비공개 메소드들

메소드 설명
ErrorManager ( ) : System
GetLastNonErrorManagerCodeLocation ( Exception e ) : System.Diagnostics.StackFrame
InitIdToMessageNameMapping ( ) : bool
Initialize ( ) : void
RawError ( String msg ) : void
RawError ( String msg, Exception e ) : void
VerifyFormat ( ) : bool
VerifyMessages ( ) : bool

메소드 상세

AnalysisAborted() 공개 정적인 메소드

public static AnalysisAborted ( Antlr3.Analysis.DecisionProbe probe ) : void
probe Antlr3.Analysis.DecisionProbe
리턴 void

AssertTrue() 공개 정적인 메소드

public static AssertTrue ( bool condition, String message ) : void
condition bool
message String
리턴 void

DanglingState() 공개 정적인 메소드

public static DanglingState ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d ) : void
probe Antlr3.Analysis.DecisionProbe
d Antlr3.Analysis.DFAState
리턴 void

DoNotAttemptAnalysis() 공개 정적인 메소드

public static DoNotAttemptAnalysis ( ) : bool
리턴 bool

DoNotAttemptCodeGen() 공개 정적인 메소드

public static DoNotAttemptCodeGen ( ) : bool
리턴 bool

Error() 공개 정적인 메소드

public static Error ( int msgID ) : void
msgID int
리턴 void

Error() 공개 정적인 메소드

public static Error ( int msgID, Exception e ) : void
msgID int
e System.Exception
리턴 void

Error() 공개 정적인 메소드

public static Error ( int msgID, Object arg ) : void
msgID int
arg Object
리턴 void

Error() 공개 정적인 메소드

public static Error ( int msgID, Object arg, Exception e ) : void
msgID int
arg Object
e System.Exception
리턴 void

Error() 공개 정적인 메소드

public static Error ( int msgID, Object arg, Object arg2 ) : void
msgID int
arg Object
arg2 Object
리턴 void

FormatWantsSingleLineMessage() 공개 정적인 메소드

public static FormatWantsSingleLineMessage ( ) : bool
리턴 bool

GetErrorListener() 공개 정적인 메소드

public static GetErrorListener ( ) : IANTLRErrorListener
리턴 IANTLRErrorListener

GetErrorState() 공개 정적인 메소드

public static GetErrorState ( ) : ErrorState
리턴 ErrorState

GetLocationFormat() 공개 정적인 메소드

public static GetLocationFormat ( ) : Antlr4.StringTemplate.Template
리턴 Antlr4.StringTemplate.Template

GetMessage() 공개 정적인 메소드

public static GetMessage ( int msgID ) : Antlr4.StringTemplate.Template
msgID int
리턴 Antlr4.StringTemplate.Template

GetMessageFormat() 공개 정적인 메소드

public static GetMessageFormat ( ) : Antlr4.StringTemplate.Template
리턴 Antlr4.StringTemplate.Template

GetMessageType() 공개 정적인 메소드

public static GetMessageType ( int msgID ) : String
msgID int
리턴 String

GetNumErrors() 공개 정적인 메소드

public static GetNumErrors ( ) : int
리턴 int

GetReportFormat() 공개 정적인 메소드

public static GetReportFormat ( ) : Antlr4.StringTemplate.Template
리턴 Antlr4.StringTemplate.Template

GetStringTemplateErrorListener() 공개 정적인 메소드

public static GetStringTemplateErrorListener ( ) : Antlr4.StringTemplate.ITemplateErrorListener
리턴 Antlr4.StringTemplate.ITemplateErrorListener

GetTool() 공개 정적인 메소드

public static GetTool ( ) : Antlr3.AntlrTool
리턴 Antlr3.AntlrTool

GrammarError() 공개 정적인 메소드

public static GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
리턴 void

GrammarError() 공개 정적인 메소드

public static GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
arg Object
리턴 void

GrammarError() 공개 정적인 메소드

public static GrammarError ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg, Object arg2 ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
arg Object
arg2 Object
리턴 void

GrammarWarning() 공개 정적인 메소드

public static GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
리턴 void

GrammarWarning() 공개 정적인 메소드

public static GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
arg Object
리턴 void

GrammarWarning() 공개 정적인 메소드

public static GrammarWarning ( int msgID, Grammar g, Antlr.Runtime.IToken token, Object arg, Object arg2 ) : void
msgID int
g Grammar
token Antlr.Runtime.IToken
arg Object
arg2 Object
리턴 void

Info() 공개 정적인 메소드

public static Info ( String msg ) : void
msg String
리턴 void

InsufficientPredicates() 공개 정적인 메소드

public static InsufficientPredicates ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d, IDictionary altToUncoveredLocations ) : void
probe Antlr3.Analysis.DecisionProbe
d Antlr3.Analysis.DFAState
altToUncoveredLocations IDictionary
리턴 void

InternalError() 공개 정적인 메소드

public static InternalError ( Object error ) : void
error Object
리턴 void

InternalError() 공개 정적인 메소드

public static InternalError ( Object error, Exception e ) : void
error Object
e System.Exception
리턴 void

LeftRecursion() 공개 정적인 메소드

public static LeftRecursion ( Antlr3.Analysis.DecisionProbe probe, int alt, System.Collections.ICollection targetRules, System.Collections.ICollection callSiteStates ) : void
probe Antlr3.Analysis.DecisionProbe
alt int
targetRules System.Collections.ICollection
callSiteStates System.Collections.ICollection
리턴 void

LeftRecursionCycles() 공개 정적인 메소드

public static LeftRecursionCycles ( System.Collections.ICollection cycles ) : void
cycles System.Collections.ICollection
리턴 void

NonLLStarDecision() 공개 정적인 메소드

public static NonLLStarDecision ( Antlr3.Analysis.DecisionProbe probe ) : void
probe Antlr3.Analysis.DecisionProbe
리턴 void

Nondeterminism() 공개 정적인 메소드

public static Nondeterminism ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState d ) : void
probe Antlr3.Analysis.DecisionProbe
d Antlr3.Analysis.DFAState
리턴 void

Panic() 공개 정적인 메소드

public static Panic ( ) : void
리턴 void

RecursionOverflow() 공개 정적인 메소드

public static RecursionOverflow ( Antlr3.Analysis.DecisionProbe probe, Antlr3.Analysis.DFAState sampleBadState, int alt, ICollection targetRules, ICollection callSiteStates ) : void
probe Antlr3.Analysis.DecisionProbe
sampleBadState Antlr3.Analysis.DFAState
alt int
targetRules ICollection
callSiteStates ICollection
리턴 void

RemoveErrorListener() 공개 정적인 메소드

public static RemoveErrorListener ( ) : void
리턴 void

ResetErrorState() 공개 정적인 메소드

public static ResetErrorState ( ) : void
리턴 void

SetErrorListener() 공개 정적인 메소드

public static SetErrorListener ( IANTLRErrorListener listener ) : void
listener IANTLRErrorListener
리턴 void

SetFormat() 공개 정적인 메소드

public static SetFormat ( String formatName ) : void
formatName String
리턴 void

SetLocale() 공개 정적인 메소드

public static SetLocale ( System.Globalization.CultureInfo locale ) : void
locale System.Globalization.CultureInfo
리턴 void

SetTool() 공개 정적인 메소드

public static SetTool ( Antlr3.AntlrTool tool ) : void
tool Antlr3.AntlrTool
리턴 void

SyntaxError() 공개 정적인 메소드

public static SyntaxError ( int msgID, Grammar grammar, Antlr.Runtime.IToken token, Object arg, Antlr.Runtime.RecognitionException re ) : void
msgID int
grammar Grammar
token Antlr.Runtime.IToken
arg Object
re Antlr.Runtime.RecognitionException
리턴 void

UnreachableAlts() 공개 정적인 메소드

public static UnreachableAlts ( Antlr3.Analysis.DecisionProbe probe, IEnumerable alts ) : void
probe Antlr3.Analysis.DecisionProbe
alts IEnumerable
리턴 void

Warning() 공개 정적인 메소드

public static Warning ( int msgID, Object arg ) : void
msgID int
arg Object
리턴 void

프로퍼티 상세

ErrorsForcingNoAnalysis 공개적으로 정적으로 프로퍼티

public static Antlr3.Misc.BitSet ErrorsForcingNoAnalysis
리턴 Antlr3.Misc.BitSet

ErrorsForcingNoCodegen 공개적으로 정적으로 프로퍼티

public static Antlr3.Misc.BitSet ErrorsForcingNoCodegen
리턴 Antlr3.Misc.BitSet

emitSingleError 공개적으로 정적으로 프로퍼티

public static IDictionary> emitSingleError
리턴 ICollection>.IDictionary