foreachDsymbol

Calls dg(Dsymbol *sym) for each Dsymbol. If dg returns !=0, stops and returns that value else returns 0.

  1. int foreachDsymbol(Dsymbols* symbols, scope int delegate(Dsymbol) dg)
    int
    foreachDsymbol
    (
    Dsymbols* symbols
    ,
    scope int delegate dg
    )
  2. void foreachDsymbol(Dsymbols* symbols, scope void delegate(Dsymbol) dg)

Parameters

symbols
Type: Dsymbols*

Dsymbols

dg
Type: int delegate

delegate to call for each Dsymbol

Return Value

Type: int

last value returned by dg()

Meta