C# 클래스 Antlr4.Codegen.Model.ElementFrequenciesVisitor

상속: GrammarTreeVisitor
파일 보기 프로젝트 열기: sharwell/antlr4cs 1 사용 예제들

공개 메소드들

메소드 설명
ElementFrequenciesVisitor ( Grammar grammar, Antlr.Runtime.Tree.ITreeNodeStream input ) : System.Collections.Generic
RuleRef ( GrammarAST @ref, ActionAST arg ) : void
TokenRef ( TerminalAST @ref ) : void

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetMinFrequencies ( ) : FrequencySet

메소드 상세

CombineAndClip() 보호된 정적인 메소드

protected static CombineAndClip ( FrequencySet a, FrequencySet b, int clip ) : FrequencySet
a FrequencySet
b FrequencySet
clip int
리턴 FrequencySet

CombineMax() 보호된 정적인 메소드

protected static CombineMax ( FrequencySet a, FrequencySet b ) : FrequencySet
a FrequencySet
b FrequencySet
리턴 FrequencySet

ElementFrequenciesVisitor() 공개 메소드

public ElementFrequenciesVisitor ( Grammar grammar, Antlr.Runtime.Tree.ITreeNodeStream input ) : System.Collections.Generic
grammar Antlr4.Tool.Grammar
input Antlr.Runtime.Tree.ITreeNodeStream
리턴 System.Collections.Generic

EnterAlternative() 보호된 메소드

protected EnterAlternative ( AltAST tree ) : void
tree AltAST
리턴 void

EnterElement() 보호된 메소드

protected EnterElement ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

EnterLexerAlternative() 보호된 메소드

protected EnterLexerAlternative ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

EnterLexerElement() 보호된 메소드

protected EnterLexerElement ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

ExitAlternative() 보호된 메소드

protected ExitAlternative ( AltAST tree ) : void
tree AltAST
리턴 void

ExitElement() 보호된 메소드

protected ExitElement ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

ExitLexerAlternative() 보호된 메소드

protected ExitLexerAlternative ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

ExitLexerElement() 보호된 메소드

protected ExitLexerElement ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

ExitLexerSubrule() 보호된 메소드

protected ExitLexerSubrule ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

ExitSubrule() 보호된 메소드

protected ExitSubrule ( GrammarAST tree ) : void
tree GrammarAST
리턴 void

RuleRef() 공개 메소드

public RuleRef ( GrammarAST @ref, ActionAST arg ) : void
@ref GrammarAST
arg ActionAST
리턴 void

TokenRef() 공개 메소드

public TokenRef ( TerminalAST @ref ) : void
@ref TerminalAST
리턴 void

combineMin() 보호된 정적인 메소드

protected static combineMin ( FrequencySet a, FrequencySet b ) : FrequencySet
a FrequencySet
b FrequencySet
리턴 FrequencySet