MCPcopy Create free account
hub / github.com/defold/defold / _create_doc_info

Function _create_doc_info

engine/docs/script_doc.py:284–290  ·  view source on GitHub ↗
(tags)

Source from the content-addressed store, hash-verified

282 return path, file
283
284def _create_doc_info(tags):
285 info = script_doc_ddf_pb2.Info()
286 info.path, info.file = _parse_path(tags["path"])
287 if tags["path"] == "":
288 logging.warning('Missing tag @path for @name %s' % tags["name"])
289 info.namespace = tags.get("namespace", "")
290 return info
291
292def _create_doc_element(tags):
293 element = script_doc_ddf_pb2.Element()

Callers 1

_parse_commentFunction · 0.85

Calls 3

_parse_pathFunction · 0.85
warningMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected