Lines Matching defs:declaration
184 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
195 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
266 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
282 ThrowSyntaxError("struct declaration is not allowed to use 'abstract' modifiers.");
288 ThrowSyntaxError("struct declaration cannot extends form other class");
325 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
637 ThrowSyntaxError("A local class or interface declaration can not have access modifier",
648 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
693 ThrowSyntaxError("for-in loop variable declaration may not have an initializer");
700 ThrowSyntaxError("for-of loop variable declaration may not have an initializer");
945 // initNode was parsed as VariableDeclaration and declaration size = 1
1298 ThrowSyntaxError("for-await-of loop variable declaration may not have an initializer");
1337 ThrowSyntaxError("Unexpected token in variable declaration");
1365 ThrowSyntaxError("Missing initializer in const declaration");
1369 ThrowSyntaxError("Missing initializer in destructuring declaration");
1390 ThrowSyntaxError("Variable declaration expected.");
1431 auto *declaration =
1433 declaration->SetRange({startLoc, endLoc});
1435 return declaration;