NodeRenderer class
(Shortest import: from brian2.parsing.rendering import NodeRenderer)
- class brian2.parsing.rendering.NodeRenderer(auto_vectorise=None)[source]
Bases:
object
Methods
render_Assign
(node)render_AugAssign
(node)render_BinOp
(node)render_BinOp_parentheses
(left, right, op)render_BoolOp
(node)render_Call
(node)render_Compare
(node)render_Constant
(node)render_Name
(node)render_UnaryOp
(node)Render an element with parentheses around it or leave them away for numbers, names and function calls.
render_expr
(expr[, strip])render_func
(node)render_node
(node)Details