make_statements function

(Shortest import: from brian2.codegen.translation import make_statements)

brian2.codegen.translation.make_statements(code, variables, dtype, optimise=True, blockname='')[source]

Turn a series of abstract code statements into Statement objects, inferring whether each line is a set/declare operation, whether the variables are constant or not, and handling the cacheing of subexpressions.