Project

General

Profile

« Previous | Next » 

Revision e0f0bc2c

Added by Arnaud Dieumegard over 3 years ago

Added polymorphic option for generated visitors

View differences:

src/backends/VHDL/vhdl_ast.ml
354 354
    design_file: vhdl_design_file_t [@yojson.default {design_units=[]}] [@yojson.key "DESIGN_FILE"];
355 355
  }
356 356
(*[@@deriving show { with_path = false }]*)
357
[@@deriving visitors { variety = "iter"; name = "vhdl_iter" }, 
357
[@@deriving visitors { variety = "iter"; name = "vhdl_iter"; polymorphic = true }, 
358 358
            visitors { variety = "map"; name = "vhdl_map"; polymorphic = true },
359 359
            yojson];;

Also available in: Unified diff