Difference between revisions of "Property attributes"
From Lazarus wiki
Jump to navigationJump to searchPaul Ishenin (talk | contribs) (New page: == Syntax Diagram == PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]<br> PropertySpecifiers ::= [ ... ]<br> ...) |
Paul Ishenin (talk | contribs) |
||
Line 2: | Line 2: | ||
PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]<br> | PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]<br> | ||
− | PropertySpecifiers ::= [ ... ] | + | PropertySpecifiers ::= [ ... ] |
− | [ ... ] | + | [ ... ] |
[ATTRIBUTES AttributesArray]<br> | [ATTRIBUTES AttributesArray]<br> | ||
AttributesArray ::= '[' (AttributeDeclaration [, AttributeDeclaration]) ']'<br> | AttributesArray ::= '[' (AttributeDeclaration [, AttributeDeclaration]) ']'<br> |
Revision as of 09:27, 20 October 2007
Syntax Diagram
PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]
PropertySpecifiers ::= [ ... ] [ ... ] [ATTRIBUTES AttributesArray]
AttributesArray ::= '[' (AttributeDeclaration [, AttributeDeclaration]) ']'
AttributeDeclaration ::= '<string>':'<string>'
Declaration Examples
<delphi> TmenuItem = class(...) ... property Detachable: Boolean read FDetachable write SetDetachable attributes
['widgetsets:qt,gtk,win32', 'implementor:Vasya Pupkin', 'creation-date:01.01.2007'];
... end; </delphi>
<delphi> TxxxDatabase = class(...) ... property TransactionModel: TTransactionModel read FtransactionModel write
SetTransactionModel attributes ['engines:firebird,oracle,sybase-asa'];
... end; </delphi>