summaryrefslogtreecommitdiff
path: root/source/slang/lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lookup.h')
-rw-r--r--source/slang/lookup.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/slang/lookup.h b/source/slang/lookup.h
index 473ecaf96..37ab5cf06 100644
--- a/source/slang/lookup.h
+++ b/source/slang/lookup.h
@@ -21,7 +21,8 @@ LookupResult lookUp(
Session* session,
SemanticsVisitor* semantics,
Name* name,
- RefPtr<Scope> scope);
+ RefPtr<Scope> scope,
+ LookupMask mask = LookupMask::Default);
// perform lookup within the context of a particular container declaration,
// and do *not* look further up the chain
@@ -29,14 +30,16 @@ LookupResult lookUpLocal(
Session* session,
SemanticsVisitor* semantics,
Name* name,
- DeclRef<ContainerDecl> containerDeclRef);
+ DeclRef<ContainerDecl> containerDeclRef,
+ LookupMask mask = LookupMask::Default);
// Perform member lookup in the context of a type
LookupResult lookUpMember(
Session* session,
SemanticsVisitor* semantics,
Name* name,
- Type* type);
+ Type* type,
+ LookupMask mask = LookupMask::Default);
// TODO: this belongs somewhere else