C# 클래스 Antlr4.Analysis.LeftFactoringRuleTransformer

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

공개 프로퍼티들

프로퍼티 타입 설명
LEFTFACTOR string
SUPPRESS_ACCESSOR string
_ast Antlr4.Tool.Ast.GrammarRootAST
_g Antlr4.Tool.Grammar
_rules Rule>.IDictionary
_tool AntlrTool

공개 메소드들

메소드 설명
LeftFactoringRuleTransformer ( [ ast, Rule>.[ rules, [ g ) : System.Collections.Generic
TranslateLeftFactoredRules ( ) : void

보호된 메소드들

메소드 설명
CreateLeftFactoredRuleVariant ( Rule rule, string factoredElement ) : RuleVariants
ExpandOptionalQuantifiersForAlt ( GrammarAST alt ) : GrammarAST
ExpandOptionalQuantifiersForBlock ( GrammarAST block, bool variant ) : bool
TranslateLeftFactoredAlternative ( GrammarAST alternative, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : GrammarAST
TranslateLeftFactoredDecision ( GrammarAST block, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : bool
TranslateLeftFactoredElement ( GrammarAST element, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : GrammarAST

메소드 상세

CreateLeftFactoredRuleVariant() 보호된 메소드

protected CreateLeftFactoredRuleVariant ( Rule rule, string factoredElement ) : RuleVariants
rule Antlr4.Tool.Rule
factoredElement string
리턴 RuleVariants

ExpandOptionalQuantifiersForAlt() 보호된 메소드

protected ExpandOptionalQuantifiersForAlt ( GrammarAST alt ) : GrammarAST
alt Antlr4.Tool.Ast.GrammarAST
리턴 Antlr4.Tool.Ast.GrammarAST

ExpandOptionalQuantifiersForBlock() 보호된 메소드

protected ExpandOptionalQuantifiersForBlock ( GrammarAST block, bool variant ) : bool
block Antlr4.Tool.Ast.GrammarAST
variant bool
리턴 bool

LeftFactoringRuleTransformer() 공개 메소드

public LeftFactoringRuleTransformer ( [ ast, Rule>.[ rules, [ g ) : System.Collections.Generic
ast [
rules Rule>.[
g [
리턴 System.Collections.Generic

TranslateLeftFactoredAlternative() 보호된 메소드

protected TranslateLeftFactoredAlternative ( GrammarAST alternative, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : GrammarAST
alternative Antlr4.Tool.Ast.GrammarAST
factoredRule string
variant bool
mode DecisionFactorMode
includeFactoredElement bool
리턴 Antlr4.Tool.Ast.GrammarAST

TranslateLeftFactoredDecision() 보호된 메소드

protected TranslateLeftFactoredDecision ( GrammarAST block, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : bool
block Antlr4.Tool.Ast.GrammarAST
factoredRule string
variant bool
mode DecisionFactorMode
includeFactoredElement bool
리턴 bool

TranslateLeftFactoredElement() 보호된 메소드

protected TranslateLeftFactoredElement ( GrammarAST element, string factoredRule, bool variant, DecisionFactorMode mode, bool includeFactoredElement ) : GrammarAST
element Antlr4.Tool.Ast.GrammarAST
factoredRule string
variant bool
mode DecisionFactorMode
includeFactoredElement bool
리턴 Antlr4.Tool.Ast.GrammarAST

TranslateLeftFactoredRules() 공개 메소드

public TranslateLeftFactoredRules ( ) : void
리턴 void

프로퍼티 상세

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

public static string LEFTFACTOR
리턴 string

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

public static string SUPPRESS_ACCESSOR
리턴 string

_ast 공개적으로 프로퍼티

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

_g 공개적으로 프로퍼티

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

_rules 공개적으로 프로퍼티

public IDictionary _rules
리턴 Rule>.IDictionary

_tool 공개적으로 프로퍼티

public AntlrTool _tool
리턴 AntlrTool