Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Types and utilities on terms that are to be Pratt parsed.
type popt = pos option
get_ident t
returns the identifier and (optional) position of term t
, if t
is an identifier.
make_appl t u
returns the application of t
to u
, sometimes noted @(t, u)
, or just t u
.
make_bin_appl t p op u
returns the application of binary operator op
in position p
to terms t
and u
, so the term t op u
.