parent - get the parent class
val.parent
val may be of any type
Every Object and Class has a parent class. This may be accessed via the public parent constant. The value of the parent constant is automatically initialized by OADL; it is an error to try to override it. Additionally, the parent constant of any value may be queried; it will return the type of the value.
class cls {}
class sub(cls) {}
cls.parent
nil
sub.parent
cls
"1234".parent
String[4]
3.14159->parent
Float