package swhid

  1. Overview
  2. Docs
val parse : Lexing.lexbuf -> (Lang.identifier, string) result

parse buf parses a swhid from the buf Stdlib.Lexing.lexbuf.

val from_string : string -> (Lang.identifier, string) result

from_string s parses a swhid from string s.

val from_channel : in_channel -> (Lang.identifier, string) result

from_channel c parses a swhid from channel c

val from_file : string -> (Lang.identifier, string) result

from_file f parses a swhid from the file of name f.

OCaml

Innovation. Community. Security.