C# Class Antlr4.Analysis.LeftRecursiveRuleTransformer

Afficher le fichier Open project: sharwell/antlr4cs Class Usage Examples

Méthodes publiques

Свойство Type Description
PRECEDENCE_OPTION_NAME string
TOKENINDEX_OPTION_NAME string
ast Antlr4.Tool.Ast.GrammarRootAST
g Antlr4.Tool.Grammar
rules ICollection
tool AntlrTool

Méthodes publiques

Méthode Description
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

Method Details

LeftRecursiveRuleTransformer() public méthode

public LeftRecursiveRuleTransformer ( GrammarRootAST ast, ICollection rules, Grammar g ) : Antlr4.Misc
ast Antlr4.Tool.Ast.GrammarRootAST
rules ICollection
g Antlr4.Tool.Grammar
Résultat Antlr4.Misc

ParseArtificialRule() public méthode

public ParseArtificialRule ( Grammar g, string ruleText ) : RuleAST
g Antlr4.Tool.Grammar
ruleText string
Résultat Antlr4.Tool.Ast.RuleAST

SetAltASTPointers() public méthode

public SetAltASTPointers ( LeftRecursiveRule r, RuleAST t ) : void
r Antlr4.Tool.LeftRecursiveRule
t Antlr4.Tool.Ast.RuleAST
Résultat void

TranslateLeftRecursiveRule() public méthode

public TranslateLeftRecursiveRule ( GrammarRootAST ast, LeftRecursiveRule r, string language ) : bool
ast Antlr4.Tool.Ast.GrammarRootAST
r Antlr4.Tool.LeftRecursiveRule
language string
Résultat bool

TranslateLeftRecursiveRules() public méthode

public TranslateLeftRecursiveRules ( ) : void
Résultat void

Property Details

PRECEDENCE_OPTION_NAME public_oe static_oe property

public static string PRECEDENCE_OPTION_NAME
Résultat string

TOKENINDEX_OPTION_NAME public_oe static_oe property

public static string TOKENINDEX_OPTION_NAME
Résultat string

ast public_oe property

public GrammarRootAST,Antlr4.Tool.Ast ast
Résultat Antlr4.Tool.Ast.GrammarRootAST

g public_oe property

public Grammar,Antlr4.Tool g
Résultat Antlr4.Tool.Grammar

rules public_oe property

public ICollection rules
Résultat ICollection

tool public_oe property

public AntlrTool tool
Résultat AntlrTool