MCPcopy Create free account
hub / github.com/IENT/YUView / fromText

Method fromText

tools/standardTextToCode/parseTables.py:149–156  ·  view source on GitHub ↗
(self, name : str)

Source from the content-addressed store, hash-verified

147 self.functionName = None
148 self.arguments = None
149 def fromText(self, name : str):
150 self.functionName = name.split("(")[0]
151 self.arguments = []
152 for argument in (name.split("(")[1].split(")")[0].split(",")):
153 c = cleanArgument(argument)
154 if (len(c) > 0):
155 self.arguments.append(cleanArgument(argument))
156 debugStop = 234
157 def __str__(self):
158 spaces = ""
159 for _ in range(self.parent.depth):

Callers

nothing calls this directly

Calls 2

cleanArgumentFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected