public function leaveNode(\PHPParser_Node $Node)
{
switch (true) {
case $Node instanceof \PHPParser_Node_Expr_Variable:
$Name = AST::VerifyNameNode($Node->name);
if (isset($this->VariableValueMap[$Name])) {
return new PHPParserConstantValueNode($this->VariableValueMap[$Name]);
}
}
}