findloopparameters

Look for initialization and increment expressions in loop. Very similar to intranges().

nothrow @safe @trusted
bool
findloopparameters
(,
ref elem* rdeq
,
ref elem* rdinc
)

Parameters

erel elem*

loop compare expression of the form (v < c)

rdeq elem*

set to loop initialization of v

rdinc elem*

set to loop increment of v

Return Value

Type: bool

false if cannot find rdeq or rdinc

Meta