feat: Implement dictionaries and property access

This commit is contained in:
Alvin
2025-07-22 18:59:14 +02:00
parent 08bb1f7a66
commit eb1ce52074

View File

@@ -274,7 +274,7 @@ class Parser:
return self.parse_function_call(token)
elif next_token.type == 'DOT':
# It's a property access
return self.parse_property_access(Variable(token)) # Pass Variable node as target
return self.parse_property_access(Variable(token))
elif next_token.type == 'LBRACKET':
# It's an index access
return self.parse_index_access(Variable(token))