package links

  1. Overview
  2. Docs

Interface to the parser.

val pp : string option Settings.setting
val parse_string : ?pp:string -> ?in_context:LinksLexer.lexer_context -> 'a LinksLexer.grammar -> string -> 'a * Scanner.position_context
val parse_file : ?pp:string -> ?in_context:LinksLexer.lexer_context -> 'a LinksLexer.grammar -> string -> 'a * Scanner.position_context
val parse_channel : ?interactive:(unit -> unit) -> ?in_context:LinksLexer.lexer_context -> 'a LinksLexer.grammar -> (Stdlib.in_channel * string) -> 'a * Scanner.position_context
module Readline : sig ... end
OCaml

Innovation. Community. Security.