Const
Returns all elements (nodes/dataflow vertices) from the given data.
Returns all elements that match the given criteria
(e.g., criterion('2@x', '3@<-')
,
to retrieve the first use of x
in the second line and the first <-
assignment in the third line).
This will throw an error, if any criteria cannot be resolved to an id.
Rest
...criterion: CriteriaInitialize a search query with the given elements.
This is not intended to serialize well wrt. the nodes,
see FlowrSearchGenerator.criterion for a serializable alternative (passing the ids with $id
).
Returns all elements that match the given FlowrSearchGetFilters|filters. You may pass a negative line number to count from the back. Please note that this is currently only working for single files, it approximates over the nodes, and it is not to be used for "production".
Short form of get with only the FlowrSearchGetFilters#id|id filter:
get({id})
.
Short form of get with only the
FlowrSearchGetFilters#line|line and FlowrSearchGetFilters#column|column filters:
get({line, column})
.
Optional
line: numberOptional
column: numberShort form of get with only the FlowrSearchGetFilters#name|name filter:
get({name})
.
Short form of get with only the FlowrSearchGetFilters#name|name and FlowrSearchGetFilters#line|line filters:
get({name, line})
.
This is the root object to use for creating searches. See the FlowrSearchGenerator for the available methods. After the query is generated, you can use what is provided by the FlowrSearchBuilder to further refine the search.