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


1.40.5 CompiledMethod: attributes

attributeAt: aSymbol

Return a Message for the first attribute named aSymbol defined by the receiver, or answer an error if none was found.

attributeAt: aSymbol ifAbsent: aBlock

Return a Message for the first attribute named aSymbol defined by the receiver, or evaluate aBlock is none was found.

attributes

Return an Array of Messages, one for each attribute defined by the receiver.

attributesDo: aBlock

Evaluate aBlock once for each attribute defined by the receiver, passing a Message each time.

isAnnotated

If the receiver has any attributes, answer true.

primitiveAttribute

If the receiver defines a primitive, return a Message resembling the attribute that was used to define it.