Something went wrong. Try again.
EtykietyAR
Something went wrong. Try again.
12345678910111213141516171819202122232425'use strict'
let Node = require('./node')
class Declaration extends Node { get variable() { return this.prop.startsWith('--') || this.prop[0] === '$' }
constructor(defaults) { if ( defaults && typeof defaults.value !== 'undefined' && typeof defaults.value !== 'string' ) { defaults = { ...defaults, value: String(defaults.value) } } super(defaults) this.type = 'decl' }}
module.exports = DeclarationDeclaration.default = Declaration