lix-website/themes/lix/assets/bootstrap/node_modules/@stylelint/postcss-css-in-js/object-parse.js

16 lines
309 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'use strict';
const Input = require('postcss/lib/input');
const ObjectParser = require('./object-parser');
function objectParse(source, opts) {
const input = new Input(source, opts);
const parser = new ObjectParser(input);
parser.parse(opts.node);
return parser.root;
}
module.exports = objectParse;