C# Class Antlr4.Tool.DOTGenerator

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

Méthodes publiques

Свойство Type Description
STRIP_NONREDUCED_STATES bool
stlib Antlr4.StringTemplate.TemplateGroup

Protected Properties

Свойство Type Description
arrowhead string
grammar Grammar
rankdir string

Méthodes publiques

Méthode Description
DOTGenerator ( Grammar grammar ) : System.Collections.Generic
GetDOT ( ATNState startState ) : string
GetDOT ( ATNState startState, bool isLexer ) : string
GetDOT ( ATNState startState, string ruleNames, bool isLexer ) : string
GetDOT ( DFA dfa, bool isLexer ) : string

Méthodes protégées

Méthode Description
GetEdgeLabel ( string label ) : string
GetStateLabel ( ATNState s ) : string
GetStateLabel ( DFAState s ) : string

Method Details

DOTGenerator() public méthode

public DOTGenerator ( Grammar grammar ) : System.Collections.Generic
grammar Grammar
Résultat System.Collections.Generic

GetDOT() public méthode

public GetDOT ( ATNState startState ) : string
startState Antlr4.Runtime.Atn.ATNState
Résultat string

GetDOT() public méthode

public GetDOT ( ATNState startState, bool isLexer ) : string
startState Antlr4.Runtime.Atn.ATNState
isLexer bool
Résultat string

GetDOT() public méthode

public GetDOT ( ATNState startState, string ruleNames, bool isLexer ) : string
startState Antlr4.Runtime.Atn.ATNState
ruleNames string
isLexer bool
Résultat string

GetDOT() public méthode

public GetDOT ( DFA dfa, bool isLexer ) : string
dfa Antlr4.Runtime.Dfa.DFA
isLexer bool
Résultat string

GetEdgeLabel() protected méthode

protected GetEdgeLabel ( string label ) : string
label string
Résultat string

GetStateLabel() protected méthode

protected GetStateLabel ( ATNState s ) : string
s Antlr4.Runtime.Atn.ATNState
Résultat string

GetStateLabel() protected méthode

protected GetStateLabel ( DFAState s ) : string
s Antlr4.Runtime.Dfa.DFAState
Résultat string

Property Details

STRIP_NONREDUCED_STATES public_oe static_oe property

public static bool STRIP_NONREDUCED_STATES
Résultat bool

arrowhead protected_oe property

protected string arrowhead
Résultat string

grammar protected_oe property

protected Grammar,Antlr4.Tool grammar
Résultat Grammar

rankdir protected_oe property

protected string rankdir
Résultat string

stlib public_oe static_oe property

public static TemplateGroup,Antlr4.StringTemplate stlib
Résultat Antlr4.StringTemplate.TemplateGroup