SingleSlicingCriterion: {
    fromId(this: void, id: NodeId): SingleSlicingCriterion;
    parse(
        this: void,
        criterion: SingleSlicingCriterion,
        idMap: AstIdMap,
    ): NodeId;
    tryParse(
        this: void,
        criterion: NodeId | SingleSlicingCriterion,
        idMap: AstIdMap,
    ): undefined | NodeId;
}

The helper object associated with SingleSlicingCriterion which makes it easy to parse, validate and resolve slicing criteria.

Type declaration