MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getArgumentsRecursive

Function getArgumentsRecursive

addons/misra.py:1174–1181  ·  view source on GitHub ↗
(tok, arguments)

Source from the content-addressed store, hash-verified

1172
1173# Get function arguments
1174def getArgumentsRecursive(tok, arguments):
1175 if tok is None:
1176 return
1177 if tok.str == ',':
1178 getArgumentsRecursive(tok.astOperand1, arguments)
1179 getArgumentsRecursive(tok.astOperand2, arguments)
1180 else:
1181 arguments.append(tok)
1182
1183
1184def getArguments(ftok):

Callers 1

getArgumentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected