Lines Matching refs:unexpected
86 if (!declaration && this.options.ecmaVersion >= 6) this.unexpected()
89 if (!declaration) this.unexpected()
98 if (!declaration && kind != "var") this.unexpected()
136 else if (this.type !== tt.name) this.unexpected()
271 if (!cur) this.unexpected()
427 this.unexpected()
507 if (isGenerator) this.unexpected()
561 node.id = this.type === tt.name ? this.parseIdent() : isStatement ? this.unexpected() : null
575 node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected()
609 node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected()
614 this.unexpected(node.specifiers[i].local.start)
697 node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected()
737 if (this.isKeyword(node.local.name)) this.unexpected(node.local.start)