MCPcopy Index your code
hub / github.com/KhronosGroup/Vulkan-Docs / dependencyMarkup

Function dependencyMarkup

scripts/parse_dependency.py:382–390  ·  view source on GitHub ↗

Return asciidoctor markup for a human-readable equivalent of an API dependency expression, suitable for use in extension appendix metadata. - dependency - the expression

(dependency)

Source from the content-addressed store, hash-verified

380 return str
381
382def dependencyMarkup(dependency):
383 """Return asciidoctor markup for a human-readable equivalent of an API
384 dependency expression, suitable for use in extension appendix
385 metadata.
386
387 - dependency - the expression"""
388
389 parsed = dependencyExpr.parse_string(dependency)
390 return markupTraverse(parsed)
391
392if __name__ == "__main__":
393 for str in [ 'VK_VERSION_1_0', 'cl_khr_extension_name', 'XR_VERSION_3_2', 'CL_VERSION_1_0' ]:

Callers 2

makeMetafileMethod · 0.90

Calls 1

markupTraverseFunction · 0.85

Tested by

no test coverage detected