sqruff_lib/core/linter/
common.rsuse sqruff_lib_core::errors::{SQLBaseError, SQLTemplaterError};
use sqruff_lib_core::parser::segments::base::ErasedSegment;
use sqruff_lib_core::templaters::base::TemplatedFile;
#[derive(Debug, Clone)]
pub struct RenderedFile {
pub templated_file: TemplatedFile,
pub templater_violations: Vec<SQLTemplaterError>,
pub(crate) filename: String,
pub source_str: String,
}
#[derive(Debug, Clone)]
pub struct ParsedString {
pub tree: Option<ErasedSegment>,
pub violations: Vec<SQLBaseError>,
pub templated_file: TemplatedFile,
pub filename: String,
pub source_str: String,
}