1078 |
1078 |
1079 \item [@{command (HOL) "code_abort"}] declares constants which |
1079 \item [@{command (HOL) "code_abort"}] declares constants which |
1080 are not required to have a definition by means of defining equations; |
1080 are not required to have a definition by means of defining equations; |
1081 if needed these are implemented by program abort instead. |
1081 if needed these are implemented by program abort instead. |
1082 |
1082 |
1083 \item [@{attribute (HOL) code}~@{text func}] explicitly selects (or |
1083 \item [@{attribute (HOL) code}] explicitly selects (or |
1084 with option ``@{text "del:"}'' deselects) a defining equation for |
1084 with option ``@{text "del"}'' deselects) a defining equation for |
1085 code generation. Usually packages introducing defining equations |
1085 code generation. Usually packages introducing defining equations |
1086 provide a reasonable default setup for selection. |
1086 provide a reasonable default setup for selection. |
1087 |
1087 |
1088 \item [@{attribute (HOL) code}@{text inline}] declares (or with |
1088 \item [@{attribute (HOL) code}@{text inline}] declares (or with |
1089 option ``@{text "del:"}'' removes) inlining theorems which are |
1089 option ``@{text "del"}'' removes) inlining theorems which are |
1090 applied as rewrite rules to any defining equation during |
1090 applied as rewrite rules to any defining equation during |
1091 preprocessing. |
1091 preprocessing. |
1092 |
1092 |
1093 \item [@{command (HOL) "print_codesetup"}] gives an overview on |
1093 \item [@{command (HOL) "print_codesetup"}] gives an overview on |
1094 selected defining equations, code generator datatypes and |
1094 selected defining equations, code generator datatypes and |