C# 클래스 Antlr4.Semantics.SymbolCollector

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

공개 프로퍼티들

프로퍼티 타입 설명
channelDefs IList
currentRule Antlr4.Tool.Rule
errMgr Antlr4.Tool.ErrorManager
g Antlr4.Tool.Grammar
qualifiedRulerefs IList
rulerefs IList
strings ISet
terminals IList
tokenIDRefs IList
tokensDefs IList

공개 메소드들

메소드 설명
ActionInAlt ( ActionAST action ) : void
BlockOption ( GrammarAST ID, GrammarAST valueAST ) : void
DefineChannel ( GrammarAST ID ) : void
DefineToken ( GrammarAST ID ) : void
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
ElementOption ( GrammarASTWithOptions t, GrammarAST ID, GrammarAST valueAST ) : void
FinallyAction ( ActionAST action ) : void
GetErrorManager ( ) : ErrorManager
GlobalNamedAction ( GrammarAST scope, GrammarAST ID, ActionAST action ) : void
GrammarOption ( GrammarAST ID, GrammarAST valueAST ) : void
Label ( GrammarAST op, GrammarAST ID, GrammarAST element ) : void
Process ( GrammarAST ast ) : void
RuleCatch ( GrammarAST arg, ActionAST action ) : void
RuleOption ( GrammarAST ID, GrammarAST valueAST ) : void
RuleRef ( GrammarAST @ref, ActionAST arg ) : void
SempredInAlt ( PredAST pred ) : void
StringRef ( TerminalAST @ref ) : void
SymbolCollector ( Grammar g ) : System.Collections.Generic
TokenRef ( TerminalAST @ref ) : void

비공개 메소드들

메소드 설명
SetActionResolver ( GrammarAST valueAST ) : void

메소드 상세

ActionInAlt() 공개 메소드

public ActionInAlt ( ActionAST action ) : void
action Antlr4.Tool.Ast.ActionAST
리턴 void

BlockOption() 공개 메소드

public BlockOption ( GrammarAST ID, GrammarAST valueAST ) : void
ID Antlr4.Tool.Ast.GrammarAST
valueAST Antlr4.Tool.Ast.GrammarAST
리턴 void

DefineChannel() 공개 메소드

public DefineChannel ( GrammarAST ID ) : void
ID Antlr4.Tool.Ast.GrammarAST
리턴 void

DefineToken() 공개 메소드

public DefineToken ( GrammarAST ID ) : void
ID Antlr4.Tool.Ast.GrammarAST
리턴 void

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

ElementOption() 공개 메소드

public ElementOption ( GrammarASTWithOptions t, GrammarAST ID, GrammarAST valueAST ) : void
t Antlr4.Tool.Ast.GrammarASTWithOptions
ID Antlr4.Tool.Ast.GrammarAST
valueAST Antlr4.Tool.Ast.GrammarAST
리턴 void

FinallyAction() 공개 메소드

public FinallyAction ( ActionAST action ) : void
action Antlr4.Tool.Ast.ActionAST
리턴 void

GetErrorManager() 공개 메소드

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

GlobalNamedAction() 공개 메소드

public GlobalNamedAction ( GrammarAST scope, GrammarAST ID, ActionAST action ) : void
scope Antlr4.Tool.Ast.GrammarAST
ID Antlr4.Tool.Ast.GrammarAST
action Antlr4.Tool.Ast.ActionAST
리턴 void

GrammarOption() 공개 메소드

public GrammarOption ( GrammarAST ID, GrammarAST valueAST ) : void
ID Antlr4.Tool.Ast.GrammarAST
valueAST Antlr4.Tool.Ast.GrammarAST
리턴 void

Label() 공개 메소드

public Label ( GrammarAST op, GrammarAST ID, GrammarAST element ) : void
op Antlr4.Tool.Ast.GrammarAST
ID Antlr4.Tool.Ast.GrammarAST
element Antlr4.Tool.Ast.GrammarAST
리턴 void

Process() 공개 메소드

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

RuleCatch() 공개 메소드

public RuleCatch ( GrammarAST arg, ActionAST action ) : void
arg Antlr4.Tool.Ast.GrammarAST
action Antlr4.Tool.Ast.ActionAST
리턴 void

RuleOption() 공개 메소드

public RuleOption ( GrammarAST ID, GrammarAST valueAST ) : void
ID Antlr4.Tool.Ast.GrammarAST
valueAST Antlr4.Tool.Ast.GrammarAST
리턴 void

RuleRef() 공개 메소드

public RuleRef ( GrammarAST @ref, ActionAST arg ) : void
@ref Antlr4.Tool.Ast.GrammarAST
arg Antlr4.Tool.Ast.ActionAST
리턴 void

SempredInAlt() 공개 메소드

public SempredInAlt ( PredAST pred ) : void
pred Antlr4.Tool.Ast.PredAST
리턴 void

StringRef() 공개 메소드

public StringRef ( TerminalAST @ref ) : void
@ref Antlr4.Tool.Ast.TerminalAST
리턴 void

SymbolCollector() 공개 메소드

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

TokenRef() 공개 메소드

public TokenRef ( TerminalAST @ref ) : void
@ref Antlr4.Tool.Ast.TerminalAST
리턴 void

프로퍼티 상세

channelDefs 공개적으로 프로퍼티

public IList channelDefs
리턴 IList

currentRule 공개적으로 프로퍼티

public Rule,Antlr4.Tool currentRule
리턴 Antlr4.Tool.Rule

errMgr 공개적으로 프로퍼티

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

g 공개적으로 프로퍼티

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

qualifiedRulerefs 공개적으로 프로퍼티

public IList qualifiedRulerefs
리턴 IList

rulerefs 공개적으로 프로퍼티

public IList rulerefs
리턴 IList

strings 공개적으로 프로퍼티

public ISet strings
리턴 ISet

terminals 공개적으로 프로퍼티

public IList terminals
리턴 IList

tokenIDRefs 공개적으로 프로퍼티

public IList tokenIDRefs
리턴 IList

tokensDefs 공개적으로 프로퍼티

public IList tokensDefs
리턴 IList