Antlr3.Tool.Grammar.GetOption C# (CSharp) Method

GetOption() public method

public GetOption ( string key ) : object
key string
return object
        public virtual object GetOption( string key )
        {
            return composite.GetOption( key );
        }

Usage Example

 public LeftRecursiveRuleAnalyzer(ITreeNodeStream input, Grammar g, string ruleName)
     : base(input)
 {
     this.g = g;
     this.ruleName = ruleName;
     language = (string)g.GetOption("language");
     generator = new CodeGenerator(g.Tool, g, language);
     generator.LoadTemplates(language);
     recRuleTemplates = LoadPrecRuleTemplates(g.Tool);
 }
All Usage Examples Of Antlr3.Tool.Grammar::GetOption
Grammar