コード例 #1
0
 /**
  * Constructor
  *
  * @param   xp.compiler.ast.RoutineNode $routine
  */
 public function __construct($routine = null)
 {
     $this->routine = $routine;
     parent::__construct();
 }
コード例 #2
0
ファイル: TaskScope.class.php プロジェクト: xp-lang/compiler
 /**
  * Constructor
  *
  * @param   xp.compiler.task.CompilationTask task
  */
 public function __construct(\xp\compiler\task\CompilationTask $task)
 {
     parent::__construct();
     $this->task = $task;
 }