public function checkVarName($var_name)
    {
        if (empty($var_name)) {
            return;
        }
        if (array_key_exists($var_name, $this->var_blocks)) {
            $this->logger->warning("Found duplicate definition for $var_name.");
        }
    }