Repository navigation
[Query] Aliases
Generated from 'wiki-query.ts' on 2026-11-27, 07:23:13 UTC (v2.17.13), do not edit directly.
Aliases Query [overview]
Returns all aliases of a given identifier.
This query is requested with the type aliases.
If the identifier is given as a NodeId the aliases will be returned as NodeId as well. If the identifier uses a slicing criterion the location of the corresponding aliases will be returned. The following example uses both functionalities: Given the code
x <- 1
g <- x
h <- g. Here '2@g' resolves to NodeId 3. Then the following query will return the location of the aliases of x and the NodeIds of the aliases of g.
[ { "type": "aliases", "criteria": [ "1@x" ], "id": [ 3 ] } ]Results (prettified and summarized):
Query: aliases
1@x
╰ has aliases [2,1,2,1], [3,6,3,6], [3,1,3,1]
3
╰ has aliases [6]
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).
{"aliases":{".meta":{},"result":[["1@x",[[2,1,2,1],[3,6,3,6],[3,1,3,1]]],[3,[6]]]},".meta":{}}Implementation Details
The Aliases Query is executed by executeAliasesQuery.
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