コード例 #1
0
 def set_location(self, location: Location) -> None:
     Locatable.set_location(self, location)
     self.locations.append(location)
コード例 #2
0
ファイル: __init__.py プロジェクト: inmanta/inmanta-core
 def copy_location(self, statement: Locatable) -> None:
     """
     Copy the location of this statement in the given statement
     """
     statement.set_location(self.location)