updated memberexpression visitor to consider property and variable values