function getVariable(scope, name) {
	return scope.variables.find(v => v.name === name) || null;
}
Get variables in the current scope
@param {Object} scope current scope
@param {string} name name of the variable to look for
@returns {ASTNode|null} The variable object
@private