(.js)
laraImport("clava.code.StatementDecomposer");
(.lara)
import clava.code.StatementDecomposer;
Classes:
new StatementDecomposer()
constructor([tempPrefix = "decomp_"], [startIndex = 0])
decompose($stmt)
decomposeAndReplace($stmt)
If the given statement can be decomposed in two or more statements, replaces the statement with the decomposition.
decomposeAssignment($assign)
decomposeBinaryOp($binaryOp)
decomposeCall($call)
decomposeDeclStmt($stmt)
decomposeExpr($expr)
decomposeExprStmt($stmt)
decomposeReturnStmt($stmt)
decomposeStmt($stmt)
decomposeTernaryOp($ternaryOp)
decomposeUnaryOp($unaryOp)