Example #1
0
 public BeginCommand(Position position, Commands commands)
     : base(position)
 {
     _commands = commands;
     _commands.Parent = this;
 }
Example #2
0
 /* This is the second tree-walking method that is called! */
 public void visit(Commands that)
 {
     foreach (Command command in that.CommandArray)
         command.visit(this);
 }