use std::collections::BTreeSet;
use std::path::PathBuf;
use crate::rust_support::RustSupportOptions;
use crate::semantics::{SemPatternFile, SemUnknownPolicy};
#[derive(Debug)]
pub(crate) struct TestRigConfig {
pub(crate) start_rule: String,
}
#[derive(Debug)]
pub(crate) struct CompilerConfig {
pub(crate) roots: Vec<PathBuf>,
pub(crate) library_directories: Vec<PathBuf>,
pub(crate) out_dir: PathBuf,
pub(crate) require_generated_parser: bool,
pub(crate) allow_unsupported_lexer_actions: bool,
pub(crate) sem_unknown: SemUnknownPolicy,
pub(crate) sem_patterns: SemPatternFile,
pub(crate) sem_patterns_path: Option<PathBuf>,
pub(crate) require_full_semantics: bool,
pub(crate) option_hooks: BTreeSet<String>,
pub(crate) generate_listener: bool,
pub(crate) generate_visitor: bool,
pub(crate) embedded_actions: bool,
pub(crate) fixed_lookahead: Option<usize>,
pub(crate) entry_rules: BTreeSet<String>,
pub(crate) prune_unreachable: bool,
pub(crate) optimize_precedence_ladders: bool,
pub(crate) report_precedence_ladders: bool,
pub(crate) test_rig: Option<TestRigConfig>,
pub(crate) rust_support: RustSupportOptions,
}