|
topics >
computer science >
data >
| ||||||||
arrays Topic: access to objects by a path Topic: data record Topic: data type as constructors, selectors, and predicates Topic: index sequence for array access Topic: names defined by context Topic: notations for object access Topic: object-defined names Topic: packed data Topic: uniform reference to data Topic: variable as function that accesses an object's value |
SummaryAccessing a component of a data object is like accessing an environment's component with the environment explicitly named. Dot notation or 'of' modifiers are frequently used. An interesting alternative is specifying components as a record extractor on the left hand side of a replace. Components may access syntactic attributes e.g., the number of characters in the variable's name. (cbb 5/80) Subtopic: allowing access to members creates an implementation of an abstract class Subtopic: protected members Subtopic: members are function calls
|