sqruff_lib_core/dialects/
common.rsuse smol_str::SmolStr;
use crate::parser::segments::base::ErasedSegment;
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
pub struct AliasInfo {
pub ref_str: SmolStr,
pub segment: Option<ErasedSegment>,
pub aliased: bool,
pub from_expression_element: ErasedSegment,
pub alias_expression: Option<ErasedSegment>,
pub object_reference: Option<ErasedSegment>,
}
#[derive(Clone, Debug)]
pub struct ColumnAliasInfo {
pub alias_identifier_name: SmolStr,
pub aliased_segment: ErasedSegment,
pub column_reference_segments: Vec<ErasedSegment>,
}