☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
class-capture8.txtar
☽
☼
lang/interpret_test/TestAstFunc2/class-capture8.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
$x1 = "bad1"
3
$x2 = "also bad"
4
include defs.foo
5
6
import "defs.mcl" # out of order for fun
7
-- defs.mcl --
8
class foo {
9
test "${x1}" {} # capture the var
10
}
11
$x1 = "t1"
12
-- OUTPUT --
13
Vertex: test[t1]