Example #1
0
 /**
  * Constructor
  *
  * @param   xp.compiler.ast.RoutineNode $routine
  */
 public function __construct($routine = null)
 {
     $this->routine = $routine;
     parent::__construct();
 }
Example #2
0
 /**
  * Constructor
  *
  * @param   xp.compiler.task.CompilationTask task
  */
 public function __construct(\xp\compiler\task\CompilationTask $task)
 {
     parent::__construct();
     $this->task = $task;
 }