fn resolve(self, source_span: Span) -> syn::Result<String> {
        match self {
            QuerySrc::String(string) => Ok(string),
            QuerySrc::File(file) => read_file_src(&file, source_span),
        }
    }
/// If the query source is a file, read it to a string. Otherwise return the query string.
If the query source is a file, read it to a string. Otherwise return the query string.
If the query source is a file read it to a string . Otherwise return the query string .
fn resolve(self, source_span: Span) -> syn::Result<String> {
        match self {
            QuerySrc::String(string) => Ok(string),
            QuerySrc::File(file) => read_file_src(&file, source_span),
        }
    }
fn resolve ( self , source_span : Span ) -> syn :: Result < String > { match self { QuerySrc :: String ( string ) => Ok ( string ) , QuerySrc :: File ( file ) => read_file_src ( & file , source_span ) , } }
If the query source is a file, read it to a string.
If the query source is a file read it to a string .
self
source_span
Span
self
source_span
Span