C# Class Antlr4.Codegen.BlankOutputModelFactory

Inheritance: OutputModelFactory
Afficher le fichier Open project: sharwell/antlr4cs

Méthodes publiques

Méthode Description
Action ( ActionAST ast ) : IList
Alternative ( Alternative alt, bool outerMost ) : CodeBlockForAlt
Epsilon ( Alternative alt, bool outerMost ) : CodeBlockForAlt
FinishAlternative ( CodeBlockForAlt blk, IList ops ) : CodeBlockForAlt
GetChoiceBlock ( BlockAST blkAST, IList alts, GrammarAST label ) : Choice
GetCodeBlockLevel ( ) : int
GetComplexChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
GetComplexEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetController ( ) : OutputModelController
GetCurrentBlock ( ) : CodeBlock
GetCurrentOuterMostAlt ( ) : Alternative
GetCurrentOuterMostAlternativeBlock ( ) : CodeBlockForOuterMostAlt
GetCurrentRuleFunction ( ) : RuleFunction
GetEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetGrammar ( ) : Grammar
GetLL1ChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
GetLL1EBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetLL1Test ( Antlr4.Runtime.Misc.IntervalSet look, GrammarAST blkAST ) : IList
GetRoot ( ) : OutputModelObject
GetTreeLevel ( ) : int
Lexer ( LexerFile file ) : Lexer
LexerFile ( string fileName ) : LexerFile
NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
Parser ( ParserFile file ) : Parser
ParserFile ( string fileName ) : ParserFile
Rule ( Rule r ) : RuleFunction
RulePostamble ( RuleFunction function, Rule r ) : IList
RuleRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
Sempred ( ActionAST ast ) : IList
Set ( GrammarAST setAST, GrammarAST label, bool invert ) : IList
SetController ( OutputModelController controller ) : void
StringRef ( GrammarAST ID, GrammarAST label ) : IList
TokenRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
Wildcard ( GrammarAST ast, GrammarAST labelAST ) : IList

Private Methods

Méthode Description
GetGenerator ( ) : CodeGenerator
GetTarget ( ) : AbstractTarget

Method Details

Action() public méthode

public Action ( ActionAST ast ) : IList
ast Antlr4.Tool.Ast.ActionAST
Résultat IList

Alternative() public méthode

public Alternative ( Alternative alt, bool outerMost ) : CodeBlockForAlt
alt Antlr4.Tool.Alternative
outerMost bool
Résultat Antlr4.Codegen.Model.CodeBlockForAlt

Epsilon() public méthode

public Epsilon ( Alternative alt, bool outerMost ) : CodeBlockForAlt
alt Antlr4.Tool.Alternative
outerMost bool
Résultat Antlr4.Codegen.Model.CodeBlockForAlt

FinishAlternative() public méthode

