Home
last modified time | relevance | path

Searched refs:is_module (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/v8/include/
Dv8-message.h32 bool is_module = false)
35 (is_module ? kIsModule : 0)) {}
71 bool is_module = false,
78 is_module), in isolate_()
/third_party/node/deps/v8/src/parsing/
Dparse-info.cc156 DCHECK_IMPLIES(is_eval(), !is_module()); in SetFlagsForToplevelCompile()
166 DCHECK_IMPLIES(is_eval(), !is_module()); in SetFlagsForFunctionFromScript()
327 DCHECK_EQ(flags().is_module(), script.origin_options().IsModule()); in CheckFlagsForFunctionFromScript()
Dparse-info.h47 V(is_module, bool, 1, _) \
Dpreparser.cc82 if (flags().is_module()) scope = NewModuleScope(scope); in PreParseProgram()
Dparser.cc594 } else if (flags().is_module()) { in DoParseProgram()
605 if (flags().is_module()) { in DoParseProgram()
606 DCHECK(flags().is_module()); in DoParseProgram()
1241 flags().is_module())) { in ParseExportClause()
1323 flags().is_module())) { in ParseNamedImports()
Dscanner.cc201 if (flags_.is_module()) { in SkipSingleHTMLComment()
Dparser-base.h1071 return flags().is_module() || in is_await_as_identifier_disallowed()
1727 flags().is_module() || in ParseIdentifier()
3699 if (!flags().is_module()) { in ParseImportExpressions()
3709 if (!flags().is_module()) { in ParseImportExpressions()
/third_party/rust/crates/bindgen/bindgen/ir/
Ditem_kind.rs49 pub fn is_module(&self) -> bool { in is_module() method
Ditem.rs437 debug_assert!(id != parent_id || kind.is_module()); in new()
581 self.kind().is_module() && in is_toplevel()
597 !parent_item.kind().is_module() in is_toplevel()
625 pub fn is_module(&self) -> bool { in is_module() method
873 !opt.within_namespaces || !ctx.resolve_item(*id).is_module() in real_canonical_name()
Dcontext.rs139 checked = as_module_id with is_module,
1117 .find(|id| immut_self.resolve_item(*id).is_module()) in process_replacements()
2216 debug_assert!(self.resolve_item(module_id).kind().is_module(), "Wat"); in with_module()
2389 if !parent.is_module() { in compute_allowlisted_and_codegen_items()
/third_party/node/deps/v8/src/snapshot/
Dcode-serializer.cc662 const uint32_t is_module = origin_options.IsModule() ? kModuleFlagMask : 0; in SourceHash() local
665 return source_length | is_module; in SourceHash()
/third_party/node/deps/v8/src/codegen/
Dcompiler.cc1642 ScriptOriginOptions(false, false, false, info.flags().is_module())); in Run()
1735 DCHECK_EQ(flags_.is_module(), origin_options.IsModule()); in FinalizeScript()
2344 DCHECK(!flags.is_module()); in Compile()
/third_party/node/deps/v8/src/debug/
Ddebug-scopes.cc269 DCHECK(flags.is_module()); in TryParseAndRetrieveScopes()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs109 assert!(module.is_module()); in root_import()