- 2.2.13.3. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.13. OOP Extensions
2.2.13.3. Object Syntax
2.2.13.3. Object Syntax
The syntax of an object type declaration is
object [heritage]
Component list
[ private Component list ]
end
where Component list is defined as:
[Fieldlist]
[Method list]
Heritage:
(object type identifier)
Fieldlist:
[ field entry [; Field list ] ]
Field entry:
identifier list : type
MethodList:
[ method entry [; MethodList ] ]
Method entry:
[ method heading [; virtual ] ]
- 2.2.13.3. -