/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
private/react-native-fantom/tester/src/AppSettings.h
38 строк
983 B
Rubén Norte
Add an interactive REPL for Fantom (yarn fantom-cli) (#57387)
01 июл 2026, 18:18
01 июл 2026, 18:18
2bb7dbb
Код
Авторство
О чём код?
/* * 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. */ #include <folly/dynamic.h> #include <optional> #include <string> namespace facebook::react { class AppSettings { public: static unsigned int windowWidth; static unsigned int windowHeight; // Minimum log level for the messages logged to glog/logging. static int minLogLevel; static std::string defaultBundlePath; static std::optional<unsigned int> inspectorPort; // When true, the tester loads the bundle as a warm-up environment (without // running tests) and then reads JS snippets to evaluate from stdin, acting // as an interactive REPL. See `fantom-cli`. static bool interactive; static std::optional<folly::dynamic> dynamicFeatureFlags; static void init(int argc, char *argv[]); private: static void initInternal(); }; } // namespace facebook::react