File: expr_info_polymorphic.ml

package info (click to toggle)
ocaml-visitors 20180513-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,640 kB
  • sloc: ml: 4,063; makefile: 120; sh: 13
file content (9 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
type 'info expr_node =
  | EConst of int
  | EAdd of 'info expr * 'info expr

and 'info expr =
  { info: 'info; node: 'info expr_node }

[@@deriving visitors { variety = "map"; polymorphic = true;
                       concrete = true; data = false }]