1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-09 16:37:20 -05:00
notes/node_modules/postcss-less/dist/less-parse.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

27 lines
646 B
JavaScript
Executable File

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = lessParse;
var _input = require('postcss/lib/input');
var _input2 = _interopRequireDefault(_input);
var _lessParser = require('./less-parser');
var _lessParser2 = _interopRequireDefault(_lessParser);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function lessParse(less, opts) {
var input = new _input2.default(less, opts);
var parser = new _lessParser2.default(input, opts);
parser.tokenize();
parser.loop();
return parser.root;
}
module.exports = exports['default'];