package ppx_tools_versioned

  1. Overview
  2. Docs

Convenience functions to help build and deconstruct AST fragments.

Compatibility modules

module Label : sig ... end
module Constant : sig ... end

Misc

Expressions

Patterns

Types

AST deconstruction

val get_str : Migrate_parsetree.Ast_406.Parsetree.expression -> string option
val get_str_with_quotation_delimiter : Migrate_parsetree.Ast_406.Parsetree.expression -> (string * string option) option
val get_lid : Migrate_parsetree.Ast_406.Parsetree.expression -> string option
val has_attr : string -> Migrate_parsetree.Ast_406.Parsetree.attributes -> bool
OCaml

Innovation. Community. Security.