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

Function isFunctionCall

tools/standardTextToCode/parseTables.py:8–11  ·  view source on GitHub ↗
(text : str)

Source from the content-addressed store, hash-verified

6 text = text.split("[")[0] # Array indices are ok
7 return re.fullmatch("[a-z][a-z0-9]*(_[a-z0-9]+)+", text)
8def isFunctionCall(text : str):
9 if (not "(" in text or not ")" in text):
10 return False
11 return isVariableName(text.split("(")[0].strip())
12def removeComments(text : str):
13 commentStart = text.find("/*")
14 while (commentStart != -1):

Callers 1

getEntryTypeFunction · 0.85

Calls 1

isVariableNameFunction · 0.85

Tested by

no test coverage detected