Skip to content

Commit

Permalink
clean SmaCCMethodNodeSourceIntervalFinder
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajKubelka committed May 14, 2024
1 parent a9e6c0c commit cae427b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Class {

{ #category : #finding }
SmaCCMethodNodeSourceIntervalFinder >> equivalentNodeTo: aNode in: otherTree [
"Taken from GtSmaCCTransformationToolkitDebuggerElement>>#equivalentNodeTo:in:"

| equivParent nodeIndex equivNode |
aNode isMethod ifTrue: [ ^ otherTree ].
(aNode parent isReturn and: [ aNode parent parent parent isMethod ])
Expand All @@ -32,8 +30,6 @@ SmaCCMethodNodeSourceIntervalFinder >> equivalentNodeTo: aNode in: otherTree [

{ #category : #finding }
SmaCCMethodNodeSourceIntervalFinder >> find [
"Adopted from GtSmaCCTransformationToolkitDebuggerElement>>#intervalFromMethodNode:inSource:"

<return: #Interval>
sourceAst := RBParser
parseExpression: sourceString
Expand Down

0 comments on commit cae427b

Please sign in to comment.