Lines Matching refs:raise
108 this.raise(this.start, "'import' and 'export' may only appear at the top level")
110 this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")
151 if (i === this.labels.length) this.raise(node.start, "Unsyntactic " + keyword)
232 this.raise(this.start, "'return' outside of function")
284 this.raise(this.lastTokEnd, "Illegal newline after throw")
310 this.raise(node.start, "Missing catch or finally clause")
331 if (this.strict) this.raise(this.start, "'with' in strict mode")
345 …if (this.labels[i].name === maybeName) this.raise(expr.start, "Label '" + maybeName + "' is alread…
429 this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value")
528 if (hadConstructor) this.raise(key.start, "Duplicate constructor in the same class")
529 if (isGetSet) this.raise(key.start, "Constructor can't have get/set modifier")
530 if (isGenerator) this.raise(key.start, "Constructor can't be a generator")
531 if (isAsync) this.raise(key.start, "Constructor can't be an async method")