Пример #1
0
 public static State Nfa(this string string1)
 {
     return(Thompson.Create(string1));
 }
Пример #2
0
 public static State To(this char from, char to)
 {
     return(Thompson.Create(from, to));
 }
Пример #3
0
 public static State To(this int from, int to)
 {
     return(Thompson.Create((byte)from, (byte)to));
 }
Пример #4
0
 public static State operator +(State state1, int byte2)
 {
     return(state1 + Thompson.Create(byte2));
 }
Пример #5
0
 public static State operator +(int byte1, State state2)
 {
     return(Thompson.Create(byte1) + state2);
 }
Пример #6
0
 public static State operator +(State state1, String string2)
 {
     return(state1 + Thompson.Create(string2));
 }
Пример #7
0
 public static State operator +(String string1, State state2)
 {
     return(Thompson.Create(string1) + state2);
 }