interface TestLabel {
    capabilities: ReadonlySet<SupportedFlowrCapabilityId>;
    context: Set<
        | "other"
        | "slice"
        | "dataflow"
        | "lineage"
        | "parse"
        | "query"
        | "output"
        | "desugar">;
    id: string;
    name: string;
}

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of TestLabel

Properties

capabilities: ReadonlySet<SupportedFlowrCapabilityId>

even if ids appear multiple times, we only want to count each one once

context: Set<
    | "other"
    | "slice"
    | "dataflow"
    | "lineage"
    | "parse"
    | "query"
    | "output"
    | "desugar">

this is automatically set (hihi) by functions like assertAst to correctly derive what part of capability we check

id: string
name: string