Beispiel #1
0
        public override Lexem ReadNextLexem(SourceCodeIterator iterator)
        {
            iterator.MoveNext();
            System.Diagnostics.Debug.Assert(iterator.CurrentSymbol == '/');

            return(new Lexem()
            {
                Content = iterator.ReadToLineEnd(),
                Type = LexemType.Comment,
                Token = Token.NotAToken
            });
        }