public override void Visit(Terminal terminal)
 {
     terminal.AcceptAction(this);
 }