예제 #1
0
 /**
  * Apply Transition
  *
  * @param Transition $candidate
  *
  * @return mixed[]|null
  */
 private function apply($candidate)
 {
     if (($output = $candidate->apply($this->input, $this->context, $this)) !== null) {
         $this->output[] = $output;
     }
     return $this->backtrack();
 }