C# 클래스 Antlr4.Analysis.LeftRecursiveRuleTransformer

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

공개 프로퍼티들

프로퍼티 타입 설명
PRECEDENCE_OPTION_NAME string
TOKENINDEX_OPTION_NAME string
ast Antlr4.Tool.Ast.GrammarRootAST
g Antlr4.Tool.Grammar
rules ICollection
tool AntlrTool

공개 메소드들

메소드 설명
LeftRecursiveRuleTransformer ( GrammarRootAST ast, ICollection rules, Grammar g ) : Antlr4.Misc
ParseArtificialRule ( Grammar g, string ruleText ) : RuleAST
SetAltASTPointers ( LeftRecursiveRule r, RuleAST t ) : void
TranslateLeftRecursiveRule ( GrammarRootAST ast, LeftRecursiveRule r, string language ) : bool
TranslateLeftRecursiveRules ( ) : void

메소드 상세

LeftRecursiveRuleTransformer() 공개 메소드

public LeftRecursiveRuleTransformer ( GrammarRootAST ast, ICollection rules, Grammar g ) : Antlr4.Misc
ast Antlr4.Tool.Ast.GrammarRootAST
rules ICollection
g Antlr4.Tool.Grammar
리턴 Antlr4.Misc

ParseArtificialRule() 공개 메소드

public ParseArtificialRule ( Grammar g, string ruleText ) : RuleAST
g Antlr4.Tool.Grammar
ruleText string
리턴 Antlr4.Tool.Ast.RuleAST

SetAltASTPointers() 공개 메소드

public SetAltASTPointers ( LeftRecursiveRule r, RuleAST t ) : void
r Antlr4.Tool.LeftRecursiveRule
t Antlr4.Tool.Ast.RuleAST
리턴 void

TranslateLeftRecursiveRule() 공개 메소드

public TranslateLeftRecursiveRule ( GrammarRootAST ast, LeftRecursiveRule r, string language ) : bool
ast Antlr4.Tool.Ast.GrammarRootAST
r Antlr4.Tool.LeftRecursiveRule
language string
리턴 bool

TranslateLeftRecursiveRules() 공개 메소드

public TranslateLeftRecursiveRules ( ) : void
리턴 void

프로퍼티 상세

PRECEDENCE_OPTION_NAME 공개적으로 정적으로 프로퍼티

public static string PRECEDENCE_OPTION_NAME
리턴 string

TOKENINDEX_OPTION_NAME 공개적으로 정적으로 프로퍼티

public static string TOKENINDEX_OPTION_NAME
리턴 string

ast 공개적으로 프로퍼티

public GrammarRootAST,Antlr4.Tool.Ast ast
리턴 Antlr4.Tool.Ast.GrammarRootAST

g 공개적으로 프로퍼티

public Grammar,Antlr4.Tool g
리턴 Antlr4.Tool.Grammar

rules 공개적으로 프로퍼티

public ICollection rules
리턴 ICollection

tool 공개적으로 프로퍼티

public AntlrTool tool
리턴 AntlrTool