You can search for identifiers within the package.
in-package search v0.2.0
tiny_languages.lang_c
Ast_c
type name = {
text : string;
tok : int;
}
type ty =
| Tbase
| Tname of name
| Tstruct of name option * decl list option
| Tenum of name option * (name * expr option) list option
| Tptr of ty
| Tarray of ty * expr option
| Tfunc of ty * decl list
| Ttypeof of expr
and decl = {
dname : name option;
dty : ty;
dinit : init option;
and init =
| Iexpr of expr
| Ilist of (designator list * init) list
and designator =
| Dfield of name
| Dindex of expr
and expr =
| Econst
| Eident of name
| Efield of expr * name
| Ecall of expr * expr list
| Ecast of ty * expr
| Etype of ty
| Ecompound of ty * init
| Estmt of stmt list
| Emisc of expr list
and stmt =
| Sexpr of expr
| Sdecl of spec * decl list
| Sblock of stmt list
| Sfor of stmt option * expr list * stmt
| Snest of expr list * stmt list
| Slabel of name * stmt
| Sgoto of name
and spec = {
typedef : bool;
base : ty;
type define = {
mname : name;
mparams : name list option;
mbody : name list;
type item =
| Ifunc of spec * decl * decl list * stmt list
| Idecl of spec * decl list
| Imacro of expr
type file = {
items : item list;
defines : define list;
skipped : (int * int) list;