C# 클래스 Antlr3.Analysis.DecisionProbe

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

공개 프로퍼티들

프로퍼티 타입 설명
verbose bool

보호된 프로퍼티들

프로퍼티 타입 설명
stateToLeftRecursiveConfigurationsMap List>.IDictionary
stateToRecursionOverflowConfigurationsMap List>.IDictionary

공개 메소드들

메소드 설명
DecisionProbe ( Antlr3.Analysis.DFA dfa ) : System.Collections.Generic
GetDisabledAlternatives ( DFAState d ) : IEnumerable
GetIncompletelyCoveredAlts ( DFAState d ) : ICollection>.IDictionary
GetInputSequenceDisplay ( IList labels ) : string
GetNFAPathStatesForAlt ( int firstAlt, int alt, IList labels ) : IList
GetNonDeterministicAltsForState ( DFAState targetState ) : IList
GetSampleNonDeterministicInputSequence ( DFAState targetState ) : IList
GetSemanticContextForAlt ( DFAState d, int alt ) : Antlr3.Analysis.SemanticContext
GetTokenNameForTokensRuleAlt ( int alt ) : string
IssueWarnings ( ) : void
RemoveRecursiveOverflowState ( DFAState d ) : void
ReportAltPredicateContext ( DFAState d, SemanticContext>.IDictionary altPredicateContext ) : void
ReportDanglingState ( DFAState d ) : void
ReportIncompletelyCoveredAlts ( DFAState d, IDictionary altToLocationsReachableWithoutPredicate ) : void
ReportLexerRuleNondeterminism ( DFAState d, HashSet nondeterministicAlts ) : void
ReportNonLLStarDecision ( Antlr3.Analysis.DFA dfa ) : void
ReportNondeterminism ( DFAState d, HashSet nondeterministicAlts ) : void
ReportNondeterminismResolvedWithSemanticPredicate ( DFAState d ) : void
ReportRecursionOverflow ( DFAState d, NFAConfiguration recursionNFAConfiguration ) : void
Reset ( ) : void

보호된 메소드들

메소드 설명
GetDFAPathStatesToTarget ( DFAState targetState ) : HashSet
GetNFAPath ( Antlr3.Analysis.NFAState s, int labelIndex, IList labels, IList path ) : bool
GetSampleInputSequenceUsingStateSet ( Antlr3.Analysis.State startState, Antlr3.Analysis.State targetState, HashSet states, IList labels ) : void
GetStateLabelIndexKey ( int s, int i ) : string
IssueRecursionWarnings ( ) : void
ReachesState ( DFAState startState, DFAState targetState, HashSet states ) : bool
StripWildCardAlts ( ICollection disabledAlts ) : void

비공개 메소드들

메소드 설명
ComputeAltToProblemMaps ( IEnumerable dfaStatesUnaliased, IDictionary configurationsMap, IDictionary altToTargetToCallSitesMap, DFAState>.IDictionary altToDFAState ) : void
GetUnaliasedDFAStateSet ( HashSet dfaStatesWithRecursionProblems ) : HashSet

메소드 상세

DecisionProbe() 공개 메소드

public DecisionProbe ( Antlr3.Analysis.DFA dfa ) : System.Collections.Generic
dfa Antlr3.Analysis.DFA
리턴 System.Collections.Generic

GetDFAPathStatesToTarget() 보호된 메소드

protected GetDFAPathStatesToTarget ( DFAState targetState ) : HashSet
targetState DFAState
리턴 HashSet

GetDisabledAlternatives() 공개 메소드

public GetDisabledAlternatives ( DFAState d ) : IEnumerable
d DFAState
리턴 IEnumerable

GetIncompletelyCoveredAlts() 공개 메소드

public GetIncompletelyCoveredAlts ( DFAState d ) : ICollection>.IDictionary
d DFAState
리턴 ICollection>.IDictionary

GetInputSequenceDisplay() 공개 메소드

public GetInputSequenceDisplay ( IList labels ) : string
labels IList
리턴 string

GetNFAPath() 보호된 메소드

protected GetNFAPath ( Antlr3.Analysis.NFAState s, int labelIndex, IList labels, IList path ) : bool
s Antlr3.Analysis.NFAState
labelIndex int
labels IList
path IList
리턴 bool

GetNFAPathStatesForAlt() 공개 메소드

