We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70cfe7e commit 9425d7bCopy full SHA for 9425d7b
xcactivitylog.py
@@ -14,6 +14,7 @@ class TokenType(Enum):
14
Array = 4
15
Class = 5
16
Instance = 6
17
+ Json = 7
18
19
20
def tokenizer(path):
@@ -68,6 +69,7 @@ def handler(index):
68
69
ord(b"("): int_handler(TokenType.Array),
70
ord(b"%"): str_handler(TokenType.Class),
71
ord(b"@"): int_handler(TokenType.Instance),
72
+ ord(b"*"): str_handler(TokenType.Json),
73
}
74
75
i = 0
@@ -86,6 +88,7 @@ def handler(index):
86
88
87
89
def extract_compile_log(path):
90
for type, value in tokenizer(path):
91
+ # print(type, value)
92
if type != TokenType.String:
93
continue
94
assert isinstance(value, str)
0 commit comments