public class TREXSequencedStringChecker extends java.lang.Object implements ExpressionVisitor
In this checker, we introduce a function "f" that takes a string and computes the string-sensitivity of the pattern.
"f" returns 3 bits of information. One is whether it contains elements. Another is whehter it contains text. And the last is whether it contains DataExp/ValueExp.
"f" is computed recursively through the pattern.
| Constructor and Description |
|---|
TREXSequencedStringChecker(TREXBaseReader reader,
boolean _rejectTextInInterleave) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
onAnyString() |
java.lang.Object |
onAttribute(AttributeExp exp) |
java.lang.Object |
onChoice(ChoiceExp exp) |
java.lang.Object |
onConcur(ConcurExp exp) |
java.lang.Object |
onData(DataExp exp) |
java.lang.Object |
onElement(ElementExp exp) |
java.lang.Object |
onEpsilon() |
java.lang.Object |
onInterleave(InterleaveExp exp) |
java.lang.Object |
onList(ListExp exp) |
java.lang.Object |
onMixed(MixedExp exp) |
java.lang.Object |
onNullSet() |
java.lang.Object |
onOneOrMore(OneOrMoreExp exp) |
java.lang.Object |
onOther(OtherExp exp) |
java.lang.Object |
onRef(ReferenceExp exp) |
java.lang.Object |
onSequence(SequenceExp exp) |
java.lang.Object |
onValue(ValueExp exp) |
public TREXSequencedStringChecker(TREXBaseReader reader, boolean _rejectTextInInterleave)
public java.lang.Object onRef(ReferenceExp exp)
onRef in interface ExpressionVisitorpublic java.lang.Object onOther(OtherExp exp)
onOther in interface ExpressionVisitorpublic java.lang.Object onInterleave(InterleaveExp exp)
onInterleave in interface ExpressionVisitorpublic java.lang.Object onSequence(SequenceExp exp)
onSequence in interface ExpressionVisitorpublic java.lang.Object onEpsilon()
onEpsilon in interface ExpressionVisitorpublic java.lang.Object onNullSet()
onNullSet in interface ExpressionVisitorpublic java.lang.Object onData(DataExp exp)
onData in interface ExpressionVisitorpublic java.lang.Object onValue(ValueExp exp)
onValue in interface ExpressionVisitorpublic java.lang.Object onList(ListExp exp)
onList in interface ExpressionVisitorpublic java.lang.Object onAnyString()
onAnyString in interface ExpressionVisitorpublic java.lang.Object onAttribute(AttributeExp exp)
onAttribute in interface ExpressionVisitorpublic java.lang.Object onElement(ElementExp exp)
onElement in interface ExpressionVisitorpublic java.lang.Object onChoice(ChoiceExp exp)
onChoice in interface ExpressionVisitorpublic java.lang.Object onConcur(ConcurExp exp)
onConcur in interface ExpressionVisitorpublic java.lang.Object onOneOrMore(OneOrMoreExp exp)
onOneOrMore in interface ExpressionVisitorpublic java.lang.Object onMixed(MixedExp exp)
onMixed in interface ExpressionVisitorMSV