Closed hasii2011 closed 2 years ago
def __getMethodCode(self, methodName: MethodName, ctx: Python3Parser.FuncdefContext): methodText: str = ctx.getText() splitText: List[str] = methodText.split('\n') justMethodCode: List[str] = splitText[1:len(splitText)] # TODO; Put in an option to use justMethodCode self.logger.debug(f'justMethodCode: {justMethodCode}') self.methodCode[methodName] = methodText
Not going to put in an option. Given how PyutMethod.sourceCode is defined we should use the list of justMethodCode
Done on the 🤡 master 🤡 branch