| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Tools
Tools.AutoDoc
Tools.AutoDoc.PikeParser

# 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 ")".