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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/slang/decl-defs.h b/source/slang/decl-defs.h
index c9860f9bf..c96fe6d09 100644
--- a/source/slang/decl-defs.h
+++ b/source/slang/decl-defs.h
@@ -96,6 +96,15 @@ SIMPLE_SYNTAX_CLASS(InterfaceDecl, AggTypeDecl)
SYNTAX_CLASS(InheritanceDecl, Decl)
// The type expression as written
SYNTAX_FIELD(TypeExp, base)
+
+RAW(
+ // After checking, this dictionary will map members
+ // required by the base type to their concrete
+ // implementations in the type that contains
+ // this inheritance declaration.
+ Dictionary<DeclRef<Decl>, Decl*> requirementWitnesses;
+)
+
END_SYNTAX_CLASS()
// TODO: may eventually need sub-classes for explicit/direct vs. implicit/indirect inheritance