package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Scopes define the hierarchical relationships of Var.ts

module Type : sig ... end

Types of scope

type t
val create : ?subscopes:t Base.list -> ?typ:Type.t -> name:Base.string -> vars:Var.t Base.list -> Base.unit -> t
val name : t -> Base.string
val typ : t -> Type.t
val vars : t -> Var.t Base.list

Variables at this scope

val subscopes : t -> t Base.list
val all_vars : t -> Var.t Base.list

All variables at this scope and in subscopes

val write : Stdio.Out_channel.t -> t -> Base.unit

Write the scope to the vcd header

OCaml

Innovation. Community. Security.