Lines Matching refs:hasPlugin
967 …if (code === 124 && next === 125 && this.hasPlugin("flow")) return this.finishOp(types.braceBarR, …
1064 if (this.hasPlugin("flow") && this.input.charCodeAt(this.state.pos + 1) === 124) {
1075 if (this.hasPlugin("functionBind") && this.input.charCodeAt(this.state.pos + 1) === 58) {
1591 Parser.prototype.hasPlugin = function hasPlugin(name) { method in Parser
1873 if (this.hasPlugin("dynamicImport") && this.lookahead().type === types.parenL) break;
1938 if (!this.hasPlugin("decorators")) {
2004 if (this.hasPlugin("asyncGenerators") && this.state.inAsync && this.isContextual("await")) {
2369 if (node.async && !this.hasPlugin("asyncGenerators")) {
2519 var isGenerator = this.hasPlugin("asyncGenerators") && this.eat(types.star);
2536 …} else if (this.hasPlugin("classConstructorCall") && isSimple && _key.name === "call" && this.matc…
2571 if (!this.hasPlugin("classProperties")) this.unexpected();
2611 if (this.hasPlugin("exportExtensions") && this.eatContextual("as")) {
2620 } else if (this.hasPlugin("exportExtensions") && this.isExportDefaultSpecifier()) {
3627 if (!this.hasPlugin("dynamicImport")) this.unexpected();
3671 if (this.hasPlugin("doExpressions")) {
3757 if (this.state.inGenerator && this.eat(types.dot) && this.hasPlugin("functionSent")) {
3930 if (!isTagged || !this.hasPlugin("templateInvalidEscapes")) {
3996 if (this.hasPlugin("objectRestSpread") && this.match(types.ellipsis)) {
4041 if (this.hasPlugin("asyncGenerators")) isGenerator = this.eat(types.star);