diff -r 881d0248b3ce -r 92d115d8828d svghmi/hmi_tree.ysl2 --- a/svghmi/hmi_tree.ysl2 Fri Mar 27 14:25:24 2020 +0100 +++ b/svghmi/hmi_tree.ysl2 Sun Mar 29 16:11:21 2020 +0200 @@ -124,6 +124,8 @@ result "$class_a and $class_b and $class_a = $class_b"; } +reflect:hmi_tree; + // Debug data template "*", mode="testtree"{ param "indent", "''"; @@ -134,7 +136,7 @@ with "indent" value "concat($indent,'>')" }; } -function "debug_hmitree" { +template "reflect:hmi-tree", mode="debug" { | Raw HMI tree apply "$hmitree", mode="testtree"; | @@ -145,4 +147,3 @@ copy "_parsed_widgets"; apply "$parsed_widgets", mode="testtree"; } -!debug_output_calls.append("debug_hmitree")