예제 #1
0
        public IEnumerable <Statement> Parse()
        {
            while (!_reader.EndOfStream)
            {
                var statement = _statementParser.ReadStatement();

                if (statement != null)
                {
                    yield return(statement);
                }
            }
        }