Method.st
changeset 24412 3e8c0ef66066
parent 24355 ac5d76d244a9
child 24430 34c42899f9c8
equal deleted inserted replaced
24411:96a7c2830fad 24412:3e8c0ef66066
  2925      (Method compiledMethodAt:#messagesPossiblySent) messagesPossiblySent
  2925      (Method compiledMethodAt:#messagesPossiblySent) messagesPossiblySent
  2926     "
  2926     "
  2927 !
  2927 !
  2928 
  2928 
  2929 messagesSent
  2929 messagesSent
  2930     "return a collection with the message selectors sent to by the receiver.
  2930     "return a set-like collection with the message selectors sent by the receiver.
  2931      Uses Parser to parse methods source and extract the names.
  2931      Uses Parser to parse methods source and extract the names.
  2932      The returned collection includes all used message selectors (i.e. including super-send messages)"
  2932      The returned collection includes all used message selectors 
       
  2933      (i.e. including super-send messages)"
  2933 
  2934 
  2934     ^ self parse:#'parseMethodSilent:in:' with:self mclass return:#messagesSent or:#()
  2935     ^ self parse:#'parseMethodSilent:in:' with:self mclass return:#messagesSent or:#()
  2935 
  2936 
  2936     "
  2937     "
  2937      (Method compiledMethodAt:#printOn:) messagesSent
  2938      (Method compiledMethodAt:#printOn:) messagesSent