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

Function _add_line

scripts/dmsdk/gen_cpp.py:63–69  ·  view source on GitHub ↗
(lines, tag, s)

Source from the content-addressed store, hash-verified

61 return None
62
63def _add_line(lines, tag, s):
64 if s is None:
65 return
66 if not tag:
67 lines.append(s)
68 else:
69 lines.append(f'@{tag} {s}')
70
71def _add_param(lines, tag, doc):
72 if doc is None:

Callers 1

gen_docFunction · 0.70

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected