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

Method beginDict

scripts/jsgenerator.py:24–27  ·  view source on GitHub ↗

String starting definition of a named dictionary

(self, name)

Source from the content-addressed store, hash-verified

22 super().__init__(*args, **kwargs)
23
24 def beginDict(self, name):
25 """String starting definition of a named dictionary"""
26 self.currentDict = name
27 return f'exports.{name} = {{'
28
29 def endDict(self):
30 """ String ending definition of a named dictionary"""

Callers 2

writeDictMethod · 0.95
endFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected