[squeak-dev] Accessing argument literals through Compiled Methods.

Tobias Pape Das.Linux at gmx.de
Thu Jan 12 19:14:58 UTC 2023



> On 11. Jan 2023, at 19:18, rabbit <rabbit at callistohouse.org> wrote:
> 
> 
> Hi y’all,
> 
> Is there a way I could acquire the list of argument names of a CompiledMethod?
> 

If you have the class, use #methodHeaderFor:

Collection methodHeaderFor: #detect:ifNone: => 'detect: aBlock ifNone: exceptionBlock'


Best regards
	-Tobias



More information about the Squeak-dev mailing list