This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manet:docs:attributes [2015/04/17 17:27] ppinto |
manet:docs:attributes [2015/04/17 18:28] ppinto |
||
---|---|---|---|
Line 45: | Line 45: | ||
| ::: | is_parent | Boolean | Whether the provided **loop** is the parent of this this loop. This attribute expects an argument which must be a join point of type **loop**. It is called as if it were a function: ''$loop1.is_parent($loop2)''. | | | ::: | is_parent | Boolean | Whether the provided **loop** is the parent of this this loop. This attribute expects an argument which must be a join point of type **loop**. It is called as if it were a function: ''$loop1.is_parent($loop2)''. | | ||
| ::: | line | Integer | The line number where this loop is located in the original source file. | | | ::: | line | Integer | The line number where this loop is located in the original source file. | | ||
+ | | statement | line | Integer | The line number where this statement is located in the original source file. | | ||
+ | |var |references |enum: {read,write,decl} |The type of variable use. **decl** stands for declaration. | | ||
+ | |::: |scope |enum: {local,global} |Whether this variable was declared globally or in the current function. | | ||
+ | |::: |type |String |A string representation of the type of the variable, e.g., ''int''. | | ||
+ | |::: |is_array |Boolean |Whether this variable is an array. | | ||
+ | |::: |is_pointer |Boolean |Whether this variable is a pointer. | | ||
+ | |::: |is_struct |Boolean |Whether this variable is a struct. | | ||
+ | |::: |name |String |The name of this variable. | | ||
+ | |::: |is_arg |Boolean |Whether this variable use is inside a function call as an argument. | | ||
+ | |::: |in_loop_header |Boolean |Whether this variable use is inside a loop header. | | ||
+ | |::: |is_param |Boolean |Whether this variable use is a parameter definition. | | ||
+ | |::: |is_scalar |Boolean |Whether this variable is scalar. | | ||
+ | |::: |has_init |Boolean |Whether this variable use represents a declaration that has an initializer. | | ||
+ | |::: |is_primitive |Boolean |Whether this variable is not a user-defined type. | | ||
+ | |::: |line |Integer |The line number where this variable use is located in the original source file. | |