Package eu.bandm.tools.d2d2.base
Class CharParserPrepare.Split
java.lang.Object
eu.bandm.tools.d2d2.base.CharParserPrepare.Split
- Enclosing class:
- CharParserPrepare
Represents a RegExp as a collection of segments:
g=non-recursive termation case, p=prefix before the first recursive call,
s=suffix after the last recursive call, i=inbetween two recursive calls.
Depending on the resulting combination, different content models will be synthesized, and different cardinalities of the contained tags will result.
Depending on the resulting combination, different content models will be synthesized, and different cardinalities of the contained tags will result.
-
Field Summary
Modifier and TypeFieldDescription(package private) final Expression
(package private) final Expression
(package private) final Expression
(package private) final Expression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Expression
Combine the four components into on regexp:(package private) CharParserPrepare.Split
join
(CharParserPrepare.Split other) toString()
-
Field Details
-
g
-
p
-
s
-
i
-
-
Constructor Details
-
Split
Split(Expression g, Expression p, Expression s, Expression i)
-
-
Method Details
-
comprehend
Expression comprehend()Combine the four components into on regexp:g is empty => null, since no terminating case p,s,i all empty => g i is empty => p+, g, s+ i not empty ?> (g|p|s|i)+
-
join
-
toString
-