Documentation Index
Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
Use this file to discover all available pages before exploring further.
INFOThis feature is using
focus-metavariable, see focus-metavariable documentation for more information.- Set union: Experimental feature described below in the section Set union. This feature returns the union of all matches of the specified metavariables.
- Set intersection: Only matches the overlapping region of all the focused code. For more information, see Including more focus metavariables using set intersection semantics.
Set union
For example, there is a pattern that binds several metavariables. You want to produce matches focused on two or more of these metavariables. If you specify a list of metavariables underfocus-metavariable, each focused metavariable matches code independently of the others.