C# Класс Antlr4.Semantics.RuleCollector

Наследование: GrammarTreeVisitor
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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