protected function getVarName(Operand $var)
{
if ($var instanceof Operand\Literal) {
return $var->value;
} elseif (!$this->state->scope->contains($var)) {
$this->state->scope[$var] = count($this->state->scope) + 1;
}
return '$v' . $this->state->scope[$var];
}