update comment
This commit is contained in:
parent
510eaae73a
commit
ad12b7e958
@ -281,6 +281,7 @@ impl Nac3 {
|
||||
ComposerConfig { kernel_ann: Some("Kernel"), kernel_invariant_ann: "KernelInvariant" },
|
||||
);
|
||||
composer.build_constructor_lookup(self.top_levels.iter().map(|(stmt, _, _)| stmt));
|
||||
|
||||
let builtins = PyModule::import(py, "builtins")?;
|
||||
let typings = PyModule::import(py, "typing")?;
|
||||
let id_fn = builtins.getattr("id")?;
|
||||
|
@ -37,7 +37,7 @@ pub struct TopLevelComposer {
|
||||
// number of built-in function and classes in the definition list, later skip
|
||||
pub builtin_num: usize,
|
||||
pub core_config: ComposerConfig,
|
||||
// the HashMap that store the class name and It constructor Function
|
||||
// the HashMap that store the class name and it's constructor function
|
||||
pub constructor_lookup: HashMap<StrRef, ast::Located<ast::StmtKind>>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user