Method
getClassifier(_:)
Finds a classifier by name within the root package.
func getClassifier(_ name: String) -> (any EClassifier)?
Parameters
name-
The name of the classifier to find
Return Value
The matching classifier, or nil if not found
Discussion
Searches the root package’s classifiers for one with the specified name. This provides access to EClass, EEnum, and EDataType definitions within the metamodel.