ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.pass.DecomposeDeclStmt");

(.lara)
import clava.pass.DecomposeDeclStmt;

DecomposeDeclStmt

Constructor

DecomposeDeclStmt

new DecomposeDeclStmt()

(Extends SimplePass)
Decomposes composite declaration statements into separate statements for each variable.

This means that a declaration like:

```c
int a, b = 10, c;
```

Will be decomposed to:

```c
int a;
int b = 10;
int c;
```


Instance Members

matchJoinpoint

matchJoinpoint($jp)

Parameters

$jp: unknown

name

name()

Returns

string - Name of the pass

transformJoinpoint

transformJoinpoint($jp)

Parameters

$jp: unknown