#include <share/defines.h>
#include <cstdint>
#include <iterator>
#include <map>
#include <stdexcept>
#include <string>
#include <vector>
#include <sstream>
#include <stack>
#include <memory>
#include <mutex>
#include "magic_enum.h"
#include <share/utfutils.hpp>
#include <share/whereami.h>
#include <filesystem>
Go to the source code of this file.
|
| using | wstr = std::wstring |
| |
| using | wchar = wstr::value_type |
| |
| using | vdeci = double |
| |
| using | indexT = uint64_t |
| |
| template<typename t > |
| using | vec = std::vector< t > |
| |
|
| void | parseString (std::wistream &input, wstr &value) |
| |
| wstr | escapeString (const wstr &value) |
| |
| template<typename T > |
| std::basic_string< T > | trim (const std::basic_string< T > &str) |
| |
| void | set_current_file_path (const std::wstring &path) |
| |
| std::wstring | get_line_hint_for_error (const std::wstring &file, yoi::indexT line, yoi::indexT col) |
| |
| void | panic (yoi::indexT line, yoi::indexT col, const std::string &msg) |
| |
| void | warning (yoi::indexT line, yoi::indexT col, const std::string &msg, const std::string &label) |
| |
| void | yoi_assert (bool condition, yoi::indexT line, yoi::indexT col, const std::string &msg) |
| | Asserts a condition that would be true and throws a runtime_error if it is false.
|
| |
| std::wstring | string2wstring (const std::string &v) |
| |
| std::string | wstring2string (const std::wstring &v) |
| |
| std::wstring | whereIsHoshiLang () |
| |
| template<typename T > |
| std::shared_ptr< T > | managedPtr (const T &v) |
| |
| yoi::wstr | realpath (const std::wstring &path) |
| |
| template<typename string_t > |
| void | replace_all (string_t &str, const string_t &from, const string_t &to) |
| |
◆ YOI_ARCH
| #define YOI_ARCH "unknown" |
◆ YOI_DYLIB_SUFFIX
| #define YOI_DYLIB_SUFFIX "so" |
◆ YOI_PLATFORM
| #define YOI_PLATFORM "unknown" |