in lib/generator.js [4083:4102]
isNotBuiltin(ast) {
if(ast.type === 'call') {
if (ast.left.type === 'method_call') {
const name = _format(_name(ast.left.id));
if (name.startsWith('$') && this.builtin[name]) {
return false;
}
} else if (ast.left.type === 'instance_call') {
if(ast.builtinModule && this.builtin[ast.builtinModule]) {
return false;
}
} else if (ast.left.type === 'static_call') {
if(ast.left.id.type === 'builtin_module') {
return false;
}
}
}
return true;
}