1 package com.thaiopensource.relaxng.impl; 2 3 4 class AfterPattern extends BinaryPattern { 5 AfterPattern(Pattern p1, Pattern p2) { 6 super(false, 7 combineHashCode(AFTER_HASH_CODE, p1.hashCode(), p2.hashCode()), 8 p1, 9 p2); 10 } 11 12 boolean isNotAllowed() { 13 return p1.isNotAllowed(); 14 } 15 16 Object apply(PatternFunction f) { 17 return f.caseAfter(this); 18 } 19 void accept(PatternVisitor visitor) { 20 } 22 } 23 | Popular Tags |