package diffast-langs-python-parsing

  1. Overview
  2. Docs

Parameters

module Stat : STATE_T

Signature

val parse_warning : Lexing.position -> Lexing.position -> ('a, out_channel, unit, unit) format4 -> 'a
val parse_error : Lexing.position -> Lexing.position -> ('a, unit, string, unit) format4 -> 'a
val mktestlist : ?comma:bool -> ?yield:bool -> Ast.expr list -> Ast.testlist
val emptyarglist : ?loc:Ast.Loc.t -> unit -> Ast.Loc.t * 'a list
val emptyvarargslist : ?loc:Ast.Loc.t -> unit -> Ast.Loc.t * 'a list
val emptytypedargslist : ?loc:Ast.Loc.t -> unit -> Ast.Loc.t * 'a list
val mkmarkerstmt : Lexing.position -> Lexing.position -> string -> Ast.statement
val chg_loc : ('a * 'b) -> 'c -> 'c * 'b
OCaml

Innovation. Community. Security.