Method.st
changeset 5523 86ad12f4afc9
parent 5509 c0277123fe4a
child 5530 a06e9a29869e
equal deleted inserted replaced
5522:754c11dfd208 5523:86ad12f4afc9
  2355     ^ self parse:#'parseMethodSilent:' return:#sentSuperMessages or:#() 
  2355     ^ self parse:#'parseMethodSilent:' return:#sentSuperMessages or:#() 
  2356 
  2356 
  2357 
  2357 
  2358 !
  2358 !
  2359 
  2359 
       
  2360 usedGlobals
       
  2361     "return a collection with the global names referred to by the receiver.
       
  2362      Uses Parser to parse methods source and extract them."
       
  2363 
       
  2364     ^ self parse:#'parseMethodSilent:' return:#usedGlobals or:#() 
       
  2365 
       
  2366     "
       
  2367      (Method compiledMethodAt:#resources) usedGlobals 
       
  2368     "
       
  2369 !
       
  2370 
  2360 usedSymbols
  2371 usedSymbols
  2361     "return a collection with the symbols referred to by the receiver.
  2372     "return a collection with the symbols referred to by the receiver.
  2362      Uses Parser to parse methods source and extract them.
  2373      Uses Parser to parse methods source and extract them.
  2363      This collection on;y includes implicit symbols references (i.e. not
  2374      This collection only includes implicit symbols references (i.e. not
  2364      messages sent)"
  2375      messages sent)"
  2365 
  2376 
  2366     ^ self parse:#'parseMethodSilent:' return:#usedSymbols or:#() 
  2377     ^ self parse:#'parseMethodSilent:' return:#usedSymbols or:#() 
  2367 
  2378 
  2368     "
  2379     "
  2725 ! !
  2736 ! !
  2726 
  2737 
  2727 !Method class methodsFor:'documentation'!
  2738 !Method class methodsFor:'documentation'!
  2728 
  2739 
  2729 version
  2740 version
  2730     ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.196 2000-08-09 20:38:51 cg Exp $'
  2741     ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.197 2000-08-15 14:34:33 cg Exp $'
  2731 ! !
  2742 ! !
  2732 Method initialize!
  2743 Method initialize!