template-parser.js 264 B

12345678910
  1. "use strict";
  2. const Parser = require("postcss/lib/parser");
  3. const templateTokenize = require("./template-tokenize");
  4. class TemplateParser extends Parser {
  5. createTokenizer() {
  6. this.tokenizer = templateTokenize(this.input);
  7. }
  8. }
  9. module.exports = TemplateParser;