BLUE
PHP 7.4.33
Path:
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/css-tree/lib/syntax
Run
Logout
Edit File
Size: 1.47 KB
Close
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/css-tree/lib/syntax/create.js
Text
Base64
import { tokenize } from '../tokenizer/index.js'; import { createParser } from '../parser/create.js'; import { createGenerator } from '../generator/create.js'; import { createConvertor } from '../convertor/create.js'; import { createWalker } from '../walker/create.js'; import { Lexer } from '../lexer/Lexer.js'; import mix from './config/mix.js'; function createSyntax(config) { const parse = createParser(config); const walk = createWalker(config); const generate = createGenerator(config); const { fromPlainObject, toPlainObject } = createConvertor(walk); const syntax = { lexer: null, createLexer: config => new Lexer(config, syntax, syntax.lexer.structure), tokenize, parse, generate, walk, find: walk.find, findLast: walk.findLast, findAll: walk.findAll, fromPlainObject, toPlainObject, fork(extension) { const base = mix({}, config); // copy of config return createSyntax( typeof extension === 'function' ? extension(base, Object.assign) : mix(base, extension) ); } }; syntax.lexer = new Lexer({ generic: true, units: config.units, types: config.types, atrules: config.atrules, properties: config.properties, node: config.node }, syntax); return syntax; }; export default config => createSyntax(mix({}, config));
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
atrule
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
config
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
function
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
node
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pseudo
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
scope
DIR
-
drwxr-xr-x
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
create.js
1.47 KB
lrw-r--r--
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
275 B
lrw-r--r--
2025-06-16 05:45:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).