BLUE
PHP 7.4.33
Path:
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/css-tree/cjs/syntax/function
Run
Logout
Edit File
Size: 1.16 KB
Close
/var/www/cookieconsent.bitkit.dk/httpdocs/node_modules/css-tree/cjs/syntax/function/var.cjs
Text
Base64
'use strict'; const types = require('../../tokenizer/types.cjs'); // var( <ident> , <value>? ) function varFn() { const children = this.createList(); this.skipSC(); // NOTE: Don't check more than a first argument is an ident, rest checks are for lexer children.push(this.Identifier()); this.skipSC(); if (this.tokenType === types.Comma) { children.push(this.Operator()); const startIndex = this.tokenIndex; const value = this.parseCustomProperty ? this.Value(null) : this.Raw(this.tokenIndex, this.consumeUntilExclamationMarkOrSemicolon, false); if (value.type === 'Value' && value.children.isEmpty) { for (let offset = startIndex - this.tokenIndex; offset <= 0; offset++) { if (this.lookupType(offset) === types.WhiteSpace) { value.children.appendData({ type: 'WhiteSpace', loc: null, value: ' ' }); break; } } } children.push(value); } return children; } module.exports = varFn;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
expression.cjs
218 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
var.cjs
1.16 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
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).