C# 클래스 Antlr4.Semantics.RuleCollector

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

공개 프로퍼티들

프로퍼티 타입 설명
altLabelToRuleName string>.IDictionary
errMgr Antlr4.Tool.ErrorManager
g Antlr4.Tool.Grammar
ruleToAltLabels GrammarAST>.Runtime.Misc.MultiMap
rules Rule>.OrderedHashMap

공개 메소드들

메소드 설명
DiscoverLexerRule ( RuleAST rule, GrammarAST ID, IList modifiers, GrammarAST block ) : void
DiscoverOuterAlt ( AltAST alt ) : void
DiscoverRule ( RuleAST rule, GrammarAST ID, IList modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, IList actions, GrammarAST block ) : void
GetErrorManager ( ) : ErrorManager
Process ( GrammarAST ast ) : void
RuleCollector ( Grammar g ) : System.Collections.Generic

메소드 상세

DiscoverLexerRule() 공개 메소드

public DiscoverLexerRule ( RuleAST rule, GrammarAST ID, IList modifiers, GrammarAST block ) : void
rule Antlr4.Tool.Ast.RuleAST
ID Antlr4.Tool.Ast.GrammarAST
modifiers IList
block Antlr4.Tool.Ast.GrammarAST
리턴 void

DiscoverOuterAlt() 공개 메소드

public DiscoverOuterAlt ( AltAST alt ) : void
alt AltAST
리턴 void

DiscoverRule() 공개 메소드

public DiscoverRule ( RuleAST rule, GrammarAST ID, IList modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, IList actions, GrammarAST block ) : void
rule Antlr4.Tool.Ast.RuleAST
ID Antlr4.Tool.Ast.GrammarAST
modifiers IList
arg Antlr4.Tool.Ast.ActionAST
returns Antlr4.Tool.Ast.ActionAST
thrws Antlr4.Tool.Ast.GrammarAST
options Antlr4.Tool.Ast.GrammarAST
locals Antlr4.Tool.Ast.ActionAST
actions IList
block Antlr4.Tool.Ast.GrammarAST
리턴 void

GetErrorManager() 공개 메소드

public GetErrorManager ( ) : ErrorManager
리턴 Antlr4.Tool.ErrorManager

Process() 공개 메소드

public Process ( GrammarAST ast ) : void
ast Antlr4.Tool.Ast.GrammarAST
리턴 void

RuleCollector() 공개 메소드

public RuleCollector ( Grammar g ) : System.Collections.Generic
g Antlr4.Tool.Grammar
리턴 System.Collections.Generic

프로퍼티 상세

altLabelToRuleName 공개적으로 프로퍼티

public IDictionary altLabelToRuleName
리턴 string>.IDictionary

errMgr 공개적으로 프로퍼티

public ErrorManager,Antlr4.Tool errMgr
리턴 Antlr4.Tool.ErrorManager

g 공개적으로 프로퍼티

public Grammar,Antlr4.Tool g
리턴 Antlr4.Tool.Grammar

ruleToAltLabels 공개적으로 프로퍼티

public Runtime.Misc.MultiMap ruleToAltLabels
리턴 GrammarAST>.Runtime.Misc.MultiMap

rules 공개적으로 프로퍼티

public OrderedHashMap rules
리턴 Rule>.OrderedHashMap