logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Ast_helper - Helpers to produce Parsetree fragments

Documentation

       Module Ast_helper
        : sigend

       Helpers to produce Parsetree fragments

       Warning This module is unstable and part of Compiler_libs .

       type'awith_loc = 'aLocation.loctypeloc = Location.ttypelid = Longident.twith_loctypestr = stringwith_loctypestr_opt = stringoptionwith_loctypeattrs = Parsetree.attributelistDefaultlocationsvaldefault_loc : locref

       Default value for all optional location arguments.

       valwith_default_loc : loc->(unit->'a)->'a

       Set the default_loc within the scope of the execution of the provided function.

   ConstantsmoduleConst:sigendmoduleAttr:sigendAttributesCorelanguagemoduleTyp:sigend

       Type expressions

       modulePat:sigend

       Patterns

       moduleExp:sigend

       Expressions

       moduleVal:sigend

       Value declarations

       moduleType:sigend

       Type declarations

       moduleTe:sigend

       Type extensions

   ModulelanguagemoduleMty:sigend

       Module type expressions

       moduleMod:sigend

       Module expressions

       moduleSig:sigend

       Signature items

       moduleStr:sigend

       Structure items

       moduleMd:sigend

       Module declarations

       moduleMs:sigend

       Module substitutions

       moduleMtd:sigend

       Module type declarations

       moduleMb:sigend

       Module bindings

       moduleOpn:sigend

       Opens

       moduleIncl:sigend

       Includes

       moduleVb:sigend

       Value bindings

   ClasslanguagemoduleCty:sigend

       Class type expressions

       moduleCtf:sigend

       Class type fields

       moduleCl:sigend

       Class expressions

       moduleCf:sigend

       Class fields

       moduleCi:sigend

       Classes

       moduleCsig:sigend

       Class signatures

       moduleCstr:sigend

       Class structures

       moduleRf:sigend

       Row fields

       moduleOf:sigend

       Object fields

OCamldoc                                           2025-06-12                                     Ast_helper(3o)

Module

       Module   Ast_helper

Name

       Ast_helper - Helpers to produce Parsetree fragments

See Also