VarRewriter class

(Shortest import: from brian2.parsing.functions import VarRewriter)

class brian2.parsing.functions.VarRewriter(pre)[source]

Bases: NodeTransformer

Rewrites all variable names in names by prepending pre

Methods

visit_Call(node)

visit_Name(node)

Details

visit_Call(node)[source]
visit_Name(node)[source]