<@6> <@local(ps,name,id,switch,nclose)> <@> <$name = argv#0> <$root = argv#1> <$num = v.plugin_num(name)> <$id = 'sidetag' . if(num != 1, num)> <$ps = v.load_plgset(name)> <$switch = ps.switch)> <$nclose = ps.nclose> <$notag_arts = argv#2> <@> <@>--------------------------------------------------------------------- <@>再帰サブルーチン <@>--------------------------------------------------------------------- <$sub = begin.function> <@local(t, tid, p, node, tree, depth, x)> <$node = argv#0> <$tree = node.children> <$depth = argv#1><@>prefix <$p = "\t" %x depth> <@p> <$end.function> <@>--------------------------------------------------------------------- <@>タグリスト <@>--------------------------------------------------------------------- <@ifexec(root && root.pkey, begin, begin)>
<@root.name>
<$else>
<@ps.title || 'タグ'>
<$end>
<@ifexec(root, begin)> <@exec(sub, root, 0)> <$end>