Next: , Previous: Symbol class-symbol table, Up: Symbol


1.156.4 Symbol: basic

deepCopy
Returns a deep copy of the receiver. As Symbols are identity objects, we actually return the receiver itself.


keywords
Answer an array of keywords that compose the receiver, which is supposed to be a valid message name (#+, #not, #printOn:, #ifTrue:ifFalse:, etc.)


numArgs
Answer the number of arguments supported by the receiver, which is supposed to be a valid message name (#+, #not, #printOn:, #ifTrue:ifFalse:, etc.)


shallowCopy
Returns a deep copy of the receiver. As Symbols are identity objects, we actually return the receiver itself.