Пример #1
0
 /// <summary>
 /// "matching" refers to whether this intends to find a match or the string that does not match.
 /// </summary>
 public Match(bool matching, string v, TokenSeq r, int k)
 {
     Matching = matching;
     V        = v;
     R        = r;
     K        = k;
 }
Пример #2
0
        private void GenerateRegex(TokenSeq r, string s)
        {
            throw new NotImplementedException();

            //let r be of the form TokenSeq(T1,...,Tn)
            //return TokenSeq(IPartss(T1),...,IPartss(Tn));
        }
Пример #3
0
 public Pos(TokenSeq r1, TokenSeq r2, int c)
 {
     R1 = r1;
     R2 = r2;
     C  = c;
 }
Пример #4
0
 public int Size(TokenSeq seq)
 {
     throw new NotImplementedException();
 }
Пример #5
0
            public TokenSeq UnifyRegex(TokenSeq seq1, TokenSeq seq2)
            {
                throw new NotImplementedException();

                //each of the sequences supposed to have set of sequences???
            }