We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b19735b commit 4a0954fCopy full SHA for 4a0954f
1 file changed
wheel_lexer/include/wheel_lexer/utils.hxx
@@ -53,6 +53,10 @@ WHEEL_LEXER_NAMESPACE
53
return is_ident_start(character) || is_digit(character);
54
}
55
56
+ WHEEL_COMPTIME_NODISCARD_INLINE bool is_special_ident(char character) noexcept {
57
+ return character == 'r';
58
+ }
59
+
60
WHEEL_COMPTIME_NODISCARD_INLINE bool starts_with(String str, StrView prefix) noexcept {
61
return str.size() >= prefix.size() &&
62
std::equal(prefix.begin(), prefix.end(), str.begin());
0 commit comments