nitc :: ScopeVisitor :: search_label
name
.Return null if no such a label is found.
# Look for a label `name`.
# Return null if no such a label is found.
fun search_label(name: String): nullable EscapeMark
do
for scope in scopes do
var res = scope.escapemark
if res != null and res.name == name then
return res
end
end
return null
end
src/semantize/scope.nit:144,2--155,4