public Variable getVariable(String name) {
		Variable result = variables.get(name);
		if (result == null) {
			if (parent != null) {
				result = parent.getVariable(name);
			}
		}
		return result;
	}