private Type type() {
		Type t = null;
		
		if(currentToken.type() == Token.Type.Int)
			t = Type.INT;
		else if(currentToken.type() == Token.Type.Bool)
			t = Type.BOOL;
		else if(currentToken.type() == Token.Type.Float)
			t = Type.FLOAT;
		else if(currentToken.type() == Token.Type.Char)
			t = Type.CHAR;
		else if(currentToken.type() == Token.Type.Void)
			t = Type.VOID;
		else
			error("Current token not type (current token: " + currentToken + ")");
		
		match(currentToken.type());
		return t;
	}