Antlr4.Tool.Ast.GrammarASTWithOptions.GetOptionAST C# (CSharp) Method

GetOptionAST() public method

public GetOptionAST ( string key ) : GrammarAST
key string
return GrammarAST
        public virtual GrammarAST GetOptionAST(string key)
        {
            if (options == null)
                return null;

            GrammarAST value;
            if (!options.TryGetValue(key, out value))
                return null;

            return value;
        }