Pike v8.0 release 1738

Method Tools.AutoDoc.PikeParser()->parseArgList()


Method parseArgList

array parseArgList(int|void allowLiterals)

Description

Parse the list of arguments in a function declaration.

Parameter allowLiterals

If allowLiterals != 0 then you can write a literal or Pike idents as an argument, like:

void convert("jpeg", Image image, float quality)

For a literal arg, the argname[] string contains the literal and the corresponding argtypes element is 0

Note

Expects that the arglist is followed by a ")".