C# Class Antlr4.Analysis.LeftRecursionDetector

Afficher le fichier Open project: sharwell/antlr4cs Class Usage Examples

Méthodes publiques

Свойство Type Description
atn Antlr4.Runtime.Atn.ATN
listOfRecursiveCycles IList>

Méthodes publiques

Méthode Description
Check ( Rule enclosingRule, ATNState s, ISet visitedStates ) : bool
Check ( ) : void
LeftRecursionDetector ( Grammar g, ATN atn ) : System.Collections.Generic

Méthodes protégées

Méthode Description
AddRulesToCycle ( Rule enclosingRule, Rule targetRule ) : void

Method Details

AddRulesToCycle() protected méthode

protected AddRulesToCycle ( Rule enclosingRule, Rule targetRule ) : void
enclosingRule Antlr4.Tool.Rule
targetRule Antlr4.Tool.Rule
Résultat void

Check() public méthode

public Check ( Rule enclosingRule, ATNState s, ISet visitedStates ) : bool
enclosingRule Antlr4.Tool.Rule
s Antlr4.Runtime.Atn.ATNState
visitedStates ISet
Résultat bool

Check() public méthode

public Check ( ) : void
Résultat void

LeftRecursionDetector() public méthode

public LeftRecursionDetector ( Grammar g, ATN atn ) : System.Collections.Generic
g Antlr4.Tool.Grammar
atn Antlr4.Runtime.Atn.ATN
Résultat System.Collections.Generic

Property Details

atn public_oe property

public ATN,Antlr4.Runtime.Atn atn
Résultat Antlr4.Runtime.Atn.ATN

listOfRecursiveCycles public_oe property

public IList> listOfRecursiveCycles
Résultat IList>