ppxlib
A comprehensive toolbox for ppx development. It features:
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ppxlib
-
ppxlib
-
-
ppxlib.ast
-
-
ppxlib.metaquot
-
ppxlib.metaquot_lifters
-
ppxlib.print_diff
-
ppxlib.runner
-
ppxlib.runner_as_ppx
-
ppxlib.traverse
-
ppxlib.traverse_builtins
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library ppxlib
Annotations merlin understand
val hide_attribute :
string Location.loc * Migrate_parsetree.Ast_405.Parsetree.payload
Adding this [@merlin.hide]
attribute on a piece of AST "hides" it from merlin: it tells merlin not to consider that branch if another piece of AST with the same location exist.
val focus_attribute :
string Location.loc * Migrate_parsetree.Ast_405.Parsetree.payload
Adding this [@merlin.focus]
attribute on a piece of AST tells merlin to prefer it to any other piece of AST when several have the same location.
Helpers
The following functions add the corresponding attribute (defined above) to specific pieces of AST.
val hide_pattern :
Migrate_parsetree.Ast_405.Parsetree.pattern ->
Migrate_parsetree.Ast_405.Parsetree.pattern
val focus_pattern :
Migrate_parsetree.Ast_405.Parsetree.pattern ->
Migrate_parsetree.Ast_405.Parsetree.pattern
val hide_expression :
Migrate_parsetree.Ast_405.Parsetree.expression ->
Migrate_parsetree.Ast_405.Parsetree.expression
val focus_expression :
Migrate_parsetree.Ast_405.Parsetree.expression ->
Migrate_parsetree.Ast_405.Parsetree.expression
ON THIS PAGE
No table of contents