🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
31
node_modules/@babel/parser/lib/plugins/v8intrinsic.js
generated
vendored
Normal file
31
node_modules/@babel/parser/lib/plugins/v8intrinsic.js
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _types = require("../tokenizer/types");
|
||||
var _default = superClass => class V8IntrinsicMixin extends superClass {
|
||||
parseV8Intrinsic() {
|
||||
if (this.match(54)) {
|
||||
const v8IntrinsicStartLoc = this.state.startLoc;
|
||||
const node = this.startNode();
|
||||
this.next();
|
||||
if ((0, _types.tokenIsIdentifier)(this.state.type)) {
|
||||
const name = this.parseIdentifierName();
|
||||
const identifier = this.createIdentifier(node, name);
|
||||
identifier.type = "V8IntrinsicIdentifier";
|
||||
if (this.match(10)) {
|
||||
return identifier;
|
||||
}
|
||||
}
|
||||
this.unexpected(v8IntrinsicStartLoc);
|
||||
}
|
||||
}
|
||||
parseExprAtom(refExpressionErrors) {
|
||||
return this.parseV8Intrinsic() || super.parseExprAtom(refExpressionErrors);
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
|
||||
//# sourceMappingURL=v8intrinsic.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue