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