clr_assembler/formats/msil/
mod.rs

1use url::Url;
2
3pub mod ast;
4pub mod converter;
5pub mod lexer;
6pub mod parser;
7pub mod writer;
8
9#[derive(Debug)]
10pub struct MsilReadConfig {
11    pub url: Option<Url>,
12}
13
14/// MSIL 写入器配置
15#[derive(Debug, Clone)]
16pub struct MsilWriterConfig {
17    /// 是否生成调试信息
18    pub generate_debug_info: bool,
19    /// 目标 URL
20    pub url: Option<Url>,
21}
22
23impl Default for MsilReadConfig {
24    fn default() -> Self {
25        Self { url: None }
26    }
27}