23
23
def type_list (nodes, klass=""):
24
24
"""Build a list of strings - possibly with markup - for a list of giraffe.ast.TypedNodes"""
27
27
if n.type.namespaced_name in n.namespace.repository:
28
28
result.append(n.type.html_link(type_label (n.type), klass="type %s" % klass))