Lines Matching defs:p2
52 InterleavePattern(Pattern p1, Pattern p2) {
53 super(p1.isNullable() && p2.isNullable(),
54 combineHashCode(INTERLEAVE_HASH_CODE, p1.hashCode(), p2.hashCode()),
56 p2);
61 Pattern ep2 = p2.expand(b);
62 if (ep1 != p1 || ep2 != p2)
87 p2.checkRestrictions(context, dad, a1);
90 p2.checkRestrictions(context, dad, a2);
99 && !contentTypeGroupable(p1.getContentType(), p2.getContentType()))
102 && p2.getContentType() == MIXED_CONTENT_TYPE)
107 visitor.visitInterleave(p1, p2);