C# Class Antlr4.Codegen.CodeGeneratorExtension

Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
factory OutputModelFactory

Public Methods

Method Description
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

Method Details

Action() public method

public Action ( IList ops ) : IList
ops IList
return IList

Alternative() public method

public Alternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
outerMost bool
return Antlr4.Codegen.Model.CodeBlockForAlt

CodeGeneratorExtension() public method

public CodeGeneratorExtension ( OutputModelFactory factory ) : System.Collections.Generic
factory OutputModelFactory
return System.Collections.Generic

Epsilon() public method

public Epsilon ( CodeBlockForAlt blk ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
return Antlr4.Codegen.Model.CodeBlockForAlt

FinishAlternative() public method

public FinishAlternative ( CodeBlockForAlt blk, bool outerMost ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
outerMost bool
return Antlr4.Codegen.Model.CodeBlockForAlt

GetChoiceBlock() public method

public GetChoiceBlock ( Choice c ) : Choice
c Antlr4.Codegen.Model.Choice
return Antlr4.Codegen.Model.Choice

GetEBNFBlock() public method

public GetEBNFBlock ( Choice c ) : Choice
c Antlr4.Codegen.Model.Choice
return Antlr4.Codegen.Model.Choice

Lexer() public method

public Lexer ( Lexer l ) : Lexer
l Antlr4.Codegen.Model.Lexer
return Antlr4.Codegen.Model.Lexer

LexerFile() public method

public LexerFile ( LexerFile f ) : LexerFile
f Antlr4.Codegen.Model.LexerFile
return Antlr4.Codegen.Model.LexerFile

NeedsImplicitLabel() public method

public NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
ID Antlr4.Tool.Ast.GrammarAST
op LabeledOp
return bool

Parser() public method

public Parser ( Parser p ) : Parser
p Antlr4.Codegen.Model.Parser
return Antlr4.Codegen.Model.Parser

ParserFile() public method

public ParserFile ( ParserFile f ) : ParserFile
f Antlr4.Codegen.Model.ParserFile
return Antlr4.Codegen.Model.ParserFile

Rule() public method

public Rule ( RuleFunction rf ) : RuleFunction
rf Antlr4.Codegen.Model.RuleFunction
return Antlr4.Codegen.Model.RuleFunction

RulePostamble() public method

public RulePostamble ( IList ops ) : IList
ops IList
return IList

RuleRef() public method

public RuleRef ( IList ops ) : IList
ops IList
return IList

Sempred() public method

public Sempred ( IList ops ) : IList
ops IList
return IList

Set() public method

public Set ( IList ops ) : IList
ops IList
return IList

StringRef() public method

public StringRef ( IList ops ) : IList
ops IList
return IList

TokenRef() public method

public TokenRef ( IList ops ) : IList
ops IList
return IList

Wildcard() public method

public Wildcard ( IList ops ) : IList
ops IList
return IList

Property Details

factory public property

public OutputModelFactory factory
return OutputModelFactory