public GetNFAPathStatesForAlt ( int firstAlt, int alt, IList labels ) : IList
firstAlt int
alt int
labels IList
리턴 IList

GetNonDeterministicAltsForState() 공개 메소드

public GetNonDeterministicAltsForState ( DFAState targetState ) : IList
targetState DFAState
리턴 IList

GetSampleInputSequenceUsingStateSet() 보호된 메소드

protected GetSampleInputSequenceUsingStateSet ( Antlr3.Analysis.State startState, Antlr3.Analysis.State targetState, HashSet states, IList labels ) : void
startState Antlr3.Analysis.State
targetState Antlr3.Analysis.State
states HashSet
labels IList
리턴 void

GetSampleNonDeterministicInputSequence() 공개 메소드

public GetSampleNonDeterministicInputSequence ( DFAState targetState ) : IList
targetState DFAState
리턴 IList

GetSemanticContextForAlt() 공개 메소드

public GetSemanticContextForAlt ( DFAState d, int alt ) : Antlr3.Analysis.SemanticContext
d DFAState
alt int
리턴 Antlr3.Analysis.SemanticContext

GetStateLabelIndexKey() 보호된 메소드

protected GetStateLabelIndexKey ( int s, int i ) : string
s int
i int
리턴 string

GetTokenNameForTokensRuleAlt() 공개 메소드

public GetTokenNameForTokensRuleAlt ( int alt ) : string
alt int
리턴 string

IssueRecursionWarnings() 보호된 메소드

protected IssueRecursionWarnings ( ) : void
리턴 void

IssueWarnings() 공개 메소드

public IssueWarnings ( ) : void
리턴 void

ReachesState() 보호된 메소드

protected ReachesState ( DFAState startState, DFAState targetState, HashSet states ) : bool
startState DFAState
targetState DFAState
states HashSet
리턴 bool

RemoveRecursiveOverflowState() 공개 메소드

public RemoveRecursiveOverflowState ( DFAState d ) : void
d DFAState
리턴 void

ReportAltPredicateContext() 공개 메소드

public ReportAltPredicateContext ( DFAState d, SemanticContext>.IDictionary altPredicateContext ) : void
d DFAState
altPredicateContext SemanticContext>.IDictionary
리턴 void

ReportDanglingState() 공개 메소드

public ReportDanglingState ( DFAState d ) : void
d DFAState
리턴 void

ReportIncompletelyCoveredAlts() 공개 메소드

public ReportIncompletelyCoveredAlts ( DFAState d, IDictionary altToLocationsReachableWithoutPredicate ) : void
d DFAState
altToLocationsReachableWithoutPredicate IDictionary
리턴 void

ReportLexerRuleNondeterminism() 공개 메소드

public ReportLexerRuleNondeterminism ( DFAState d, HashSet nondeterministicAlts ) : void
d DFAState
nondeterministicAlts HashSet
리턴 void

ReportNonLLStarDecision() 공개 메소드

public ReportNonLLStarDecision ( Antlr3.Analysis.DFA dfa ) : void
dfa Antlr3.Analysis.DFA
리턴 void

ReportNondeterminism() 공개 메소드

public ReportNondeterminism ( DFAState d, HashSet nondeterministicAlts ) : void
d DFAState
nondeterministicAlts HashSet
리턴 void

ReportNondeterminismResolvedWithSemanticPredicate() 공개 메소드

public ReportNondeterminismResolvedWithSemanticPredicate ( DFAState d ) : void
d DFAState
리턴 void

ReportRecursionOverflow() 공개 메소드

public ReportRecursionOverflow ( DFAState d, NFAConfiguration recursionNFAConfiguration ) : void
d DFAState
recursionNFAConfiguration NFAConfiguration
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

StripWildCardAlts() 보호된 메소드

protected StripWildCardAlts ( ICollection disabledAlts ) : void
disabledAlts ICollection
리턴 void

프로퍼티 상세

stateToLeftRecursiveConfigurationsMap 보호되어 있는 프로퍼티

protected IDictionary> stateToLeftRecursiveConfigurationsMap
리턴 List>.IDictionary

stateToRecursionOverflowConfigurationsMap 보호되어 있는 프로퍼티

protected IDictionary> stateToRecursionOverflowConfigurationsMap
리턴 List>.IDictionary

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

public static bool verbose
리턴 bool