symbolIsVisible

Check whether symbols s is visible in mod.

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

Parameters

mod
Type: Module

lookup origin

s
Type: Dsymbol

symbol to check for visibility

Return Value

Type: bool

true if s is visible in mod

Meta