示例#1
0
        public bool Parse()
        {
            var parseEngine = new ParseEngine(_grammar);
            var parseRunner = new ParseRunner(parseEngine, _sampleBnf);

            return(parseRunner.RunToEnd());
        }
示例#2
0
        private bool RunParse(IParseEngine parseEngine, string input)
        {
            var parseRunner = new ParseRunner(parseEngine, input);

            return(parseRunner.RunToEnd());
        }