feat: Implement dictionaries and property access

This commit is contained in:
Alvin
2025-07-22 19:09:05 +02:00
parent 6a742db5e2
commit 6f577418d6

View File

@@ -406,4 +406,4 @@ class Parser:
self.consume('DOT') # Assuming DOT token for property access
property_name_token = self.get_current_token()
self.consume('ID')
return PropertyAccess(target_node, property_name_token.value)
return PropertyAccess(target_node, property_name_token.value)