diff options
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 0b5a38631..bda43b336 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -439,6 +439,7 @@ namespace Slang // Apply substitutions to this declaration reference DeclRefBase SubstituteImpl(Substitutions* subst, int* ioDiff); + // Check if this is an equivalent declaration reference to another bool Equals(DeclRefBase const& declRef) const; bool operator == (const DeclRefBase& other) const @@ -1155,6 +1156,11 @@ namespace Slang 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 |
