Scope.search

Perform unqualified name lookup by following the chain of scopes up until found.

struct Scope
extern (D)
search
(
const ref Loc loc
,,,
int flags = IgnoreNone
)

Parameters

loc Loc

location to use for error messages

ident Identifier

name to look up

pscopesym Dsymbol*

if supplied and name is found, set to scope that ident was found in

flags int

modify search based on flags

Return Value

Type: Dsymbol

symbol if found, null if not

Meta