文件操作 - import.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/css-tree/lib/syntax/atrule/import.js
编辑文件内容
import { String as StringToken, Ident, Url, Function as FunctionToken, LeftParenthesis } from '../../tokenizer/index.js'; export default { parse: { prelude() { const children = this.createList(); this.skipSC(); switch (this.tokenType) { case StringToken: children.push(this.String()); break; case Url: case FunctionToken: children.push(this.Url()); break; default: this.error('String or url() is expected'); } if (this.lookupNonWSType(0) === Ident || this.lookupNonWSType(0) === LeftParenthesis) { children.push(this.MediaQueryList()); } return children; }, block: null } };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件