Lines Matching refs:labels
1470 void Parser::DeclareLabel(ZonePtrList<const AstRawString>** labels,
1476 // TODO(1240780): We don't check for redeclaration of labels
1478 // labels requires nontrivial changes to the way scopes are
1481 if (ContainsLabel(*labels, label) || TargetStackContainsLabel(label)) {
1487 // Add {label} to both {labels} and {own_labels}.
1488 if (*labels == nullptr) {
1490 *labels = new (zone()) ZonePtrList<const AstRawString>(1, zone());
1497 (*labels)->Add(label, zone());
1506 bool Parser::ContainsLabel(ZonePtrList<const AstRawString>* labels,
1509 if (labels != nullptr) {
1510 for (int i = labels->length(); i-- > 0;) {
1511 if (labels->at(i) == label) return true;
2123 // labels: for (let/const x = i; cond; next) body
2143 // labels: for (; flag == 1; flag = 0, temp_x = x) {
2317 // Make statement: labels: for (; flag == 1; flag = 0, temp_x = x)
2318 // Note that we re-use the original loop node, which retains its labels
3376 if (ContainsLabel(t->statement()->labels(), label)) return true;
3388 (!anonymous && ContainsLabel(stat->labels(), label))) {
3407 if (ContainsLabel(stat->labels(), label)) break;