コード例 #1
0
        static TokenData ScanComment(TextInputRange input)
        {
            var comment = CommentScanner.Scan(input);

            Debug.Assert(comment);
            return(new TokenData {
                Range = input.Clone(), Type = Token.Comment
            });
        }