Пример #1
0
 def set_location(self, location: Location) -> None:
     Locatable.set_location(self, location)
     self.locations.append(location)
Пример #2
0
 def copy_location(self, statement: Locatable) -> None:
     """
     Copy the location of this statement in the given statement
     """
     statement.set_location(self.location)