View source code
Display the source code in dmd/dsymbolsem.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.
dmd.dsymbolsem.search - multiple declarations
Function search
Perform unqualified name lookup by following the chain of scopes up until found.
Dsymbol search(
dmd .dscope .Scope* _this,
Loc loc,
Identifier ident,
out Dsymbol pscopesym,
uint flags = 0u
);
Parameters
| Name | Description |
|---|---|
| _this | Scope object |
| loc | location to use for error messages |
| ident | name to look up |
| pscopesym | if supplied and name is found, set to scope that ident was found in, otherwise set to null |
| flags | modify search based on flags |
Returns
symbol if found, null if not
Function search
Search for ident as member of d.
Parameters
| Name | Description |
|---|---|
| d | dsymbol where ident is searched for |
| loc | location to print for error messages |
| ident | identifier to search for |
| flags | search options |
Returns
null if not found
Authors
License
Copyright © 1999-2026 by the D Language Foundation | Page generated by ddox.