package swhid

  1. Overview
  2. Docs

Module Swhid.ParseSource

Sourceval parse : Lexing.lexbuf -> (Lang.identifier, string) result

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

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

from_string s parses a swhid from string s.

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

from_channel c parses a swhid from channel c

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

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