Retrieve the value of the variable in the current frame

Property definitions

nitc $ NaiveInterpreter :: read_variable
	# Retrieve the value of the variable in the current frame
	fun read_variable(v: Variable): Instance
	do
		var f = frames.first.as(InterpreterFrame)
		return f.map[v]
	end
src/interpreter/naive_interpreter.nit:454,2--459,4

nitc :: variables_numbering $ VirtualMachine :: read_variable
	# Read a `Variable` from a frame by using its position
	redef fun read_variable(v: Variable): Instance
	do
		return frame.variables[v.position]
	end
src/vm/variables_numbering.nit:56,2--60,4