public FinishAlternative ( CodeBlockForAlt blk, IList ops ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
ops IList
Résultat Antlr4.Codegen.Model.CodeBlockForAlt

GetChoiceBlock() public méthode

public GetChoiceBlock ( BlockAST blkAST, IList alts, GrammarAST label ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
label Antlr4.Tool.Ast.GrammarAST
Résultat Antlr4.Codegen.Model.Choice

GetCodeBlockLevel() public abstract méthode

public abstract GetCodeBlockLevel ( ) : int
Résultat int

GetComplexChoiceBlock() public méthode

public GetComplexChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
Résultat Antlr4.Codegen.Model.Choice

GetComplexEBNFBlock() public méthode

public GetComplexEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
Résultat Antlr4.Codegen.Model.Choice

GetController() public abstract méthode

public abstract GetController ( ) : OutputModelController
Résultat OutputModelController

GetCurrentBlock() public abstract méthode

public abstract GetCurrentBlock ( ) : CodeBlock
Résultat Antlr4.Codegen.Model.Decl.CodeBlock

GetCurrentOuterMostAlt() public abstract méthode

public abstract GetCurrentOuterMostAlt ( ) : Alternative
Résultat Antlr4.Tool.Alternative

GetCurrentOuterMostAlternativeBlock() public abstract méthode

public abstract GetCurrentOuterMostAlternativeBlock ( ) : CodeBlockForOuterMostAlt
Résultat Antlr4.Codegen.Model.CodeBlockForOuterMostAlt

GetCurrentRuleFunction() public abstract méthode

public abstract GetCurrentRuleFunction ( ) : RuleFunction
Résultat Antlr4.Codegen.Model.RuleFunction

GetEBNFBlock() public méthode

public GetEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
Résultat Antlr4.Codegen.Model.Choice

GetGrammar() public abstract méthode

public abstract GetGrammar ( ) : Grammar
Résultat Antlr4.Tool.Grammar

GetLL1ChoiceBlock() public méthode

public GetLL1ChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
Résultat Antlr4.Codegen.Model.Choice

GetLL1EBNFBlock() public méthode

public GetLL1EBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
Résultat Antlr4.Codegen.Model.Choice

GetLL1Test() public méthode

public GetLL1Test ( Antlr4.Runtime.Misc.IntervalSet look, GrammarAST blkAST ) : IList
look Antlr4.Runtime.Misc.IntervalSet
blkAST Antlr4.Tool.Ast.GrammarAST
Résultat IList

GetRoot() public abstract méthode

public abstract GetRoot ( ) : OutputModelObject
Résultat Antlr4.Codegen.Model.OutputModelObject

GetTreeLevel() public abstract méthode

public abstract GetTreeLevel ( ) : int
Résultat int

Lexer() public méthode

public Lexer ( LexerFile file ) : Lexer
file Antlr4.Codegen.Model.LexerFile
Résultat Antlr4.Codegen.Model.Lexer

LexerFile() public méthode

public LexerFile ( string fileName ) : LexerFile
fileName string
Résultat Antlr4.Codegen.Model.LexerFile

NeedsImplicitLabel() public méthode

public NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
ID Antlr4.Tool.Ast.GrammarAST
op LabeledOp
Résultat bool

Parser() public méthode

public Parser ( ParserFile file ) : Parser
file Antlr4.Codegen.Model.ParserFile
Résultat Antlr4.Codegen.Model.Parser

ParserFile() public méthode

public ParserFile ( string fileName ) : ParserFile
fileName string
Résultat Antlr4.Codegen.Model.ParserFile

Rule() public méthode

public Rule ( Rule r ) : RuleFunction
r Antlr4.Tool.Rule
Résultat Antlr4.Codegen.Model.RuleFunction

RulePostamble() public méthode

public RulePostamble ( RuleFunction function, Rule r ) : IList
function Antlr4.Codegen.Model.RuleFunction
r Antlr4.Tool.Rule
Résultat IList

RuleRef() public méthode

public RuleRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
args Antlr4.Tool.Ast.GrammarAST
Résultat IList

Sempred() public méthode

public Sempred ( ActionAST ast ) : IList
ast Antlr4.Tool.Ast.ActionAST
Résultat IList

Set() public méthode

public Set ( GrammarAST setAST, GrammarAST label, bool invert ) : IList
setAST Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
invert bool
Résultat IList

SetController() public abstract méthode

public abstract SetController ( OutputModelController controller ) : void
controller OutputModelController
Résultat void

StringRef() public méthode

public StringRef ( GrammarAST ID, GrammarAST label ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
Résultat IList

TokenRef() public méthode

public TokenRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
args Antlr4.Tool.Ast.GrammarAST
Résultat IList

Wildcard() public méthode

public Wildcard ( GrammarAST ast, GrammarAST labelAST ) : IList
ast Antlr4.Tool.Ast.GrammarAST
labelAST Antlr4.Tool.Ast.GrammarAST
Résultat IList