MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / escape

Method escape

modules/engine/basic_meta/lua/luabind.py:15–20  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

13 return [functions for function in functions if hasattr(function.attrs, "scriptable")]
14
15 def escape(self, name):
16 if name == "repeat":
17 return "repeat_"
18 if name == "in":
19 return "in_"
20 return name
21
22 def lua_type(self, name):
23 if name == "bool":

Callers 1

lua_paramMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected