@@ -128,38 +128,53 @@ constexpr StringView s_known_keywords[] = {
};
constexpr StringView s_known_types[] = {
+ "Array",
+ "Badge",
+ "Bitmap",
"ByteBuffer",
+ "Bytes",
+ "Checked",
"CircularDeque",
"CircularQueue",
"Deque",
"DoublyLinkedList",
- "FileSystemPath",
- "Array",
+ "Error",
+ "ErrorOr",
+ "FlyString",
"Function",
"HashMap",
"HashTable",
"IPv4Address",
"IntrusiveList",
+ "IntrusiveList",
"JsonArray",
"JsonObject",
"JsonValue",
+ "LexicalPath",
"MappedFile",
"NetworkOrdered",
+ "NeverDestroyed",
"NonnullOwnPtr",
"NonnullOwnPtrVector",
"NonnullRefPtr",
"NonnullRefPtrVector",
"Optional",
"OwnPtr",
+ "ReadonlyBytes",
+ "RedBlackTree",
"RefPtr",
"Result",
"ScopeGuard",
+ "Singleton",
"SinglyLinkedList",
+ "Span",
"String",
"StringBuilder",
"StringImpl",
"StringView",
"Utf8View",
+ "Variant",
"Vector",
"WeakPtr",
"auto",
@@ -185,7 +200,7 @@ constexpr StringView s_known_types[] = {
"u8",
"unsigned",
"void",
- "wchar_t"
+ "wchar_t",
static bool is_keyword(StringView string)