function _compileAtrule(name) {
            var re = new RegExp('^@' + name + '\\s*([^;]+);');
            return function () {
                var pos = position();
                var m = match(re);
                if (!m)
                    return;
                var ret = { type: name };
                ret[name] = m[1].trim();
                return pos(ret);
            };
        }
/**
         * Parse non-block at-rules
         */
Parse non-block at-rules
Parse non - block at - rules
function _compileAtrule(name) {
            var re = new RegExp('^@' + name + '\\s*([^;]+);');
            return function () {
                var pos = position();
                var m = match(re);
                if (!m)
                    return;
                var ret = { type: name };
                ret[name] = m[1].trim();
                return pos(ret);
            };
        }
function _compileAtrule ( name ) { var re = new RegExp ( '^@' + name + '\\s*([^;]+);' ) ; return function ( ) { var pos = position ( ) ; var m = match ( re ) ; if ( ! m ) return ; var ret = { type : name } ; ret [ name ] = m [ 1 ] . trim ( ) ; return pos ( ret ) ; } ; }
Parse non-block at-rules
Parse non - block at - rules