Library can now construct into AST and serialization itself (singleheader).

Still need to validate if they match.
This commit is contained in:
2023-08-04 16:12:13 -04:00
parent d36c3fa847
commit 34f286d218
23 changed files with 200 additions and 123 deletions

View File

@ -1,5 +1,6 @@
Invalid
Untyped
NewLine
Comment
Access_Private
Access_Protected

1 Invalid
2 Untyped
3 NewLine
4 Comment
5 Access_Private
6 Access_Protected

View File

@ -26,16 +26,16 @@ Decl_Extern_Linkage, "extern"
Decl_Friend, "friend"
Decl_Module, "module"
Decl_Namespace, "namespace"
Decl_Operator, "__operator__"
Decl_Operator, "operator"
Decl_Struct, "struct"
Decl_Template, "template"
Decl_Typedef, "typedef"
Decl_Using, "using"
Decl_Union, "union"
Empty_Line, "__empty_line__"
Identifier, "__identifier__"
Module_Import, "import"
Module_Export, "export"
NewLine, "__new_line__"
Number, "__number__"
Operator, "__operator__"
Preprocess_Define, "define"
@ -47,6 +47,7 @@ Preprocess_Else, "else"
Preprocess_EndIf, "endif"
Preprocess_Include, "include"
Preprocess_Pragma, "pragma"
Preprocess_Content, "__macro_content__"
Preprocess_Macro, "__macro__"
Preprocess_Unsupported, "__unsupported__"
Spec_Alignas, "alignas"

1 Invalid __invalid__
26 Decl_Friend friend
27 Decl_Module module
28 Decl_Namespace namespace
29 Decl_Operator __operator__ operator
30 Decl_Struct struct
31 Decl_Template template
32 Decl_Typedef typedef
33 Decl_Using using
34 Decl_Union union
Empty_Line __empty_line__
35 Identifier __identifier__
36 Module_Import import
37 Module_Export export
38 NewLine __new_line__
39 Number __number__
40 Operator __operator__
41 Preprocess_Define define
47 Preprocess_EndIf endif
48 Preprocess_Include include
49 Preprocess_Pragma pragma
50 Preprocess_Content __macro_content__
51 Preprocess_Macro __macro__
52 Preprocess_Unsupported __unsupported__
53 Spec_Alignas alignas