Module Ocaml_protoc_compiler_lib.Pb_location

File location utilities

type t

Location type

Creators

val from_lexbuf : Lexing.lexbuf -> t

from_lexbuf lexbuf create a location from the current lexbuf location

Accessors

Utilities

val to_string : t -> string

to_string loc convert to the compiler error string