MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / parse_Element

Function parse_Element

Utilities/Maintenance/JIRAHTMLReleaseNoteToWiki.py:64–75  ·  view source on GitHub ↗

Dispatch to correct handling do method

(node)

Source from the content-addressed store, hash-verified

62
63
64def parse_Element(node):
65 """Dispatch to correct handling do method"""
66 if node.tagName == "li":
67 return do_li(node)
68 elif node.tagName == "a":
69 return do_a(node)
70 elif node.tagName == "h1":
71 return do_h(node, 1)
72 elif node.tagName == "h2":
73 return do_h(node, 2)
74 else:
75 return parse(node)
76
77
78def parse_Document(node):

Callers 1

parseFunction · 0.85

Calls 4

do_liFunction · 0.85
do_aFunction · 0.85
do_hFunction · 0.85
parseFunction · 0.85

Tested by

no test coverage detected