Repository navigation
[Query] Search
Generated from 'wiki-query.ts' on 2026-11-13, 12:11:51 UTC (v2.17.6), do not edit directly.
Search Query [overview]
Provides access to flowR's search API
This query is requested with the type search.
With this query you can use the Search API to conduct searches on the flowR analysis result.
Using the example code x + 1, the following query returns all uses of 'x' in the code:
[ { "type": "search", "search": { "generator": { "type": "generator", "name": "get", "args": { "filter": { "name": "x" } } }, "search": [ { "type": "transformer", "name": "filter", "args": { "filter": "use" } } ] } } ]Results (prettified and summarized):
Query: search (8 ms)
╰ query: {0}
Show Detailed Results as Json
The analysis ran (including parsing and normalization and the query) within the generation environment.
The JSON contains the ids of the nodes in question (see the Interface wiki page).
{"search":{".meta":{},"results":[{"ids":[0],"search":{"generator":{"type":"generator","name":"get","args":{"filter":{"name":"x"}}},"search":[{"type":"transformer","name":"filter","args":{"filter":"use"}}]}}]},".meta":{}}Original Code
x + 1Implementation Details
The Search Query is executed by executeSearch.
Currently maintained by Florian Sihler and Oliver Gerstl at Ulm University
Email | GitHub | Penguins | Portfolio
- 🧑💻 Developer Onboarding
- 💻 Setup
- 👓 Overview
- 🪟 Interfacing with flowR
- 🌋 Core
- 🧹 Testing & Linting (Benchmark Page)
⁉️ FAQ- ℹ️ Extra Information