public static void parseData(String input){
		
		//finds variables to make
		for(int d = 0; d < datatypes.length; d++){
			Pattern patternVar = Pattern.compile("^" + datatypes[d] + ".*;");
			Matcher matcherVar = patternVar.matcher(input);

		    while (matcherVar.find()) {
		    	addVar(matcherVar.group());
		    }
		}
		
		//find variables to set to something.
		Pattern patternSet = Pattern.compile("[a-zA-Z]*? = .*;");
		Matcher matcherSet = patternSet.matcher(input);
		while (matcherSet.find()) {
			setVariable(matcherSet.group());
		}
		
		//Find methods and pass them to the method handler
		Pattern patternMeth = Pattern.compile(".*\\(.*\\);");
		Matcher matcherMeth = patternMeth.matcher(input);

		while (matcherMeth.find()) {
			parseMethod(matcherMeth.group());
		}
		
	}