|
hoshi-lang dev
Yet another programming language
|
#include <iostream>#include <string>#include <string_view>#include <numeric>#include <format>
Go to the source code of this file.
Functions | |
| std::string | trim (const std::string &str) |
| size_t | find_all (const std::string &str, const std::string &sub) |
| std::string | replace_all (std::string str, const std::string &from, const std::string &to) |
| int | main () |
| size_t find_all | ( | const std::string & | str, |
| const std::string & | sub | ||
| ) |
Definition at line 21 of file string.cpp.
Referenced by main().

| int main | ( | ) |
Definition at line 49 of file string.cpp.
References find_all(), replace_all(), and trim().

| std::string replace_all | ( | std::string | str, |
| const std::string & | from, | ||
| const std::string & | to | ||
| ) |
Definition at line 36 of file string.cpp.
Referenced by visitor::getSpecializedMangledMethodName(), and main().

| std::string trim | ( | const std::string & | str | ) |
Definition at line 9 of file string.cpp.
Referenced by main().
