src/Pure/Isar/code.ML
changeset 56204 f70e69208a8c
parent 55722 b6ed5f896ce9
child 56334 6b3739fee456
equal deleted inserted replaced
56203:76c72f4d0667 56204:f70e69208a8c
  1283       || Args.$$$ "drop" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_eqns)
  1283       || Args.$$$ "drop" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_eqns)
  1284       || Args.$$$ "abort" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_exception)
  1284       || Args.$$$ "abort" -- Args.colon |-- (Scan.repeat1 Parse.term >> mk_const_attribute del_exception)
  1285       || Scan.succeed (mk_attribute add_eqn_maybe_abs);
  1285       || Scan.succeed (mk_attribute add_eqn_maybe_abs);
  1286   in
  1286   in
  1287     Datatype_Interpretation.init
  1287     Datatype_Interpretation.init
  1288     #> Attrib.setup (Binding.name "code") (Scan.lift code_attribute_parser)
  1288     #> Attrib.setup @{binding code} (Scan.lift code_attribute_parser)
  1289         "declare theorems for code generation"
  1289         "declare theorems for code generation"
  1290   end);
  1290   end);
  1291 
  1291 
  1292 end; (*struct*)
  1292 end; (*struct*)
  1293 
  1293