Example #1
0
 public static ISqlParser CreateParser(this ISqlDialect dialect, string data)
 {
     return(dialect.CreateParser(dialect.CreateTokenizer(data)));
 }
Example #2
0
 public static ISqlTokenizer CreateTokenizer(this ISqlDialect dialect, string data)
 {
     return(dialect.CreateTokenizer(new StringReader(data), new StringSliceProvider(data)));
 }
Example #3
0
 public virtual ISqlTokenizer CreateTokenizer(System.IO.TextReader reader, IStringSliceProvider sliceProvider)
 {
     return(m_dialect.CreateTokenizer(reader, sliceProvider));
 }