foreachUda

Iterates the UDAs attached to the given symbol.

int
foreachUda
(,,
int delegate dg
)

Parameters

sym Dsymbol

the symbol to get the UDAs from

sc Scope*

scope to use for semantic analysis of UDAs

dg int delegate

called once for each UDA

Return Value

Type: int

If dg returns != 0, stops the iteration and returns that value. Otherwise, returns 0.

Meta