Functions#

class momba.model.FunctionDefinition(name, parameters, returns, body)[source]#

A function definition.

name#

The name of the defined function.

parameters#

The parameters of the function.

returns#

The return type of the function.

body#

The body of the function.

class momba.model.functions.FunctionParameter(name, typ)[source]#

A function parameter.

name#

The name of the parameter.

typ#

The type of the parameter.

class momba.model.functions.CallExpression(function, arguments)[source]#

A call expression.

function#

The name of the function to be called.

arguments#

The arguments to be passed to the function.