public static SqlServerRawTree CreateRawTree(TSqlFragment fragment) { var visitor = new SqlServerRawTreeVisitor(); fragment.Accept(visitor); return(visitor.Root ?? throw new InvalidOperationException()); }
public IRawTree Parse(string input) { return(SqlServerRawTreeVisitor.CreateRawTree(_parser.Parse(input))); }