You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replaceMethodSource: aNode
"We are being replaced with aNode -- if possible try to perform an in place edit of the source."
| method |
method := self methodNode.
method ifNotNil: [ method map: self to: aNode ].
aNode parent: self parent.
[self replaceSourceWith: aNode] on: Error
do:
[:ex |
self clearReplacements.
ex return]
Related to this the replacement could be turned into a visitor.
The text was updated successfully, but these errors were encountered:
Related to this the replacement could be turned into a visitor.
The text was updated successfully, but these errors were encountered: