C# Class Antlr4.Codegen.Model.RuleFunction

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

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
GetElementFrequenciesForAlt ( AltAST ast ) : FrequencySet>.System.Tuple

Method Details

AddContextDecl() public méthode

public AddContextDecl ( string altLabel, Decl d ) : void
altLabel string
d Antlr4.Codegen.Model.Decl.Decl
Résultat void

AddContextGetters() public méthode

public AddContextGetters ( OutputModelFactory factory, ICollection contextASTs ) : void
factory OutputModelFactory
contextASTs ICollection
Résultat void

AddLocalDecl() public méthode

public AddLocalDecl ( Decl d ) : void
d Antlr4.Codegen.Model.Decl.Decl
Résultat void

FillNamedActions() public méthode

public FillNamedActions ( OutputModelFactory factory, Rule r ) : void
factory OutputModelFactory
r Antlr4.Tool.Rule
Résultat void

GetDeclForAltElement() public méthode

public GetDeclForAltElement ( GrammarAST t, string refLabelName, bool needList, bool optional ) : IList
t Antlr4.Tool.Ast.GrammarAST
refLabelName string
needList bool
optional bool
Résultat IList

GetDeclsForAllElements() public méthode

public GetDeclsForAllElements ( IList altASTs ) : ISet
altASTs IList
Résultat ISet

GetElementFrequenciesForAlt() protected méthode

protected GetElementFrequenciesForAlt ( AltAST ast ) : FrequencySet>.System.Tuple
ast AltAST
Résultat FrequencySet>.System.Tuple

GetLabelName() public static méthode

public static GetLabelName ( Grammar g, GrammarAST t ) : string
g Antlr4.Tool.Grammar
t Antlr4.Tool.Ast.GrammarAST
Résultat string

RuleFunction() public méthode

public RuleFunction ( OutputModelFactory factory, Rule r ) : System.Collections.Generic
factory OutputModelFactory
r Antlr4.Tool.Rule
Résultat System.Collections.Generic

Property Details

ctxType public_oe property

public string ctxType
Résultat string

hasLookaheadBlock public_oe property

public bool hasLookaheadBlock
Résultat bool

index public_oe property

public int index
Résultat int

modifiers public_oe property

public IList modifiers
Résultat IList

name public_oe property

public string name
Résultat string

rule public_oe property

public Rule,Antlr4.Tool rule
Résultat Antlr4.Tool.Rule

ruleLabels public_oe property

public ICollection ruleLabels
Résultat ICollection

startState public_oe property

public ATNState,Antlr4.Runtime.Atn startState
Résultat Antlr4.Runtime.Atn.ATNState

tokenLabels public_oe property

public ICollection tokenLabels
Résultat ICollection

variantOf public_oe property

public string variantOf
Résultat string