文件操作 - String.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/csso/node_modules/css-tree/lib/syntax/node/String.js
编辑文件内容
import { String as StringToken } from '../../tokenizer/index.js'; import { decode, encode } from '../../utils/string.js'; export const name = 'String'; export const structure = { value: String }; export function parse() { return { type: 'String', loc: this.getLocation(this.tokenStart, this.tokenEnd), value: decode(this.consume(StringToken)) }; } export function generate(node) { this.token(StringToken, encode(node.value)); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件