C# Класс Antlr4.Codegen.ActionTranslator

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

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

Свойство Тип Описание
rulePropToModelMap IDictionary>
thisRulePropToModelMap IDictionary>
tokenPropToModelMap IDictionary>

Открытые методы

Метод Описание
ActionTranslator ( OutputModelFactory factory, ActionAST node ) : System.Collections.Generic
Attr ( string expr, Antlr.Runtime.IToken x ) : void
GetRuleLabel ( string x ) : string
GetTokenLabel ( string x ) : string
NonLocalAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y ) : void
QualifiedAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y ) : void
SetAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken rhs ) : void
SetNonLocalAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y, Antlr.Runtime.IToken rhs ) : void
Text ( string text ) : void
ToString ( IList chunks ) : string
TranslateAction ( OutputModelFactory factory, RuleFunction rf, Antlr.Runtime.IToken tokenWithinAction, ActionAST node ) : IList
TranslateActionChunk ( OutputModelFactory factory, RuleFunction rf, string action, ActionAST node ) : IList

Приватные методы

Метод Описание
GetRulePropertyRef ( Antlr.Runtime.IToken prop ) : RulePropertyRef
GetRulePropertyRef ( Antlr.Runtime.IToken x, Antlr.Runtime.IToken prop ) : RulePropertyRef
GetTokenPropertyRef ( Antlr.Runtime.IToken x, Antlr.Runtime.IToken y ) : TokenPropertyRef

Описание методов

ActionTranslator() публичный метод

public ActionTranslator ( OutputModelFactory factory, ActionAST node ) : System.Collections.Generic
factory OutputModelFactory
node Antlr4.Tool.Ast.ActionAST
Результат System.Collections.Generic

Attr() публичный метод

public Attr ( string expr, Antlr.Runtime.IToken x ) : void
expr string
x Antlr.Runtime.IToken
Результат void

GetRuleLabel() публичный метод

public GetRuleLabel ( string x ) : string
x string
Результат string

GetTokenLabel() публичный метод

public GetTokenLabel ( string x ) : string
x string
Результат string

NonLocalAttr() публичный метод

public NonLocalAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y ) : void
expr string
x Antlr.Runtime.IToken
y Antlr.Runtime.IToken
Результат void

QualifiedAttr() публичный метод

public QualifiedAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y ) : void
expr string
x Antlr.Runtime.IToken
y Antlr.Runtime.IToken
Результат void

SetAttr() публичный метод

public SetAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken rhs ) : void
expr string
x Antlr.Runtime.IToken
rhs Antlr.Runtime.IToken
Результат void

SetNonLocalAttr() публичный метод

public SetNonLocalAttr ( string expr, Antlr.Runtime.IToken x, Antlr.Runtime.IToken y, Antlr.Runtime.IToken rhs ) : void
expr string
x Antlr.Runtime.IToken
y Antlr.Runtime.IToken
rhs Antlr.Runtime.IToken
Результат void

Text() публичный метод

public Text ( string text ) : void
text string
Результат void

ToString() публичный статический метод

public static ToString ( IList chunks ) : string
chunks IList
Результат string

TranslateAction() публичный статический метод

public static TranslateAction ( OutputModelFactory factory, RuleFunction rf, Antlr.Runtime.IToken tokenWithinAction, ActionAST node ) : IList
factory OutputModelFactory
rf Antlr4.Codegen.Model.RuleFunction
tokenWithinAction Antlr.Runtime.IToken
node Antlr4.Tool.Ast.ActionAST
Результат IList

TranslateActionChunk() публичный статический метод

public static TranslateActionChunk ( OutputModelFactory factory, RuleFunction rf, string action, ActionAST node ) : IList
factory OutputModelFactory
rf Antlr4.Codegen.Model.RuleFunction
action string
node Antlr4.Tool.Ast.ActionAST
Результат IList

Описание свойств

rulePropToModelMap публичное статическое свойство

public static IDictionary> rulePropToModelMap
Результат IDictionary>

thisRulePropToModelMap публичное статическое свойство

public static IDictionary> thisRulePropToModelMap
Результат IDictionary>

tokenPropToModelMap публичное статическое свойство

public static IDictionary> tokenPropToModelMap
Результат IDictionary>