interface FlowrSearchGetFilter {
    column?: number;
    filePathRegex?: string;
    id?: NodeId;
    line?: number;
    name?: string;
    nameIsRegex?: boolean;
    [key: string]: unknown;
}

Hierarchy

  • Record<string, unknown>
    • FlowrSearchGetFilter

Indexable

  • [key: string]: unknown

Hierarchy-Diagram

UML class diagram of FlowrSearchGetFilter

Properties

column?: number

The node must be in the given column.

filePathRegex?: string

The node must stem form a file with the given path matching the regex Please note that you can address the full path!

// matches all files in any 'tests' folder
filePath: '.*\\tests\\.*'
// matches all files named 'myfile.R' in any folder
filePath: '.*\\/myfile\\.R$'
id?: NodeId

The node must have the given id.

line?: number

The node must be in the given line.

name?: string

The node must have the given name. To treat this name as a regular expression, set FlowrSearchGetFilter#nameIsRegex to true.

nameIsRegex?: boolean

Only useful in combination with name. If true, the name is treated as a regular expression.