Skip to content
Back to top
View this page

# DSMFunctionPrototype

class dsviper.DSMFunctionPrototype

  Bases: `object`

  A class used to represent the definition of a function prototype.

  Note: Not directly instantiable.

  name() → str

    Return the name.

  parameters() → list[tuple[str, DSMType]]

    Return the list of parameters.

  return_type() → DSMType

    Return the type of the returned value.