extractFunctionParameters

Extracts all function parameters for a given declaration string.

const(char)[][]
extractFunctionParameters
(
scope const(char)[] sig
,
bool exact = false
)

Parameters

sig const(char)[]

the function signature such as string[] example(string sig, bool exact = false)

exact bool

set to true to make the returned values include the closing paren at the end (if exists)

Meta