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

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

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

Свойство Тип Описание
factory OutputModelFactory

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

Метод Описание
Action ( IList ops ) : IList
Alternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
CodeGeneratorExtension ( OutputModelFactory factory ) : System.Collections.Generic
Epsilon ( CodeBlockForAlt blk ) : CodeBlockForAlt
FinishAlternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
GetChoiceBlock ( Choice c ) : Choice
GetEBNFBlock ( Choice c ) : Choice
Lexer ( Lexer l ) : Lexer
LexerFile ( LexerFile f ) : LexerFile
NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
Parser ( Parser p ) : Parser
ParserFile ( ParserFile f ) : ParserFile
Rule ( RuleFunction rf ) : RuleFunction
RulePostamble ( IList ops ) : IList
RuleRef ( IList ops ) : IList
Sempred ( IList ops ) : IList
Set ( IList ops ) : IList
StringRef ( IList ops ) : IList
TokenRef ( IList ops ) : IList
Wildcard ( IList ops ) : IList

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

Action() публичный Метод

public Action ( IList ops ) : IList
ops IList
Результат IList

Alternative() публичный Метод

public Alternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
outerMost bool
Результат Antlr4.Codegen.Model.CodeBlockForAlt

CodeGeneratorExtension() публичный Метод

public CodeGeneratorExtension ( OutputModelFactory factory ) : System.Collections.Generic
factory OutputModelFactory
Результат System.Collections.Generic

Epsilon() публичный Метод

public Epsilon ( CodeBlockForAlt blk ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
Результат Antlr4.Codegen.Model.CodeBlockForAlt

FinishAlternative() публичный Метод

public FinishAlternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
outerMost bool
Результат Antlr4.Codegen.Model.CodeBlockForAlt

GetChoiceBlock() публичный Метод

public GetChoiceBlock ( Choice c ) : Choice
c Antlr4.Codegen.Model.Choice
Результат Antlr4.Codegen.Model.Choice

GetEBNFBlock() публичный Метод

public GetEBNFBlock ( Choice c ) : Choice
c Antlr4.Codegen.Model.Choice
Результат Antlr4.Codegen.Model.Choice

Lexer() публичный Метод

public Lexer ( Lexer l ) : Lexer
l Antlr4.Codegen.Model.Lexer
Результат Antlr4.Codegen.Model.Lexer

LexerFile() публичный Метод

public LexerFile ( LexerFile f ) : LexerFile
f Antlr4.Codegen.Model.LexerFile
Результат Antlr4.Codegen.Model.LexerFile

NeedsImplicitLabel() публичный Метод

public NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
ID Antlr4.Tool.Ast.GrammarAST
op LabeledOp
Результат bool

Parser() публичный Метод

public Parser ( Parser p ) : Parser
p Antlr4.Codegen.Model.Parser
Результат Antlr4.Codegen.Model.Parser

ParserFile() публичный Метод

public ParserFile ( ParserFile f ) : ParserFile
f Antlr4.Codegen.Model.ParserFile
Результат Antlr4.Codegen.Model.ParserFile

Rule() публичный Метод

public Rule ( RuleFunction rf ) : RuleFunction
rf Antlr4.Codegen.Model.RuleFunction
Результат Antlr4.Codegen.Model.RuleFunction

RulePostamble() публичный Метод

public RulePostamble ( IList ops ) : IList
ops IList
Результат IList

RuleRef() публичный Метод

public RuleRef ( IList ops ) : IList
ops IList
Результат IList

Sempred() публичный Метод

public Sempred ( IList ops ) : IList
ops IList
Результат IList

Set() публичный Метод

public Set ( IList ops ) : IList
ops IList
Результат IList

StringRef() публичный Метод

public StringRef ( IList ops ) : IList
ops IList
Результат IList

TokenRef() публичный Метод

public TokenRef ( IList ops ) : IList
ops IList
Результат IList

Wildcard() публичный Метод

public Wildcard ( IList ops ) : IList
ops IList
Результат IList

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

factory публичное свойство

public OutputModelFactory factory
Результат OutputModelFactory