Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| language:attributes [2024/08/07 11:04] – [Production rule attributes] rajit | language:attributes [2024/08/07 11:11] (current) – [Attributes] rajit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Attributes ====== | ====== Attributes ====== | ||
| - | ACT provides a mechanism to specify user-customizable // | + | ACT provides a mechanism to specify user-customizable // |
| ===== Production rule attributes ===== | ===== Production rule attributes ===== | ||
| Line 18: | Line 17: | ||
| The list of production rule attributes recognized by ACT is user-customizable, | The list of production rule attributes recognized by ACT is user-customizable, | ||
| + | |||
| + | ===== Instance attributes ===== | ||
| + | |||
| + | The other category of attributes is the //instance attribute// | ||
| + | |||
| + | The syntax is: | ||
| + | <code act> | ||
| + | bool a; | ||
| + | a @ [attrib1=value1; | ||
| + | </ | ||