Searched refs:labelName (Results 1 – 8 of 8) sorted by relevance
125 let labelName = jshelpers.getTextOfIdentifierOrLiteral(labeledStmt.label);128 if (LabelTarget.name2LabelTarget.has(labelName)) {132 LabelTarget.name2LabelTarget.set(labelName, labelTarget);137 static deleteName2LabelTarget(labelName: string): void {138 LabelTarget.name2LabelTarget.delete(labelName);148 let labelName = jshelpers.getTextOfIdentifierOrLiteral(stmt.label);149 labelTarget = LabelTarget.name2LabelTarget.get(labelName)!;
171 let labelName: string;173 labelName = this.labelPrefix + this.labelId++;174 this.labels.set(label.id, labelName);176 labelName = this.labels.get(label.id)!;178 return labelName;182 let labelName = this.getLabelName(label);183 this.output += labelName + ":\n";
128 let labelName = Ts2Panda.labelPrefix + operand.id;129 insIds.push(labelName);147 let labelName = Ts2Panda.labelPrefix + operand.id;148 insIds.push(labelName);
592 let labelName: string = jshelpers.getTextOfIdentifierOrLiteral(stmt.label);611 LabelTarget.deleteName2LabelTarget(labelName);
285 let labelName: string = '$' + scope.labels.length + '_' + node.label.text;288 'locInfo': labelName,528 let labelName: string = node?.label?.text ?? '';529 let label: Label = findTargetLabel(labelName);541 function findTargetLabel(labelName: string): Label | null {542 if (!labelName) {548 while (label && label?.name !== labelName) {
368 let labelName: string = '';373 labelName = value;377 return label ? factory.createIdentifier(labelName) : node;
749 util::StringView labelName = label ? label->Name() : LabelTarget::BREAK_LABEL; in ControlFlowChangeBreak() local753 iter->AbortContext(ControlFlowChange::BREAK, labelName); in ControlFlowChangeBreak()761 if (labelTargetName == labelName) { in ControlFlowChangeBreak()774 util::StringView labelName = label ? label->Name() : LabelTarget::CONTINUE_LABEL; in ControlFlowChangeContinue() local778 iter->AbortContext(ControlFlowChange::CONTINUE, labelName); in ControlFlowChangeContinue()786 if (labelTargetName == labelName) { in ControlFlowChangeContinue()
582 auto labelName = labels[i].asString(); in ParseFunctionLabels() local583 auto pandaLabel = MakeLabel(labelName); in ParseFunctionLabels()585 Logd("label_name:\t%s", labelName.c_str()); in ParseFunctionLabels()586 pandaFunc.label_table.emplace(labelName, pandaLabel); in ParseFunctionLabels()