Converts several criteria to their id in the AST if possible, keeping the original criterion where it cannot be resolved.
SlicingCriterion.decodeAll - which throws instead
Decodes several criteria to their node ids at once.
SlicingCriterion.convertAll - which keeps a criterion it cannot resolve
Converts a node id to a slicing criterion in the form of $id
Checks whether a value has a valid slicing criterion syntax. This does not check whether the slicing criterion exists (represents a valid node ID).
SlicingCriterion.parse to parse a slicing criterion to a node ID
Readonlyname: "SlicingCriterion"Resolves a slicing criterion to the corresponding node id.
SlicingCriterion.tryParse for a version that does not throw an error
Tries to resolve a slicing criterion to an id, but does not throw an error if it fails. The formats and what each of them resolves to are documented in the https://github.com/flowr-analysis/flowr/wiki/Terminology#slicing-criterion|wiki.
SlicingCriterion.parse for the version that throws an error
The helper object for slicing criteria: parsing, validating and resolving them, one (SlicingCriterion.parse) or several (SlicingCriterion.decodeAll) at a time.