Lines Matching defs:label

404   BreakableStatementT LookupBreakTarget(IdentifierT label) {
405 bool anonymous = impl()->IsNull(label);
410 impl()->GetRawNameFromIdentifier(label)))) {
417 IterationStatementT LookupContinueTarget(IdentifierT label) {
418 bool anonymous = impl()->IsNull(label);
424 impl()->GetRawNameFromIdentifier(label))) {
693 const AstRawString* label) {
694 if (ContainsLabel(*labels, label) || TargetStackContainsLabel(label)) {
695 ReportMessage(MessageTemplate::kLabelRedeclaration, label);
699 // Add {label} to both {labels} and {own_labels}.
712 (*labels)->Add(label, zone());
713 (*own_labels)->Add(label, zone());
717 const AstRawString* label) {
718 DCHECK_NOT_NULL(label);
721 if (labels->at(i) == label) return true;
727 bool TargetStackContainsLabel(const AstRawString* label) {
729 if (ContainsLabel(t->labels(), label)) return true;
5245 // trivial labeled break statements 'label: break label' which is
5483 VariableProxy* label = expression_scope.variable_list()->at(0).first;
5484 impl()->DeclareLabel(&labels, &own_labels, label->raw_name());
5486 // Remove the "ghost" variable that turned out to be a label from the top
5489 this->scope()->DeleteUnresolved(label);
5563 IdentifierT label = impl()->NullIdentifier();
5568 label = ParseIdentifier();
5570 IterationStatementT target = LookupContinueTarget(label);
5574 BreakableStatementT breakable_target = LookupBreakTarget(label);
5575 if (impl()->IsNull(label)) {
5580 ReportMessage(message, label);
5597 IdentifierT label = impl()->NullIdentifier();
5602 label = ParseIdentifier();
5606 if (!impl()->IsNull(label) &&
5607 impl()->ContainsLabel(labels, impl()->GetRawNameFromIdentifier(label))) {
5611 BreakableStatementT target = LookupBreakTarget(label);
5615 if (!impl()->IsNull(label)) {
5618 ReportMessage(message, label);
5822 // An empty label indicates the default case.
5823 ExpressionT label = impl()->NullExpression();
5829 label = ParseExpression();
5847 auto clause = factory()->NewCaseClause(label, statements);