【文件属性】:
文件名称:rocambole-whitespace:rocambole AST 空白操作的助手
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-18 06:26:09
JavaScript
rocambole-whitespace
操作 WhiteSpace令牌的助手。
主要由及其插件使用。
应用程序接口
var ws = require ( 'rocambole-whitespace' ) ;
设置选项(选项)
setOptions只是一种存储一些常量的方法,所以稍后在limit / limitBefore / limitAfter您可以通过 Id 引用这些值。
setOptions ( {
// sets "value" used by `WhiteSpace` tokens (defaults to single space)
value : ' ' ,
// values inside "before" are used by `limitBefore`
before : {
// setting to `0` will remov
【文件预览】:
rocambole-whitespace-master
----.gitignore(14B)
----package.json(888B)
----LICENSE.md(1KB)
----rocambole-whitespace.js(2KB)
----README.md(3KB)