diff options
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 6a404214e..5198a44b2 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -12,6 +12,7 @@ namespace Slang { + class Module; class Name; class Session; class Substitutions; @@ -1360,6 +1361,10 @@ namespace Slang Function = 4, All = 7 }; + + /// Get the module that a declaration is associated with, if any. + Module* getModule(Decl* decl); + } // namespace Slang #endif |
