Example #1
0
 def evaluate(self, environment: Memory) -> str:
     variable_value = environment.get_variable_value(self.variable)
     return environment.get_member(variable_value, self.attribute)
Example #2
0
 def evaluate(self, environment: Memory) -> str:
     return environment.get_variable_value(self.name)