Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Generic.Query
SourceThe module Query
encodes generic patterns (for both matching and transformation) over expressions and is part of Ego.Generic
's API for expressing rewrites.
Represents a query over expressions in a language with operators of type 'sym
.
of_sexp f s
constructs a query from a sexpression s
using f
to convert operator tags.
to_sexp f q
converts a query q
to a sexpression using f
to convert operators in the query to strings.
pp f fmt q
pretty prints a query q
using f
to print the operators within the query.
show f q
prints a query q
to string using f
to print operators within the query.