Describes attributes passed to modules, functions and expression assignments.
More...
|
void | ast_append_attribute (ast_node_attributes *parent, ast_node_attributes *toadd) |
| Creates and returns a new attribute node with the specified value and name. More...
|
|
ast_node_attributes * | ast_new_attributes (ast_identifier name, ast_expression *value) |
| Creates and returns as a pointer a new attribute descriptor. More...
|
|
Describes attributes passed to modules, functions and expression assignments.
void ast_append_attribute |
( |
ast_node_attributes * |
parent, |
|
|
ast_node_attributes * |
toadd |
|
) |
| |
Creates and returns a new attribute node with the specified value and name.
- Parameters
-
[in,out] | parent | - Pointer to the node which represents the list of attribute name,value pairs. |
[in] | toadd | - The new attribute to add. |
ast_node_attributes* ast_new_attributes |
( |
ast_identifier |
name, |
|
|
ast_expression * |
value |
|
) |
| |
Creates and returns as a pointer a new attribute descriptor.
- Parameters
-
[in] | name | - The name of the parameter/attribute. |
[in] | value | - The value the attribute should take. |