ligo/src/passes/1-parser/shared/LexerUnit.mli

16 lines
419 B
OCaml
Raw Normal View History

2020-01-20 10:57:07 +01:00
(* Functor to build a standalone LIGO lexer *)
module Region = Simple_utils.Region
2020-01-20 10:57:07 +01:00
module type IO =
sig
val ext : string (* LIGO file extension *)
val options : EvalOpt.options (* CLI options *)
end
module Make (IO: IO) (Lexer: Lexer.S) :
sig
val scan : unit -> (Lexer.token list, string Region.reg) Stdlib.result
val trace : unit -> (unit, string Region.reg) Stdlib.result
2020-01-20 10:57:07 +01:00
end