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

Function getArgumentsRecursive

addons/misc.py:30–37  ·  view source on GitHub ↗
(tok, arguments)

Source from the content-addressed store, hash-verified

28
29# Get function arguments
30def getArgumentsRecursive(tok, arguments):
31 if tok is None:
32 return
33 if tok.str == ',':
34 getArgumentsRecursive(tok.astOperand1, arguments)
35 getArgumentsRecursive(tok.astOperand2, arguments)
36 else:
37 arguments.append(tok)
38
39def getArguments(ftok):
40 arguments = []

Callers 1

getArgumentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected