'From Pharo5.0 of 16 April 2015 [Latest update: #50529] on 16 January 2016 at 9:47:28.098348 pm'! !CompiledMethod methodsFor: 'accessing' stamp: 'NicolaiHess 1/16/2016 21:37'! selector: aSelector "Set a method's selector. This is either the penultimate literal, or, if the method has any properties or pragmas, the selector of the MethodProperties stored in the penultimate literal." | penultimateLiteral nl | Symbol internSelector: aSelector. (penultimateLiteral := self penultimateLiteral) isMethodProperties ifTrue: [penultimateLiteral selector: aSelector] ifFalse: [(nl := self numLiterals) < 2 ifTrue: [self error: 'insufficient literals to hold selector']. self literalAt: nl - 1 put: aSelector]! ! !RubSHTextStylerST80 methodsFor: 'visiting rb nodes' stamp: 'NicolaiHess 1/16/2016 21:31'! visitMessageNode: aMessageNode | style link | style := #keyword. (Symbol findInternedSelector: aMessageNode selector asString) ifNil: [ style := (Symbol selectorThatStartsCaseSensitive: aMessageNode selector asString skipping: nil) isNil ifTrue: [ #undefinedKeyword ] ifFalse: [ #incompleteKeyword ] ]. link := RubTextMethodLink selector: aMessageNode selector. self styleOpenParenthese: aMessageNode. aMessageNode selectorParts with: aMessageNode keywordsPositions do: [ :keyword :position | self addStyle: style attribute: link from: position to: position + keyword size - 1 ]. (aMessageNode isCascaded not or: [ aMessageNode isFirstCascaded ]) ifTrue: [ self visitNode: aMessageNode receiver ]. aMessageNode arguments do: [ :each | self visitNode: each ]. self styleCloseParenthese: aMessageNode! !