mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-23 00:04:45 -08:00
Ed_
050b00f28a
Adding the pragma once and includes the files broke compilation, still diagnosing why. - Some string functions were moved to the cpp, still need to do some more evaluation of it and the containers... - Added support for forceinline and neverinline to parsing (untested) - Added support for specifiers in operator cast such as explicit, inline/forceinline/neverinline, etc. - Before it only support const. - Still need to support volatile. - Forceinline was not supported at all for tokenization, fixed that.
3.1 KiB
3.1 KiB
1 | Invalid | __invalid__ |
---|---|---|
2 | Access_Private | private |
3 | Access_Protected | protected |
4 | Access_Public | public |
5 | Access_MemberSymbol | . |
6 | Access_StaticSymbol | :: |
7 | Ampersand | & |
8 | Ampersand_DBL | && |
9 | Assign_Classifer | : |
10 | Attribute_Open | [[ |
11 | Attribute_Close | ]] |
12 | BraceCurly_Open | { |
13 | BraceCurly_Close | } |
14 | BraceSquare_Open | [ |
15 | BraceSquare_Close | ] |
16 | Capture_Start | ( |
17 | Capture_End | ) |
18 | Comment | __comemnt__ |
19 | Comment_End | __comment_end__ |
20 | Comment_Start | __comment_start__ |
21 | Char | __character__ |
22 | Comma | , |
23 | Decl_Class | class |
24 | Decl_GNU_Attribute | __attribute__ |
25 | Decl_MSVC_Attribute | __declspec |
26 | Decl_Enum | enum |
27 | Decl_Extern_Linkage | extern |
28 | Decl_Friend | friend |
29 | Decl_Module | module |
30 | Decl_Namespace | namespace |
31 | Decl_Operator | operator |
32 | Decl_Struct | struct |
33 | Decl_Template | template |
34 | Decl_Typedef | typedef |
35 | Decl_Using | using |
36 | Decl_Union | union |
37 | Identifier | __identifier__ |
38 | Module_Import | import |
39 | Module_Export | export |
40 | NewLine | __new_line__ |
41 | Number | __number__ |
42 | Operator | __operator__ |
43 | Preprocess_Hash | # |
44 | Preprocess_Define | define |
45 | Preprocess_If | if |
46 | Preprocess_IfDef | ifdef |
47 | Preprocess_IfNotDef | ifndef |
48 | Preprocess_ElIf | elif |
49 | Preprocess_Else | else |
50 | Preprocess_EndIf | endif |
51 | Preprocess_Include | include |
52 | Preprocess_Pragma | pragma |
53 | Preprocess_Content | __macro_content__ |
54 | Preprocess_Macro | __macro__ |
55 | Preprocess_Unsupported | __unsupported__ |
56 | Spec_Alignas | alignas |
57 | Spec_Const | const |
58 | Spec_Consteval | consteval |
59 | Spec_Constexpr | constexpr |
60 | Spec_Constinit | constinit |
61 | Spec_Explicit | explicit |
62 | Spec_Extern | extern |
63 | Spec_Final | final |
64 | Spec_ForceInline | forceinline |
65 | Spec_Global | global |
66 | Spec_Inline | inline |
67 | Spec_Internal_Linkage | internal |
68 | Spec_LocalPersist | local_persist |
69 | Spec_Mutable | mutable |
70 | Spec_NeverInline | neverinline |
71 | Spec_Override | override |
72 | Spec_Static | static |
73 | Spec_ThreadLocal | thread_local |
74 | Spec_Volatile | volatile |
75 | Spec_Virtual | virtual |
76 | Star | * |
77 | Statement_End | ; |
78 | StaticAssert | static_assert |
79 | String | __string__ |
80 | Type_Unsigned | unsigned |
81 | Type_Signed | signed |
82 | Type_Short | short |
83 | Type_Long | long |
84 | Type_char | char |
85 | Type_int | int |
86 | Type_double | double |
87 | Type_MS_int8 | __int8 |
88 | Type_MS_int16 | __int16 |
89 | Type_MS_int32 | __int32 |
90 | Type_MS_int64 | __int64 |
91 | Type_MS_W64 | _W64 |
92 | Varadic_Argument | ... |
93 | __Attributes_Start | __attrib_start__ |