ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.code.SimplifyAssignment");

(.lara)
import clava.code.SimplifyAssignment;

Global Functions

SimplifyAssignment

SimplifyAssignment($complexAssignment)

Simplifies assignments of the type `a += b` into the equivalent expression `a = a + b`

Parameters

$complexAssignment: $binaryOp - The expression to simplify