Compiler implementation of the D programming language.
Do access check for member of this class, this class being the type of the 'this' pointer used to access smember. Returns true if the member is not accessible.
Check access to d for expression e.d Returns true if the declaration is not accessible.
Check access to package/module p
from scope sc
.
Loc loc
| source location for issued error message |
Scope* sc
| scope from which to access to a fully qualified package name |
Package p
| the package/module to check access for |
Check whether symbols s
is visible in mod
.
Module mod
| lookup origin |
Dsymbol s
| symbol to check for visibility |
Same as above, but determines the lookup module from symbols origin
.
Same as above but also checks for protected symbols visible from scope sc
. Used for qualified name lookup.
Scope* sc
| lookup scope |
Dsymbol s
| symbol to check for visibility |
Check if a symbol is visible from a given scope without taking into account the most visible overload.
Scope* sc
| lookup scope |
Dsymbol s
| symbol to check for visibility |
Use the most visible overload to check visibility. Later perform an access check on the resolved overload. This function is similar to overloadApply, but doesn't recurse nor resolve aliases because protection/visibility is an attribute of the alias not the aliasee.
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_access.html