Currently implemented for Internal classes only.
Syntax:
nested_matrix „ objref.ŚMEMBERS
nested_matrix „ classref.ŚMEMBERS
nested_matrix „ ŚMEMBERS (Within user-defined method, same as ŚTHIS.ŚMEMBERS)
The result of ŚMEMBERS is a 6-column matrix, describing the members (properties, methods, and constructors) for the class of an object, or for the class itself if it is used on a class reference. The six columns are as follows (in index origin 1):
[;1] | Member name (character vector) |
[;2] | Class name in which it is defined (character vector) |
[;3] | Member type (using ŚNC codes: 2=var, 3=function, 4=operator, 10=constructor) |
[;4] | Scope: 0=public, 1=private |
[;5] | Access code: 2 if undefined property, 1 if read-only property, else 0 |
[;6] | Summary of Method (first line of comment) if available, else empty (character vector) |