public static void parseMehtod(Item item) {
		Item i = item;
		
		while(i == null || (i.getSym() != Constants.INDENT && i.getSym() != Constants.METHOD)){
			i = Scanner.get();
		}
		
		ObjectInfo oi = new ObjectInfo();
		oi.setType(Constants.METHOD);
		oi.setName(String.valueOf(i.getVal()));

		GenerateForSpim.setWorkingMehtod(String.valueOf(i.getVal()));
		GenerateForSpim.initMehtod(oi);
		
		while(i == null || i.getSym() != Constants.LBRACE){
			i = Scanner.get();
		}
		
		GenerateBaseCommants.nextStep();
		
		if(!GenerateForSpim.DEFAULT_METHOD.equals(oi.getName())) {
			GenerateForSpim.endNonMainMethod();
		}
		
		i = Scanner.get();
		
		while(i == null){
			i = Scanner.get();
		}
		if(i == null || i.getSym() != Constants.RBRACE) {
			parseMehtod(i);
		}
	}