swhid
Swhid.Parse
val parse : Lexing.lexbuf -> (Lang.identifier, string) result
parse buf parses a swhid from the buf Stdlib.Lexing.lexbuf.
parse buf
buf
Stdlib.Lexing.lexbuf
val from_string : string -> (Lang.identifier, string) result
from_string s parses a swhid from string s.
from_string s
s
val from_channel : in_channel -> (Lang.identifier, string) result
from_channel c parses a swhid from channel c
from_channel c
c
val from_file : string -> (Lang.identifier, string) result
from_file f parses a swhid from the file of name f.
from_file f
f