You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
457 B
22 lines
457 B
2 years ago
|
function merge() {
|
||
|
var dest = {};
|
||
|
|
||
|
for (var i = 0; i < arguments.length; i++) {
|
||
|
var src = arguments[i];
|
||
|
for (var key in src) {
|
||
|
dest[key] = src[key];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return dest;
|
||
|
}
|
||
|
|
||
|
module.exports = require('./create').create(
|
||
|
merge(
|
||
|
require('./config/lexer'),
|
||
|
require('./config/parser'),
|
||
|
require('./config/walker')
|
||
|
)
|
||
|
);
|
||
|
module.exports.version = require('../../package.json').version;
|