LogicalExpression first = parse(next,p);
if (!child.hasMoreChild()) exception(1);
LogicalExpression second = logicalOperatorAux(child,p, operator);
LogicalExpression result = null;
if (isOr(operator))result = new OrExpression(first,second);
else if (isAnd(operator)) result = new AndExpression(first,second);
return result;
}