/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/cxx-api/parser/scope/temporary_scope_kind.py
21 строка
561 B
Dawid Małecki
Split scope definitions into smaller files (#56073)
18 мар 2026, 19:29
18 мар 2026, 19:29
62ce98d
Код
Авторство
О чём код?
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from __future__ import annotations from typing import TYPE_CHECKING from .base_scope_kind import ScopeKind if TYPE_CHECKING: from .scope import Scope class TemporaryScopeKind(ScopeKind): def __init__(self) -> None: super().__init__("temporary") def to_string(self, scope: Scope) -> str: raise RuntimeError("Temporary scope should not be printed")