FunctionPrototype

class dsviper.FunctionPrototype

Bases: object

A class used to represent the prototype of a function.

Note: Not directly instantiable.

parameters() list[tuple[str, Type]]

Return the list of parameters.

return_type() Type

Return the type of the returned value.