1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extern crate core;

use swc_common::MultiSpan;

pub mod cli;
pub mod config;
pub mod dotenv;
pub mod lazy;
pub mod types;

// Source Parser
#[derive(Debug, Clone)]
pub struct SQL {
    /// Note that not all sql`` statements belong to a variable expression, therefore we must store it as an option
    pub var_decl_name: Option<String>,
    pub query: String,
    pub span: MultiSpan,
}