8 #ifndef INSIGHTS_STATIC_STRINGS_H
9 #define INSIGHTS_STATIC_STRINGS_H
11 #include <string_view>
12 using namespace std::literals;
15 #define KW_CONST "const"
16 #define KW_AUTO "auto"
17 #define KW_CONSTEXPR "constexpr"
18 #define KW_CONSTEVAL "consteval"
19 #define KW_CONSTINIT "constinit"
20 #define KW_VOLATILE "volatile"
21 #define KW_STATIC "static"
22 #define KW_EXTERN "extern"
23 #define KW_NOEXCEPT "noexcept"
24 #define KW_CLASS "class"
25 #define KW_STRUCT "struct"
26 #define KW_UNION "union"
27 #define KW_VIRTUAL "virtual"
28 #define KW_INLINE "inline"
29 #define KW_REQUIRES "requires"
30 #define KW_REINTERPRET_CAST "reinterpret_cast"
31 #define KW_STATIC_CAST "static_cast"
32 #define KW_PUBLIC "public"
33 #define KW_PROTECTED "protected"
34 #define KW_PRIVATE "private"
35 #define KW_FINAL "final"
36 #define KW_SIZEOF "sizeof"
37 #define KW_ALIGNOF "alignof"
38 #define KW_OPERATOR "operator"
39 #define KW_USING "using"
40 #define KW_FRIEND "friend"
41 #define KW_EXPLICIT "explicit"
42 #define KW_TEMPLATE "template"
43 #define KW_NULLPTR "nullptr"
44 #define KW_NULL "NULL"
45 #define KW_ENUM "enum"
46 #define KW_NAMESPACE "namespace"
47 #define KW_CONCEPT "concept"
48 #define KW_DELETE "delete"
49 #define KW_WHILE "while"
50 #define KW_BREAK "break"
52 #define KW_CASE "case"
53 #define KW_GOTO "goto"
54 #define KW_CONTINUE "continue"
55 #define KW_SWITCH "switch"
56 #define KW_TYPEID "typeid"
57 #define KW_MUTABLE "mutable"
58 #define KW_RETURN "return"
59 #define KW_STATIC_ASSERT "static_assert"
60 #define KW_CO_RETURN "co_return"
61 #define KW_CO_YIELD "co_yield"
62 #define KW_CO_AWAIT "co_await"
63 #define KW_TYPENAME "typename"
64 #define KW_EQUALS_DEFAULT "= default;"
65 #define KW_EQUALS_DELETE "= delete"
66 #define KW_INTERNAL_THIS "__this"
67 #define KW_ELIPSIS "..."
68 #define KW_FALSE "false"
70 #define KW_TYPEDEF "typedef"
72 #define HLP_ASSIGN " = "
73 #define HLP_ARROW " -> "
76 #define BUILD_KW(kw) " " kw " "
111 inline constexpr std::string_view
kwUnkown{
"unkown"sv};
139 #define BUILD_WITH_SPACE_AFTER(kw) kw " "
140 #define BUILD_WITH_SPACE_BEFORE(kw) " " kw
193 inline constexpr std::string_view
cxaStart{
"__cxa_start"};
194 inline constexpr std::string_view
cxaAtExit{
"__cxa_atexit"};
constexpr std::string_view kwTemplate
constexpr std::string_view kwNull
constexpr std::string_view kwCommentStart
constexpr std::string_view kwRequiresSpace
constexpr std::string_view kwStaticAssert
constexpr std::string_view kwCoAwaitSpace
constexpr std::string_view kwReturn
constexpr std::string_view kwReinterpretCast
constexpr std::string_view kwSpaceConst
constexpr std::string_view hlpDestroyFn
constexpr std::string_view kwNamespaceSpace
constexpr std::string_view kwContinue
constexpr std::string_view kwSpaceConstEvalSpace
constexpr std::string_view cxaStart
constexpr std::string_view kwCCommentEndSpace
constexpr std::string_view kwInlineSpace
constexpr std::string_view kwMutableSpace
#define BUILD_WITH_SPACE_BEFORE(kw)
constexpr std::string_view kwUsingSpace
constexpr std::string_view kwDelete
constexpr std::string_view kwConstExprSpace
constexpr std::string_view kwTemplateSpace
constexpr std::string_view kwCoReturnSpace
constexpr std::string_view KW_OPERATOR_ALL
constexpr std::string_view kwCoYieldSpace
consteval std::string_view KwWithNoSpace(std::string_view kw)
constexpr std::string_view kwSpaceConstExpr
constexpr std::string_view kwSpaceCCommentEndSpace
constexpr std::string_view kwNamespace
constexpr std::string_view kwCaseSpace
constexpr std::string_view kwSizeof
constexpr std::string_view kwUnionSpace
constexpr std::string_view kwSpaceCCommentEnd
constexpr std::string_view kwEnumSpace
constexpr std::string_view kwElipsisSpace
constexpr std::string_view kwClassSpace
constexpr std::string_view kwTypeId
constexpr std::string_view kwConstEvalSpace
constexpr std::string_view kwSpaceEqualsDefault
constexpr std::string_view kwThis
constexpr std::string_view kwUnkown
constexpr std::string_view kwSpaceVolatile
constexpr std::string_view kwStructSpace
#define KW_EQUALS_DEFAULT
#define BUILD_WITH_SPACE_AFTER(kw)
constexpr std::string_view functionPointerPrefix
constexpr std::string_view kwStaticCast
constexpr std::string_view kwElipsis
constexpr std::string_view kwPublic
constexpr std::string_view kwOperator
constexpr std::string_view kwSpaceFinal
constexpr std::string_view kwNoexcept
constexpr std::string_view kwCCommentStartSpace
constexpr std::string_view kwTypeNameSpace
#define KW_REINTERPRET_CAST
constexpr std::string_view kwExplicitSpace
constexpr std::string_view kwSwitch
constexpr std::string_view kwFriendSpace
constexpr std::string_view kwOperatorSpace
constexpr std::string_view kwInternalThis
consteval std::string_view KwWithSpaceAfter(std::string_view kw)
constexpr std::string_view kwCppCommentStartSpace
constexpr std::string_view kwStaticSpace
constexpr std::string_view kwSpaceNoexcept
constexpr std::string_view kwSpaceEqualsDelete
constexpr std::string_view kwAlignof
constexpr std::string_view hlpResumeFn
constexpr std::string_view kwRequires
constexpr std::string_view kwNullptr
constexpr std::string_view kwFalse
constexpr std::string_view kwTrySpace
constexpr std::string_view kwReturnSpace
constexpr std::string_view kwExplicit
constexpr std::string_view hlpArrow
constexpr std::string_view hlpAssing
consteval std::string_view KwWithSpaceBefore(std::string_view kw)
constexpr std::string_view kwBreak
constexpr std::string_view kwDoSpace
constexpr std::string_view memberVariablePointerPrefix
constexpr std::string_view kwTypedefSpace
constexpr std::string_view kwWhile
constexpr std::string_view cxaAtExit
constexpr std::string_view kwVirtualSpace
constexpr std::string_view kwGotoSpace
constexpr std::string_view kwPrivate
constexpr std::string_view kwProtected
constexpr std::string_view kwConceptSpace