protected function SimplifyNode(\PHPParser_Node_Expr_ArrayDimFetch $Node)
{
if ($this->IsConstant($Node->var) && ($Node->dim === null || $this->IsConstant($Node->dim))) {
$Array = $this->GetValue($Node->var);
if ($Node->dim === null) {
$Value =& $Array[];
} else {
$Value =& $Array[$this->GetValue($Node->dim)];
}
return $this->Constant($Value);
}
}