summaryrefslogtreecommitdiff
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 15:20:21 -0400
committerYong He <yonghe@outlook.com>2017-11-04 15:20:21 -0400
commit31e7f84484d227206f3bbb33a8b9be8a9acecfe5 (patch)
treeeb06912348d3fd39a671308d80db999d144ae024 /source/slang/syntax.h
parentd803bf74eee7842ce8a358e145b2546c03308dfc (diff)
Passing both assoctype-simple and assoctype-complex test cases.
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index cf75b5624..bda43b336 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -1155,7 +1155,12 @@ namespace Slang
RefPtr<Substitutions> createDefaultSubstitutions(
Session* session,
Decl* decl);
-
+
+ RefPtr<ThisTypeSubstitution> getNewThisTypeSubst(DeclRefBase & declRef);
+ RefPtr<ThisTypeSubstitution> getThisTypeSubst(DeclRefBase & declRef, bool insertSubstEntry);
+ void removeSubstitution(DeclRefBase & declRef, RefPtr<Substitutions> subst);
+ bool hasGenericSubstitutions(RefPtr<Substitutions> subst);
+
} // namespace Slang
#endif \ No newline at end of file