package ppxlib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

Type for the location independent parts of the expansion context

val code_path : t -> Code_path.t

Return the code path for the given context

val tool_name : t -> string

Can be used within a ppx preprocessor to know which tool is calling it "ocamlc", "ocamlopt", "ocamldep", "ocaml", ... .

OCaml

Innovation. Community. Security.