You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
311 B
11 lines
311 B
5 years ago
|
"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));
|
||
|
};
|