comment = ''comment text'';
[modifiers = (modifier1, ...);]
fields {
[+#-]field: type;
...
}
operations {
[+#-]operation(arg: type, ...): returntype;
...
}
}
fields{} holds the list of member fields/attributes for the class and operations{} holds the list of operations/methods for the class.
Both fields and operation names should be preceded by an access modifier. + = public, - = private, # = protected/friend