private void checkLogicExpression() throws Exception {
		List<Token> expression = new ArrayList<Token>();
		
		while(iterator < tokenList.size() && isValidArithmeticElement(tokenList.get(iterator))) {
			expression.add(tokenList.get(iterator));
			iterator++;
		}
		if(expression.get(expression.size()-1).getType() == TokenType.R_PAR) {
			expression.remove(expression.size()-1);
			iterator--;
		}

		ShuntingYard shuntingYard = new ShuntingYard(expression);
		expression = shuntingYard.run();
		
		if(iterator < tokenList.size() && isLogicOperator(tokenList.get(iterator))) {
			iterator++;
			checkLogicExpression();
		}
	}