scope snippetTypeName.
static S #data = [[
]];
static Map #map;
static S snippetTypeName(int type) {
if (map == null)
map = mapKeys(f parseInt, pairsToMap(map listToPair(regexpAllGroups(">\\[(\\d+)\\] ([^>]+)<", data))));
ret map.get(type);
}
/*static S snippetTypeName(S type) {
ret snippetTypeName(parseIntOpt(type));
}*/
end scope