26.12.2012 Views

ATL: Atlas Transformation Language Specification of the ... - Eclipse

ATL: Atlas Transformation Language Specification of the ... - Eclipse

ATL: Atlas Transformation Language Specification of the ... - Eclipse

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Specification</strong> <strong>of</strong> <strong>the</strong> <strong>ATL</strong> Virtual Machine<br />

Each operation is associated with a unique context. This context is defined by <strong>the</strong> type attribute that<br />

points to a data type encoding entry <strong>of</strong> <strong>the</strong> constant pool.<br />

5.4.2 The Parameters<br />

Each operation is associated with an ordered set <strong>of</strong> parameters. This ordered set encodes <strong>the</strong> parameter<br />

declaration order. The parameter set is empty for operations that accept no parameters. A parameter set is<br />

defined by <strong>the</strong> following structure:<br />

<br />

...<br />

<br />

<br />

]><br />

Each parameter entry (encoded by a parameter element) has a name and a type attributes. Both<br />

attributes contain <strong>the</strong> index <strong>of</strong> a constant pool entry. The name attribute points to a constant pool entry that<br />

contains a variable name (<strong>the</strong> name <strong>of</strong> <strong>the</strong> parameter). The entry <strong>the</strong> type attribute refers to contains a data<br />

type encoding constant, which defines <strong>the</strong> parameter type. Parameter tags embed no ordering information.<br />

Within an asm file, <strong>the</strong> parameters order is encoded by <strong>the</strong> order in which <strong>the</strong> parameter tags appear in <strong>the</strong><br />

parameters element.<br />

5.4.3 The Code<br />

The treatments that are performed by an operation are defined within <strong>the</strong> operation code element. The code<br />

<strong>of</strong> an operation is defined by <strong>the</strong> following structure:<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

...<br />

<br />

<br />

<br />

<br />

Page 38 / 62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!