C# 클래스 Antlr4.Codegen.ParserFactory

상속: DefaultOutputModelFactory
파일 보기 프로젝트 열기: sharwell/antlr4cs 1 사용 예제들

공개 메소드들

메소드 설명
Action ( ActionAST ast ) : IList
Alternative ( Alternative alt, bool outerMost ) : CodeBlockForAlt
DefineImplicitLabel ( GrammarAST ast, LabeledOp op ) : void
Epsilon ( Alternative alt, bool outerMost ) : CodeBlockForAlt
FinishAlternative ( CodeBlockForAlt blk, IList ops ) : CodeBlockForAlt
GetAddToListOpIfListLabelPresent ( LabeledOp op, GrammarAST label ) : AddToLabelList
GetChoiceBlock ( BlockAST blkAST, IList alts, GrammarAST labelAST ) : Choice
GetComplexChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
GetComplexEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetEBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetLL1ChoiceBlock ( BlockAST blkAST, IList alts ) : Choice
GetLL1EBNFBlock ( GrammarAST ebnfRoot, IList alts ) : Choice
GetLL1Test ( Antlr4.Runtime.Misc.IntervalSet look, GrammarAST blkAST ) : IList
GetTokenLabelDecl ( string label ) : Decl
GetTokenListLabelDecl ( string label ) : TokenListDecl
NeedsImplicitLabel ( GrammarAST ID, LabeledOp op ) : bool
Parser ( ParserFile file ) : Parser
ParserFactory ( CodeGenerator gen ) : System.Collections.Generic
ParserFile ( string fileName ) : ParserFile
Rule ( Rule r ) : RuleFunction
RuleRef ( GrammarAST ID, GrammarAST label, GrammarAST args ) : IList
Sempred ( ActionAST ast ) : IList
Set ( GrammarAST setAST, GrammarAST labelAST, bool invert ) : IList
TokenRef ( GrammarAST ID, GrammarAST labelAST, GrammarAST args ) : IList
Wildcard ( GrammarAST ast, GrammarAST labelAST ) : IList

메소드 상세

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

DefineImplicitLabel() 공개 메소드

public DefineImplicitLabel ( GrammarAST ast, LabeledOp op ) : void
ast Antlr4.Tool.Ast.GrammarAST
op LabeledOp
리턴 void

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

GetAddToListOpIfListLabelPresent() 공개 메소드

public GetAddToListOpIfListLabelPresent ( LabeledOp op, GrammarAST label ) : AddToLabelList
op LabeledOp
label Antlr4.Tool.Ast.GrammarAST
리턴 Antlr4.Codegen.Model.AddToLabelList

GetChoiceBlock() 공개 메소드

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

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

GetEBNFBlock() 공개 메소드

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

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

GetTokenLabelDecl() 공개 메소드

public GetTokenLabelDecl ( string label ) : Decl
label string
리턴 Antlr4.Codegen.Model.Decl.Decl

GetTokenListLabelDecl() 공개 메소드

public GetTokenListLabelDecl ( string label ) : TokenListDecl
label string
리턴 Antlr4.Codegen.Model.Decl.TokenListDecl

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

ParserFactory() 공개 메소드

public ParserFactory ( CodeGenerator gen ) : System.Collections.Generic
gen CodeGenerator
리턴 System.Collections.Generic

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

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 labelAST, bool invert ) : IList
setAST Antlr4.Tool.Ast.GrammarAST
labelAST Antlr4.Tool.Ast.GrammarAST
invert bool
리턴 IList

TokenRef() 공개 메소드

public TokenRef ( GrammarAST ID, GrammarAST labelAST, GrammarAST args ) : IList
ID Antlr4.Tool.Ast.GrammarAST
labelAST 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