DSMFunction

class dsviper.DSMFunction

Bases: object

A function as declared: its prototype.

Note: Not directly instantiable.

documentation() → str

Return the function’s documentation - its doc comment in the DSM text, or the documentation given to Definitions - empty when there is none.

prototype() → DSMFunctionPrototype

Return the DSMFunctionPrototype: the function name, its parameters and its return type.