private void Initialize()
        {
            Location = 0;
            _chart   = new StateFrameChart();
            var kernelFrame = _precomputedGrammar.Start;

            Enqueue(Location, new StateFrame(kernelFrame, 0));
            Reduce(Location);
        }
Beispiel #2
0
 public MarpaParseEngine(PreComputedGrammar preComputedGrammar)
 {
     _preComputedGrammar = preComputedGrammar;
     Chart = new StateFrameChart();
     Initialize();
 }