User Guide
Examples
Architecture
API Reference
Converters for aritmetic operator nodes
Bases: Base
Base
Transformer for arithmetic nodes.
Initialize the transformer.
Subclasses should call this.
ctx – A Context object.
Transforms a BinOp node. Args :
node(ast.stmt) : AST node to transform
ast.stmt : Transformed node
Transform arithmetic nodes. :param node: AST node to transform :type node: ast.stmt :param ctx: Transformer context. :type ctx: ag_ctx.ControlStatusCtx
ast.stmt : Transformed node.