protected function handleWhen(array $token) { $node = $this->createNode('when', $token); $node->subject = $token['subject']; $node->default = $token['default']; $this->current = $node; }