Exemplo n.º 1
0
        private void RunTest(string input, bool expectEof)
        {
            if (expectEof)
            {
                _parsingContext.Expect(pc => pc.PushEof());
            }
            _orderedModeToken.Dispose();
            _mocks.ReplayAll();
            var stream = new StringReader(input);
            var sut    = new AhlLexer(_parsingContext, stream);

            sut.Run();
        }