private function readVariableName($name, Block $block) { if ($this->ctx->isLocalVariable($block, $name)) { return $this->ctx->scope[$block][$name]; } return $this->readVariableRecursive($name, $block); }