|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprogram.RepRegRejector
public class RepRegRejector
The repetition region rejector contains all rules that determine if an existing repetiton region accepts other repetition regions or matching pairs. They can be customized by changing nothing but this file.
Constructor Summary | |
---|---|
RepRegRejector()
|
Method Summary | |
---|---|
static boolean |
accept(RepReg rr,
int index)
Returns if a repetition region (parameter 1) accepts the second index (parameter 2) of another repetition region. |
static boolean |
accept(RepReg rr1,
int fI,
int sI,
int ssL)
Returns if a repetition region (parameter 1) accepts another repetition region. |
static boolean |
accept(RepReg rr,
MatchingPair mp)
Returns if a repetition region (parameter 1) accepts a matching pair (parameter 2). |
static boolean |
accept(RepReg rr1,
RepReg rr2)
Returns if a repetition region (parameter 1) accepts another repetition region. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepRegRejector()
Method Detail |
---|
public static boolean accept(RepReg rr, int index)
rr
- the existing repetition regionindex
- the other repetition regions second indexpublic static boolean accept(RepReg rr1, int fI, int sI, int ssL)
rr1
- the existing repetition regionfI
- the other repetition regions first indexsI
- the other repetition regions second indexssL
- the other repetition regions substring lengthaccept(RepReg, RepReg)
public static boolean accept(RepReg rr1, RepReg rr2)
rr1
- the existing repetition regionrr2
- the other repetition regionaccept(RepReg, int, int, int)
public static boolean accept(RepReg rr, MatchingPair mp)
rr
- the repetition regionmp
- the matching pair
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |