|
wren
Vulkan-based game engine
|
#include <string_reader.hpp>
Public Member Functions | |
| StringReader (const std::string_view &input) | |
| void | skip_to_text_end (const std::string_view &text) |
| void | skip_to_end_line () |
| auto | read_to_end_line () -> std::string_view |
| auto | read_to_text_start (const std::string_view &text) -> std::string_view |
| auto | read_to_text_end (const std::string_view &text) -> std::string_view |
| auto | at_end () const |
Private Member Functions | |
| auto | substr (std::string_view::size_type start, std::string_view::size_type end) -> std::string_view |
Private Attributes | |
| std::string_view | input_ |
| std::string_view::size_type | position_ {} |
|
inline |
|
inlinenodiscard |
| auto wren::utils::StringReader::read_to_end_line | ( | ) | -> std::string_view |

| auto wren::utils::StringReader::read_to_text_end | ( | const std::string_view & | text | ) | -> std::string_view |

| auto wren::utils::StringReader::read_to_text_start | ( | const std::string_view & | text | ) | -> std::string_view |

| void wren::utils::StringReader::skip_to_end_line | ( | ) |
| void wren::utils::StringReader::skip_to_text_end | ( | const std::string_view & | text | ) |
|
private |

|
private |
|
private |