Annotation.st
changeset 14447 20f864eaec94
parent 14430 5ddf9b1dd940
child 14500 f5e4720f7fb6
equal deleted inserted replaced
14446:479f02b4c705 14447:20f864eaec94
    87 "
    87 "
    88     I represent an occurrence of a pragma in a compiled method.  
    88     I represent an occurrence of a pragma in a compiled method.  
    89     A pragma is a literal message pattern that occurs between angle brackets at the start of a method after any temporaries.  
    89     A pragma is a literal message pattern that occurs between angle brackets at the start of a method after any temporaries.  
    90     A common example is the primitive pragma:
    90     A common example is the primitive pragma:
    91         <primitive: 123 errorCode: 'errorCode'>
    91         <primitive: 123 errorCode: 'errorCode'>
    92     but one can add one's own and use them as metadata attached to a method.  
    92     but you can add your own and use them as metadata attached to a method.  
    93     Because pragmas are messages one can browsse senders and implementors and perform them.  
    93     Because pragmas are messages one can browse senders and implementors and perform them.  
    94     One can query a method for its pragmas by sendng it the pragmas message, which answers an Array of instances of me, 
    94     One can query a method for its pragmas by sending it the pragmas message, which answers an Array of instances of me, 
    95     one for each pragma in the method.
    95     one for each pragma in the method.
    96     I can provide information about the defining class, method, its selector, 
    96     I can provide information about the defining class, method, its selector, 
    97     as well as the information about the pragma keyword and its arguments. See the two 'accessing' protocols for details. 
    97     as well as the information about the pragma keyword and its arguments. See the two 'accessing' protocols for details. 
    98     'accessing-method' provides information about the method the pragma is found in, 
    98     'accessing-method' provides information about the method the pragma is found in, 
    99     while 'accessing-pragma' is about the pragma itself.
    99     while 'accessing-pragma' is about the pragma itself.
   683 ! !
   683 ! !
   684 
   684 
   685 !Annotation class methodsFor:'documentation'!
   685 !Annotation class methodsFor:'documentation'!
   686 
   686 
   687 version
   687 version
   688     ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.11 2012-10-25 12:16:46 cg Exp $'
   688     ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.12 2012-10-29 10:25:12 cg Exp $'
   689 !
   689 !
   690 
   690 
   691 version_CVS
   691 version_CVS
   692     ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.11 2012-10-25 12:16:46 cg Exp $'
   692     ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.12 2012-10-29 10:25:12 cg Exp $'
   693 !
   693 !
   694 
   694 
   695 version_SVN
   695 version_SVN
   696     ^ '§Id: Annotation.st,v 1.1 2011/06/28 11:04:04 vrany Exp §'
   696     ^ '§Id: Annotation.st,v 1.1 2011/06/28 11:04:04 vrany Exp §'
   697 ! !
   697 ! !