Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function get () {
return traits.actualise(
1, 0, ':', undefined, [ 'key', 'value' ],
function (node) {
return safeName(node.key);
}
);
}
function get () {
return traits.actualise(
1, 0,
{
identifier: '=',
filter: function (node) {
return !!node.init;
}
},
undefined, [ 'id', 'init' ],
function (node) {
return safeName(node.id);
}
);
}
function get () {
return traits.actualise(
1, 0, 'function',
function (node) {
return safeName(node.id);
},
[ 'params', 'body' ], undefined, true
);
}
function get () {
return traits.actualise(
0, 0, 'function',
function (node) {
return safeName(node.id);
},
[ 'params', 'body' ], undefined, true
);
}
function get () {
return traits.actualise(1, 0, 'throw', undefined, [ 'argument' ]);
}
function get () {
return traits.actualise(
0, 0, undefined,
function (node) {
return node.name;
}
);
}
function get () {
return traits.actualise(
0, 0,
function (node) {
return node.operator;
},
undefined, [ 'left', 'right' ]
);
}
function get () {
return traits.actualise(
0, 0,
function (node) {
return node.operator + ' (' + (node.prefix ? 'pre' : 'post') + 'fix)';
},
undefined, [ 'argument' ]
);
}
function get () {
return traits.actualise(
0, 0,
function (node) {
return node.kind;
},
undefined, [ 'declarations' ]
);
}
function get () {
return traits.actualise(
0, 0,
function (node) {
return node.operator + ' (' + (node.prefix ? 'pre' : 'post') + 'fix)';
},
undefined, [ 'argument' ]
);
}