package codex

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

Module Syntax_treeSource

Sourcetype ar1_format = {
  1. prefix : string;
  2. suffix : string;
}
Sourcetype ar2_format = {
  1. prefix : string;
  2. middle : string;
  3. suffix : string;
}
Sourcetype ar3_format = {
  1. prefix : string;
  2. middle1 : string;
  3. middle2 : string;
  4. suffix : string;
}
Sourcetype expr =
  1. | Ar0 of {
    1. s : string;
    }
  2. | Ar1 of {
    1. format : ar1_format;
    2. arg : expr;
    }
  3. | Ar2 of {
    1. format : ar2_format;
    2. arg1 : expr;
    3. arg2 : expr;
    }
  4. | Ar3 of {
    1. format : ar3_format;
    2. arg1 : expr;
    3. arg2 : expr;
    4. arg3 : expr;
    }
  5. | Ite of {
    1. cond : expr;
    2. then_expr : expr;
    3. else_expr : expr;
    }
Sourceval arity : expr -> int
Sourceval equal_expr : expr -> expr -> bool
Sourcetype expr_path = int list
Sourceval string_of_expr : expr -> string
Sourceval hashcons : expr -> expr
Sourcemodule Location_identifier : sig ... end
Sourcetype 'a located = 'a * 'a Location_identifier.t