dmd.apply
A depth-first visitor for expressions.
License
Source: apply.d
Documentation: https://dlang.org/phobos/dmd_apply.html
-
Declaration
intapply(FP, Params...)(Dsymbolsymbol, FPfp, Paramsparams);Iterate this dsymbol or members of this scoped dsymbol, then call
with the foundfpsymboland.paramsParameters
Dsymbolsymbolthe dsymbol or parent of members to call
fponFPfpfunction pointer to process the iterated
symbol. If it returns nonzero, the iteration will be aborted.Paramsparamsany parameters passed to
fp.Return Value
nonzero if the iteration is aborted by the return value of
fp, or 0 if it's completed.