feat(eventsub): implement (shared-chat-)ban (#5985)

This commit is contained in:
nerix
2025-02-25 21:13:05 +01:00
committed by GitHub
parent aee5f1a54d
commit 044dc69aa6
18 changed files with 1060 additions and 331 deletions
+6
View File
@@ -36,6 +36,7 @@ class Walker:
for child in node.get_children():
self.handle_node(child, new_struct, None)
new_struct.validate()
self.structs.append(new_struct)
return True
@@ -83,6 +84,11 @@ class Walker:
self.namespace = self.namespace[:-1]
return True
case CursorKind.CXX_BASE_SPECIFIER:
assert struct
struct.base = node.type.spelling
return False
case CursorKind.FUNCTION_DECL:
# Ignore function declarations
pass