summaryrefslogtreecommitdiff
path: root/source/slang/decl-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/decl-defs.h')
-rw-r--r--source/slang/decl-defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/decl-defs.h b/source/slang/decl-defs.h
index 9c010d156..e24a535c5 100644
--- a/source/slang/decl-defs.h
+++ b/source/slang/decl-defs.h
@@ -126,6 +126,11 @@ END_SYNTAX_CLASS()
SYNTAX_CLASS(AssocTypeDecl, AggTypeDecl)
END_SYNTAX_CLASS()
+// A '__generic_param' declaration, which defines a generic
+// entry-point parameter. Is a container of GenericTypeConstraintDecl
+SYNTAX_CLASS(GlobalGenericParamDecl, AggTypeDecl)
+END_SYNTAX_CLASS()
+
// A scope for local declarations (e.g., as part of a statement)
SIMPLE_SYNTAX_CLASS(ScopeDecl, ContainerDecl)