C# Class Antlr4.Codegen.Model.ElementFrequenciesVisitor

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

Méthodes publiques

Méthode Description
ElementFrequenciesVisitor ( Grammar grammar, Antlr.Runtime.Tree.ITreeNodeStream input ) : System.Collections.Generic
RuleRef ( GrammarAST @ref, ActionAST arg ) : void
TokenRef ( TerminalAST @ref ) : void

Méthodes protégées

Méthode Description
CombineAndClip ( FrequencySet a, FrequencySet b, int clip ) : FrequencySet
CombineMax ( FrequencySet a, FrequencySet b ) : FrequencySet
EnterAlternative ( AltAST tree ) : void
EnterElement ( GrammarAST tree ) : void
EnterLexerAlternative ( GrammarAST tree ) : void
EnterLexerElement ( GrammarAST tree ) : void
ExitAlternative ( AltAST tree ) : void
ExitElement ( GrammarAST tree ) : void
ExitLexerAlternative ( GrammarAST tree ) : void
ExitLexerElement ( GrammarAST tree ) : void
ExitLexerSubrule ( GrammarAST tree ) : void
ExitSubrule ( GrammarAST tree ) : void
combineMin ( FrequencySet a, FrequencySet b ) : FrequencySet

Private Methods

Méthode Description
GetMinFrequencies ( ) : FrequencySet

Method Details

CombineAndClip() protected static méthode

protected static CombineAndClip ( FrequencySet a, FrequencySet b, int clip ) : FrequencySet
a FrequencySet
b FrequencySet
clip int
Résultat FrequencySet

CombineMax() protected static méthode

protected static CombineMax ( FrequencySet a, FrequencySet b ) : FrequencySet
a FrequencySet
b FrequencySet
Résultat FrequencySet

ElementFrequenciesVisitor() public méthode

public ElementFrequenciesVisitor ( Grammar grammar, Antlr.Runtime.Tree.ITreeNodeStream input ) : System.Collections.Generic
grammar Antlr4.Tool.Grammar
input Antlr.Runtime.Tree.ITreeNodeStream
Résultat System.Collections.Generic

EnterAlternative() protected méthode

protected EnterAlternative ( AltAST tree ) : void
tree AltAST
Résultat void

EnterElement() protected méthode

protected EnterElement ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

EnterLexerAlternative() protected méthode

protected EnterLexerAlternative ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

EnterLexerElement() protected méthode

protected EnterLexerElement ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

ExitAlternative() protected méthode

protected ExitAlternative ( AltAST tree ) : void
tree AltAST
Résultat void

ExitElement() protected méthode

protected ExitElement ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

ExitLexerAlternative() protected méthode

protected ExitLexerAlternative ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

ExitLexerElement() protected méthode

protected ExitLexerElement ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

ExitLexerSubrule() protected méthode

protected ExitLexerSubrule ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

ExitSubrule() protected méthode

protected ExitSubrule ( GrammarAST tree ) : void
tree GrammarAST
Résultat void

RuleRef() public méthode

public RuleRef ( GrammarAST @ref, ActionAST arg ) : void
@ref GrammarAST
arg ActionAST
Résultat void

TokenRef() public méthode

public TokenRef ( TerminalAST @ref ) : void
@ref TerminalAST
Résultat void

combineMin() protected static méthode

protected static combineMin ( FrequencySet a, FrequencySet b ) : FrequencySet
a FrequencySet
b FrequencySet
Résultat FrequencySet