Exemplo n.º 1
0
 def stmt(self, stmt: Statement) -> Statement:
     new = stmt.accept(self)
     assert isinstance(new, Statement)
     new.set_line(stmt.line, stmt.column)
     return new
Exemplo n.º 2
0
 def stmt(self, stmt: Statement) -> Statement:
     new = stmt.accept(self)
     assert isinstance(new, Statement)
     new.set_line(stmt.line)
     return new