protected function handleVariable(array $token) { $node = $this->createNode('variable'); $node->name = $token['name']; $node->attributes = []; $this->current = $node; }