HomePhabricator

Transform only foreaches with yield statements inside

Description

Transform only foreaches with yield statements inside

Use the FunctionContext parser abstraction to keep track of
open foreach statements and presence of yields.

Details

Provenance
janAuthored on
Sara GolemonCommitted on Nov 16 2012, 8:11 PM
Parents
rOSHD88cf84191e6e: Separate "yield break" from "yield" parsing
Branches
Unknown
Tags
Unknown
ChangeId
None