diff options
Diffstat (limited to 'src/support/name.h')
-rw-r--r-- | src/support/name.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/support/name.h b/src/support/name.h index a22461d5d..8e3f7a291 100644 --- a/src/support/name.h +++ b/src/support/name.h @@ -58,6 +58,11 @@ struct Name : public IString { // TODO: Use C++23 `contains`. return str.find(substring.str) != std::string_view::npos; } + + std::ostream& print(std::ostream& o) const; + +private: + static bool isIDChar(char c); }; } // namespace wasm |