
Get a named list with vectors with all class instance identifiers
Source:R/get_all_classInstanceIds.R
get_all_classInstanceIds.RdGet a named list with vectors with all class instance identifiers
Examples
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Get a path to one example file
exampleFile <-
file.path(examplePath, "example-1.rock");
### Parse single example source
parsedExample <- rock::parse_source(exampleFile);
### Get all class instance identifiers
rock::get_all_classInstanceIds(
parsedExample
);
#> $caseId
#> [1] "1"
#>