private void getNodeVariableList(ParseTree node) {
		
		if (node.attribute.equals("DECLARE"))
			if (!containsVariable(node.children.get(0).value))
				variableList.add(new VariableInformation(node.children.get(0).value, node.children.get(1).value));
		
		//Iterate children
		for (int i = 0; i < node.children.size(); i++)
			getNodeVariableList(node.children.get(i));
		
		//Check for undeclared variables
		for (int i = 0; i < node.children.size(); i++)
			checkUndeclaredVariable(node.children.get(i));
	}