C# Class Antlr4.Tool.LeftRecursiveRule

Inheritance: Rule
Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
leftRecursiveRuleRefLabels string>>.IList
originalAST Antlr4.Tool.Ast.RuleAST
recOpAlts LeftRecursiveRuleAltInfo>.OrderedHashMap
recPrimaryAlts IList

Public Methods

Method Description
GetAltLabels ( ) : IDictionary>>
GetOriginalAST ( ) : RuleAST
GetOriginalNumberOfAlts ( ) : int
GetPrimaryAlts ( ) : int[]
GetRecursiveOpAlts ( ) : int[]
GetUnlabeledAltASTs ( ) : IList
HasAltSpecificContexts ( ) : bool
LeftRecursiveRule ( Grammar g, string name, RuleAST ast ) : System.Collections.Generic

Method Details

GetAltLabels() public method

public GetAltLabels ( ) : IDictionary>>
return IDictionary>>

GetOriginalAST() public method

public GetOriginalAST ( ) : RuleAST
return Antlr4.Tool.Ast.RuleAST

GetOriginalNumberOfAlts() public method

public GetOriginalNumberOfAlts ( ) : int
return int

GetPrimaryAlts() public method

public GetPrimaryAlts ( ) : int[]
return int[]

GetRecursiveOpAlts() public method

public GetRecursiveOpAlts ( ) : int[]
return int[]

GetUnlabeledAltASTs() public method

public GetUnlabeledAltASTs ( ) : IList
return IList

HasAltSpecificContexts() public method

public HasAltSpecificContexts ( ) : bool
return bool

LeftRecursiveRule() public method

public LeftRecursiveRule ( Grammar g, string name, RuleAST ast ) : System.Collections.Generic
g Grammar
name string
ast Antlr4.Tool.Ast.RuleAST
return System.Collections.Generic

Property Details

leftRecursiveRuleRefLabels public property

public IList> leftRecursiveRuleRefLabels
return string>>.IList

originalAST public property

public RuleAST,Antlr4.Tool.Ast originalAST
return Antlr4.Tool.Ast.RuleAST

recOpAlts public property

public OrderedHashMap recOpAlts
return LeftRecursiveRuleAltInfo>.OrderedHashMap

recPrimaryAlts public property

public IList recPrimaryAlts
return IList