GNU Smalltalk Library Reference: Class-pragmas

Next: , Previous: , Up: Class [Index]


1.31.6 Class: pragmas

pragmaHandlerFor: aSymbol

Answer the (possibly inherited) registered handler for pragma aSymbol, or nil if not found.

registerHandler: aBlock forPragma: pragma

While compiling methods, on every encounter of the pragma with the given name, call aBlock with the CompiledMethod and an array of pragma argument values.

AltStyle によって変換されたページ (->オリジナル) /