Wiki

Ticket #313: readonly-keyword.patch

File readonly-keyword.patch, 0.9 KB (added by hopscc, 12 years ago)
  • Source/KeywordSpecs.cobra

     
    111111                'private     | modifier: Specify that the member is visible to this type only. The default for members starting with two underscores.', 
    112112                'protected   | modifier: Specify that the member is visible to this type and all descendant types. The default for members starting with one underscore.', 
    113113                'virtual     | modifier: Specify that the member can be overidden. On by default.', 
     114                'readonly    | modifier: Specify that the member is readonly. Can only be set at initialisation. Off by default.', 
    114115                'bool        | type: The Boolean data type.', 
    115116                'char        | type: The (Unicode) character data type.', 
    116117                'int         | type: The default integer data type; signed 32-bit. Alias for `int32`.',