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

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

공개 프로퍼티들

프로퍼티 타입 설명
ctxType string
hasLookaheadBlock bool
index int
modifiers IList
name string
rule Antlr4.Tool.Rule
ruleLabels ICollection
startState Antlr4.Runtime.Atn.ATNState
tokenLabels ICollection
variantOf string

공개 메소드들

메소드 설명
AddContextDecl ( string altLabel, Decl d ) : void
AddContextGetters ( OutputModelFactory factory, ICollection contextASTs ) : void
AddLocalDecl ( Decl d ) : void
FillNamedActions ( OutputModelFactory factory, Rule r ) : void
GetDeclForAltElement ( GrammarAST t, string refLabelName, bool needList, bool optional ) : IList
GetDeclsForAllElements ( IList altASTs ) : ISet
GetLabelName ( Grammar g, GrammarAST t ) : string
RuleFunction ( OutputModelFactory factory, Rule r ) : System.Collections.Generic

보호된 메소드들

메소드 설명
GetElementFrequenciesForAlt ( AltAST ast ) : FrequencySet>.System.Tuple

메소드 상세

AddContextDecl() 공개 메소드

public AddContextDecl ( string altLabel, Decl d ) : void
altLabel string
d Antlr4.Codegen.Model.Decl.Decl
리턴 void

AddContextGetters() 공개 메소드

public AddContextGetters ( OutputModelFactory factory, ICollection contextASTs ) : void
factory OutputModelFactory
contextASTs ICollection
리턴 void

AddLocalDecl() 공개 메소드

public AddLocalDecl ( Decl d ) : void
d Antlr4.Codegen.Model.Decl.Decl
리턴 void

FillNamedActions() 공개 메소드

public FillNamedActions ( OutputModelFactory factory, Rule r ) : void
factory OutputModelFactory
r Antlr4.Tool.Rule
리턴 void

GetDeclForAltElement() 공개 메소드

public GetDeclForAltElement ( GrammarAST t, string refLabelName, bool needList, bool optional ) : IList
t Antlr4.Tool.Ast.GrammarAST
refLabelName string
needList bool
optional bool
리턴 IList

GetDeclsForAllElements() 공개 메소드

public GetDeclsForAllElements ( IList altASTs ) : ISet
altASTs IList
리턴 ISet

GetElementFrequenciesForAlt() 보호된 메소드

protected GetElementFrequenciesForAlt ( AltAST ast ) : FrequencySet>.System.Tuple
ast AltAST
리턴 FrequencySet>.System.Tuple

GetLabelName() 공개 정적인 메소드

public static GetLabelName ( Grammar g, GrammarAST t ) : string
g Antlr4.Tool.Grammar
t Antlr4.Tool.Ast.GrammarAST
리턴 string

RuleFunction() 공개 메소드

public RuleFunction ( OutputModelFactory factory, Rule r ) : System.Collections.Generic
factory OutputModelFactory
r Antlr4.Tool.Rule
리턴 System.Collections.Generic

프로퍼티 상세

ctxType 공개적으로 프로퍼티

public string ctxType
리턴 string

hasLookaheadBlock 공개적으로 프로퍼티

public bool hasLookaheadBlock
리턴 bool

index 공개적으로 프로퍼티

public int index
리턴 int

modifiers 공개적으로 프로퍼티

public IList modifiers
리턴 IList

name 공개적으로 프로퍼티

public string name
리턴 string

rule 공개적으로 프로퍼티

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

ruleLabels 공개적으로 프로퍼티

public ICollection ruleLabels
리턴 ICollection

startState 공개적으로 프로퍼티

public ATNState,Antlr4.Runtime.Atn startState
리턴 Antlr4.Runtime.Atn.ATNState

tokenLabels 공개적으로 프로퍼티

public ICollection tokenLabels
리턴 ICollection

variantOf 공개적으로 프로퍼티

public string variantOf
리턴 string