zhangnaisong
2024-05-27 a3d274cc185968709ff240cd77a11a31df045183
1
2
3
4
5
6
7
8
9
10
"use strict";
 
var convertTemplateType = require("./convertTemplateType");
var toToken = require("./toToken");
 
module.exports = function(tokens, tt, code) {
  return convertTemplateType(tokens, tt)
    .filter(t => t.type !== "CommentLine" && t.type !== "CommentBlock")
    .map(t => toToken(t, tt, code));
};