Exemplo n.º 1
0
 public NonCapJointSet(ArrayList children, FSet fSet) : base(children, fSet)
 {
 }
Exemplo n.º 2
0
 public PositiveLookBehind(ArrayList children, FSet fSet) : base(children, fSet)
 {
 }
Exemplo n.º 3
0
        /*
         * This class is needed only for overwriting find()
         * and findBack() methods of SingleSet class, which is being
         * back referenced. The following example explains the need
         * for such substitution:
         * Let's consider the pattern ".*(.)\\1".
         * Leading .* works as follows: finds line terminator and runs findBack
         * from that point. findBack method in its turn (in contrast to matches)
         * sets group boundaries on the back trace. Thus at the point we
         * try to match back reference(\\1) groups are not yet set.
         *
         * To fix this problem we replace backreferenced groups with instances of
         * this class, which will use matches instead of find; this will affect
         * performance, but ensure correctness of the match.
         */

        public BackReferencedSingleSet(AbstractSet child, FSet fSet) : base(child, fSet)
        {
        }
Exemplo n.º 4
0
 public SingleSet(AbstractSet child, FSet fSet)
 {
     this.kid        = child;
     this.fSet       = fSet;
     this.groupIndex = fSet.GetGroupIndex();
 }
Exemplo n.º 5
0
 public JointSet(ArrayList children_0, FSet fSet_1)
 {
     this.children   = children_0;
     this.fSet       = fSet_1;
     this.groupIndex = fSet_1.GetGroupIndex();
 }
Exemplo n.º 6
0
 public AtomicJointSet(ArrayList children, FSet fSet) : base(children, fSet)
 {
 }
Exemplo n.º 7
0
 public NegativeLookAhead(ArrayList children, FSet fSet) : base(children, fSet)
 {
 }