@startuml
'figure 1: Generators'
left to right direction
skinparam monochrome true
skinparam handwritten false
skinparam shadowing false
hide class circle

object function {
    for line in source:
    if "WARN" in line:
    yield tuple(...)
}

object expression {
    tuple(...)
    for line in source
    if "WARN" in line
}

function <...> expression

@enduml
