symbolIsVisible

Same as above but also checks for protected symbols visible from scope sc. Used for qualified name lookup.

  1. bool symbolIsVisible(Module mod, Dsymbol s)
  2. bool symbolIsVisible(Dsymbol origin, Dsymbol s)
  3. bool symbolIsVisible(Scope* sc, Dsymbol s)
    extern (C++)
    bool
    symbolIsVisible

Parameters

sc
Type: Scope*

lookup scope

s
Type: Dsymbol

symbol to check for visibility

Return Value

Type: bool

true if s is visible by origin

Meta