private static ParseResult Grammar(string source) { var lexer = new Hime.LinguLexer(source); var parser = new Hime.LinguParser(lexer); var result = parser.Parse(); return(result); }
/// <summary> /// Initializes a new instance of the parser /// </summary> /// <param name="lexer">The input lexer</param> public LinguParser(LinguLexer lexer) : base(commonAutomaton, variables, virtuals, null, lexer) { }