# HG changeset patch # User wenzelm # Date 1553773951 -3600 # Node ID 67af1c3bd36c135fba7c3acf1c418f878130ffc7 # Parent 90692c3d5ba29a00f6676a61170c614506d7b69d tuned names; diff -r 90692c3d5ba2 -r 67af1c3bd36c src/Doc/Isar_Ref/HOL_Specific.thy --- a/src/Doc/Isar_Ref/HOL_Specific.thy Thu Mar 28 12:49:15 2019 +0100 +++ b/src/Doc/Isar_Ref/HOL_Specific.thy Thu Mar 28 12:52:31 2019 +0100 @@ -2281,15 +2281,15 @@ \end{matharray} \<^rail>\ - @@{command (HOL) export_code} @'open'? (constexpr+) \ + @@{command (HOL) export_code} @'open'? (const_expr+) \ ((@'in' target (@'module_name' @{syntax string})? \ (@'file' @{syntax string})? ('(' args ')')?)+) ? ; const: @{syntax term} ; - constexpr: (const | 'name._' | '_') + const_expr: (const | 'name._' | '_') ; - typeconstructor: @{syntax name} + type_constructor: @{syntax name} ; class: @{syntax name} ; @@ -2306,21 +2306,21 @@ ; @@{attribute (HOL) code_abbrev} 'del'? ; - @@{command (HOL) code_thms} (constexpr+)? + @@{command (HOL) code_thms} (const_expr+)? ; - @@{command (HOL) code_deps} (constexpr+)? + @@{command (HOL) code_deps} (const_expr+)? ; @@{command (HOL) code_reserved} target @{syntax string}+ ; symbol_const: @'constant' const ; - symbol_typeconstructor: @'type_constructor' typeconstructor + symbol_type_constructor: @'type_constructor' type_constructor ; symbol_class: @'type_class' class ; symbol_class_relation: @'class_relation' class ( '<' | '\' ) class ; - symbol_class_instance: @'class_instance' typeconstructor @'::' class + symbol_class_instance: @'class_instance' type_constructor @'::' class ; symbol_module: @'code_module' name ; @@ -2330,7 +2330,7 @@ printing_const: symbol_const ('\' | '=>') \ ('(' target ')' syntax ? + @'and') ; - printing_typeconstructor: symbol_typeconstructor ('\' | '=>') \ + printing_type_constructor: symbol_type_constructor ('\' | '=>') \ ('(' target ')' syntax ? + @'and') ; printing_class: symbol_class ('\' | '=>') \ @@ -2345,13 +2345,13 @@ printing_module: symbol_module ('\' | '=>') \ ('(' target ')' \ (@{syntax string} - (@'for' ((symbol_const | symbol_typeconstructor | symbol_class | symbol_class_relation | symbol_class_instance)+))?)? + @'and') + (@'for' ((symbol_const | symbol_type_constructor | symbol_class | symbol_class_relation | symbol_class_instance)+))?)? + @'and') ; - @@{command (HOL) code_printing} ((printing_const | printing_typeconstructor + @@{command (HOL) code_printing} ((printing_const | printing_type_constructor | printing_class | printing_class_relation | printing_class_instance | printing_module) + '|') ; - @@{command (HOL) code_identifier} ((symbol_const | symbol_typeconstructor + @@{command (HOL) code_identifier} ((symbol_const | symbol_type_constructor | symbol_class | symbol_class_relation | symbol_class_instance | symbol_module ) ('\' | '=>') \ ('(' target ')' @{syntax string} ? + @'and') + '|')