File: expr00.mli

package info (click to toggle)
ocaml-visitors 20200210-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,896 kB
  • sloc: ml: 4,077; makefile: 44; sh: 18
file content (9 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
type expr =
  | EConst of int
  | EAdd of expr * expr

class virtual ['self] iter : object ('self)
  method visit_EAdd   : 'monomorphic. 'env -> expr -> expr -> unit
  method visit_EConst : 'monomorphic. 'env -> int -> unit
  method visit_expr   : 'monomorphic. 'env -> expr -> unit
end