Display what visitor is playing
This commit is contained in:
parent
a4b71b07f0
commit
3d0b984623
@ -17,6 +17,7 @@ class Visitable:
|
||||
method = prefix + name
|
||||
for visitor in self.visitors:
|
||||
if hasattr(visitor, method):
|
||||
script.append(f'echo "{type(visitor).__name__}.{method}"')
|
||||
getattr(visitor, method)(script)
|
||||
|
||||
return script
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user