Changes between Version 2 and Version 3 of MemberModifier
- Timestamp:
- 01/24/13 13:04:32 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MemberModifier
v2 v3 20 20 pass 21 21 }}} 22 23 You can add attributes to classes and functions and variables also properties 24 e.g. In GTK 25 {{{ 26 #!cobra 27 class HasAnAttribute 28 has TreeNode(listOnly=true) 29 30 var name is String 31 has TreeNodeValue(column=0) 32 33 def doSomething is protected, override has STAThread 34 pass 35 }}} 36 37 Usually we need to indent the code for the attribute