C# 클래스 Antlr4.Codegen.BlankOutputModelFactory

상속: OutputModelFactory
파일 보기 프로젝트 열기: sharwell/antlr4cs

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetGenerator ( ) : CodeGenerator
GetTarget ( ) : AbstractTarget

메소드 상세

Action() 공개 메소드

public Action ( ActionAST ast ) : IList
ast Antlr4.Tool.Ast.ActionAST
리턴 IList

Alternative() 공개 메소드

public Alternative ( Alternative alt, bool outerMost ) : CodeBlockForAlt
alt Antlr4.Tool.Alternative
outerMost bool
리턴 Antlr4.Codegen.Model.CodeBlockForAlt

Epsilon() 공개 메소드

public Epsilon ( Alternative alt, bool outerMost ) : CodeBlockForAlt
alt Antlr4.Tool.Alternative
outerMost bool
리턴 Antlr4.Codegen.Model.CodeBlockForAlt

FinishAlternative() 공개 메소드

public FinishAlternative ( CodeBlockForAlt blk, IList ops ) : CodeBlockForAlt
blk Antlr4.Codegen.Model.CodeBlockForAlt
ops IList
리턴 Antlr4.Codegen.Model.CodeBlockForAlt

GetChoiceBlock() 공개 메소드

public GetChoiceBlock ( BlockAST blkAST, IList alts, GrammarAST label ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
label Antlr4.Tool.Ast.GrammarAST
리턴 Antlr4.Codegen.Model.Choice

GetCodeBlockLevel() 공개 추상적인 메소드

public abstract GetCodeBlockLevel ( ) : int
리턴 int

GetComplexChoiceBlock() 공개 메소드

public GetComplexChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
리턴 Antlr4.Codegen.Model.Choice

GetComplexEBNFBlock() 공개 메소드

public GetComplexEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
리턴 Antlr4.Codegen.Model.Choice

GetController() 공개 추상적인 메소드

public abstract GetController ( ) : OutputModelController
리턴 OutputModelController

GetCurrentBlock() 공개 추상적인 메소드

public abstract GetCurrentBlock ( ) : CodeBlock
리턴 Antlr4.Codegen.Model.Decl.CodeBlock

GetCurrentOuterMostAlt() 공개 추상적인 메소드

public abstract GetCurrentOuterMostAlt ( ) : Alternative
리턴 Antlr4.Tool.Alternative

GetCurrentOuterMostAlternativeBlock() 공개 추상적인 메소드

public abstract GetCurrentOuterMostAlternativeBlock ( ) : CodeBlockForOuterMostAlt
리턴 Antlr4.Codegen.Model.CodeBlockForOuterMostAlt

GetCurrentRuleFunction() 공개 추상적인 메소드

public abstract GetCurrentRuleFunction ( ) : RuleFunction
리턴 Antlr4.Codegen.Model.RuleFunction

GetEBNFBlock() 공개 메소드

public GetEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
리턴 Antlr4.Codegen.Model.Choice

GetGrammar() 공개 추상적인 메소드

public abstract GetGrammar ( ) : Grammar
리턴 Antlr4.Tool.Grammar

GetLL1ChoiceBlock() 공개 메소드

public GetLL1ChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
blkAST Antlr4.Tool.Ast.BlockAST
alts IList
리턴 Antlr4.Codegen.Model.Choice

GetLL1EBNFBlock() 공개 메소드

public GetLL1EBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
ebnfRoot Antlr4.Tool.Ast.GrammarAST
alts IList
리턴 Antlr4.Codegen.Model.Choice

GetLL1Test() 공개 메소드

public GetLL1Test ( Antlr4.Runtime.Misc.IntervalSet look, GrammarAST blkAST ) : IList
look Antlr4.Runtime.Misc.IntervalSet
blkAST Antlr4.Tool.Ast.GrammarAST
리턴 IList

GetRoot() 공개 추상적인 메소드

public abstract GetRoot ( ) : OutputModelObject
리턴 Antlr4.Codegen.Model.OutputModelObject

GetTreeLevel() 공개 추상적인 메소드

public abstract GetTreeLevel ( ) : int
리턴 int

Lexer() 공개 메소드

public Lexer ( LexerFile file ) : Lexer
file Antlr4.Codegen.Model.LexerFile
리턴 Antlr4.Codegen.Model.Lexer

LexerFile() 공개 메소드

public LexerFile ( string fileName ) : LexerFile
fileName string
리턴 Antlr4.Codegen.Model.LexerFile

NeedsImplicitLabel() 공개 메소드

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

Parser() 공개 메소드

public Parser ( ParserFile file ) : Parser
file Antlr4.Codegen.Model.ParserFile
리턴 Antlr4.Codegen.Model.Parser

ParserFile() 공개 메소드

public ParserFile ( string fileName ) : ParserFile
fileName string
리턴 Antlr4.Codegen.Model.ParserFile

Rule() 공개 메소드

public Rule ( Rule r ) : RuleFunction
r Antlr4.Tool.Rule
리턴 Antlr4.Codegen.Model.RuleFunction

RulePostamble() 공개 메소드

public RulePostamble ( RuleFunction function, Rule r ) : IList
function Antlr4.Codegen.Model.RuleFunction
r Antlr4.Tool.Rule
리턴 IList

RuleRef() 공개 메소드

public RuleRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
args Antlr4.Tool.Ast.GrammarAST
리턴 IList

Sempred() 공개 메소드

public Sempred ( ActionAST ast ) : IList
ast Antlr4.Tool.Ast.ActionAST
리턴 IList

Set() 공개 메소드

public Set ( GrammarAST setAST, GrammarAST label, bool invert ) : IList
setAST Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
invert bool
리턴 IList

SetController() 공개 추상적인 메소드

public abstract SetController ( OutputModelController controller ) : void
controller OutputModelController
리턴 void

StringRef() 공개 메소드

public StringRef ( GrammarAST ID, GrammarAST label ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
리턴 IList

TokenRef() 공개 메소드

public TokenRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
ID Antlr4.Tool.Ast.GrammarAST
label Antlr4.Tool.Ast.GrammarAST
args Antlr4.Tool.Ast.GrammarAST
리턴 IList

Wildcard() 공개 메소드

public Wildcard ( GrammarAST ast, GrammarAST labelAST ) : IList
ast Antlr4.Tool.Ast.GrammarAST
labelAST Antlr4.Tool.Ast.GrammarAST
리턴 IList