Lines Matching refs:macro

7macro](#macro) within the current namespace. There may be zero or more parameters passed to the ma…
9 …e [macro](#macro), these can be named or anonymous but must conform to the parameter types defined…
29 <td align="left"><p>The identifier of the <code>macro</code> to be instantiated.</p></td>
33 <td align="left"><p>Zero or more parameters that are passed to the macro.</p></td>
40 See the [`macro`](cil_call_macro_statements.md#macro) statement for an example.
42 macro section in Call / Macro Statements
45macro in the current namespace with its associated parameters. The macro identifier is used by the…
49 - Items defined inside the macro
51 - Items passed into the macro as arguments
53 - Items defined in the same namespace of the macro
59 (macro macro_id ([(param_type param_id) ...])
73 <td align="left"><p><code>macro</code></p></td>
74 <td align="left"><p>The <code>macro</code> keyword.</p></td>
78 <td align="left"><p>The <code>macro</code> identifier.</p></td>
82 <td align="left"><p>Zero or more parameters that are passed to the macro. The <code>param_type</cod…
87 <td align="left"><p>The parameter identifier used to reference the entry within the macro body (e.g…
98 This example will instantiate the `binder_call` macro in the calling namespace (`my_domain`) and re…
104 (macro binder_call ((type ARG1) (type ARG2))
110 This example does not pass any parameters to the macro but adds a [`type`](cil_type_statements.md#t…
116 (macro add_type ()
121 This example passes an anonymous and named IP address to the macro:
128 (macro build_nodecon ((ipaddr ARG1) (ipaddr ARG2))