ParseOptions.is_module

This commit is contained in:
강동윤 2019-12-11 16:18:47 +09:00
parent d53c94f1fb
commit 8622193d04

View File

@ -35,6 +35,9 @@ pub struct ParseOptions {
pub comments: bool,
#[serde(flatten)]
pub syntax: Syntax,
#[serde(default = "default_is_module")]
pub is_module: bool,
}
#[derive(Default, Serialize, Deserialize)]