boolean (Exprent first, Exprent second) { if (first.type == Exprent.EXPRENT_ASSIGNMENT && second.type == Exprent.EXPRENT_FUNCTION) { AssignmentExprent as = (AssignmentExprent)first; FunctionExprent in = (FunctionExprent)second; if ((in.getFuncType() == FunctionExprent.FUNCTION_MMI || in.getFuncType() == FunctionExprent.FUNCTION_PPI) && in.getLstOperands().get(0).equals(as.getRight())) { if (in.getFuncType() == FunctionExprent.FUNCTION_MMI) { in.setFuncType(FunctionExprent.FUNCTION_IMM); } else { in.setFuncType(FunctionExprent.FUNCTION_IPP); } as.setRight(in); return true; } } return false; }