TupleDeclaration.foreachVar

Calls dg(Dsymbol) for each Dsymbol, which should be a VarDeclaration inside VarExp (isexp == true). If dg returns !=0, stops and returns that value else returns 0.

  1. void foreachVar(void delegate(Dsymbol) dg)
  2. int foreachVar(int delegate(Dsymbol) dg)
    class TupleDeclaration
    extern (D)
    int
    foreachVar
    (
    scope int delegate dg
    )

Parameters

dg int delegate

delegate to call for each Dsymbol

Return Value

Type: int

last value returned by dg()

Meta