This gives us more options for testing when we need those kinds of more extensive resource examination features.
17 lines
427 B
Plaintext
17 lines
427 B
Plaintext
-- main.mcl --
|
|
test "hello" {
|
|
boolptr => true,
|
|
anotherstr => "bye",
|
|
mixedstruct => struct{
|
|
somebool => true,
|
|
somestr => "inside struct",
|
|
someint => 42,
|
|
somefloat => 3.14,
|
|
},
|
|
}
|
|
-- OUTPUT --
|
|
Field: test[hello].AnotherStr = "bye"
|
|
Field: test[hello].BoolPtr = true
|
|
Field: test[hello].MixedStruct = struct{somebool: true; somestr: "inside struct"; someint: 42; somefloat: 3.14; somePrivatefield: ""}
|
|
Vertex: test[hello]
|