aboutsummaryrefslogtreecommitdiff
path: root/src/parsers.rs
blob: 83be880a3a2a9e60eb2c3e5266cdaa06313ac89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::{
    collections::HashMap,
    sync::LazyLock,
};

pub struct Parser {
    pub url: &'static str,
    pub branch: Option<&'static str>,
    pub revision: Option<&'static str>,
    pub files: &'static [&'static str],
    pub generate_requires_npm: bool,
    pub requires_generate_from_grammar: bool,
    pub location: Option<&'static str>,
    pub use_makefile: bool,
    pub cxx_standard: Option<&'static str>,
}

include!(concat!(env!("OUT_DIR"), "/_parsers.rs"));

include!(concat!(env!("OUT_DIR"), "/_queries.rs"));