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