hello (generic function with 1 method)
👀 Reading hidden code
Welcome to Julia!
👀 Reading hidden code
:(function hello(x)
#= none:1 =#
#= none:2 =#
y = x
#= none:3 =#
123
#= none:4 =#
y
end)
👀 Reading hidden code
get_expr_for (generic function with 1 method)
👀 Reading hidden code
end
👀 Reading hidden code
using PlutoUI
contains_head (generic function with 1 method)
👀 Reading hidden code
contains_head(expr::Any, head::Symbol) = false
contains_head (generic function with 2 methods)
contains_head(expr::Expr, head::Symbol) = if expr.head === head
true
else
any(contains_head.(expr.args, [head]))
end
👀 Reading hidden code
justthecellid (generic function with 1 method)
justthecellid(s) = split(String(s), "#==#")[2]
👀 Reading hidden code
justthefilename (generic function with 1 method)
justthefilename(s) = split(String(s), "#==#")[1]
👀 Reading hidden code