summaryrefslogtreecommitdiffstats
path: root/js/src/vm/ModuleBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/ModuleBuilder.h')
-rw-r--r--js/src/vm/ModuleBuilder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/vm/ModuleBuilder.h b/js/src/vm/ModuleBuilder.h
index 31f8ec2826..738006c069 100644
--- a/js/src/vm/ModuleBuilder.h
+++ b/js/src/vm/ModuleBuilder.h
@@ -90,7 +90,7 @@ class MOZ_STACK_CLASS ModuleBuilder {
MaybeModuleRequestIndex appendModuleRequest(
frontend::TaggedParserAtomIndex specifier,
- frontend::ListNode* assertionList);
+ frontend::ListNode* attributeList);
bool appendExportEntry(frontend::TaggedParserAtomIndex exportName,
frontend::TaggedParserAtomIndex localName,
@@ -101,10 +101,10 @@ class MOZ_STACK_CLASS ModuleBuilder {
void markUsedByStencil(frontend::TaggedParserAtomIndex name);
- [[nodiscard]] bool processAssertions(frontend::StencilModuleRequest& request,
- frontend::ListNode* assertionList);
+ [[nodiscard]] bool processAttributes(frontend::StencilModuleRequest& request,
+ frontend::ListNode* attributeList);
- [[nodiscard]] bool isAssertionSupported(frontend::TaggedParserAtomIndex key);
+ [[nodiscard]] bool isAttributeSupported(frontend::TaggedParserAtomIndex key);
};
template <typename T>