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, int delegate(Dsymbol) dg)
    int
    foreachDsymbol
    (,
    scope int delegate dg
    )
  2. void foreachDsymbol(Dsymbols* symbols, void delegate(Dsymbol) dg)

Parameters

symbols Dsymbols*

Dsymbols

dg int delegate

delegate to call for each Dsymbol

Return Value

Type: int

last value returned by dg()

Meta