MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Docs / gatherVUIDs

Method gatherVUIDs

scripts/reflow.py:149–157  ·  view source on GitHub ↗

Gather VUID tags and add them to vuidDict. Used to verify no-duplicate VUIDs

(self, para)

Source from the content-addressed store, hash-verified

147 self.vuidDict[vuid].append([self.filename, line])
148
149 def gatherVUIDs(self, para):
150 """Gather VUID tags and add them to vuidDict. Used to verify no-duplicate VUIDs"""
151 for line in para:
152 line = line.rstrip()
153
154 matches = vuidPat.search(line)
155 if matches is not None:
156 vuid = matches.group('vuid')
157 self.visitVUID(vuid, line)
158
159 def addVUID(self, para, state):
160 hangIndent = state.hangIndent

Callers 1

transformParagraphMethod · 0.95

Calls 1

visitVUIDMethod · 0.95

Tested by

no test coverage detected