Sha256: 85ca1e5556450df123d541af68f0f0da65aaed0ac059f2b141ec03c52e862b21
Contents?: true
Size: 692 Bytes
Versions: 31
Compression:
Stored size: 692 Bytes
Contents
var TYPE = require('../../tokenizer').TYPE; var rawMode = require('../node/Raw').mode; var COMMA = TYPE.Comma; // var( <ident> , <value>? ) module.exports = function() { var children = this.createList(); this.scanner.skipSC(); // NOTE: Don't check more than a first argument is an ident, rest checks are for lexer children.push(this.Identifier()); this.scanner.skipSC(); if (this.scanner.tokenType === COMMA) { children.push(this.Operator()); children.push(this.parseCustomProperty ? this.Value(null) : this.Raw(this.scanner.tokenIndex, rawMode.exclamationMarkOrSemicolon, false) ); } return children; };
Version data entries
31 entries across 25 versions & 8 rubygems