Skip to content

Commit d0a3da2

Browse files
committed
Replacing misnamed API "bestNodeFor" by "targetNodeFor" in Sindarin debugger API
1 parent 41a8307 commit d0a3da2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Sindarin/SindarinDebugger.class.st

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ SindarinDebugger >> assignmentVariableName [
4242
^ self node variable name
4343
]
4444

45-
{ #category : 'astAndAstMapping' }
46-
SindarinDebugger >> bestNodeFor: anInterval [
47-
48-
^ self node methodNode bestNodeFor: anInterval
49-
]
50-
5145
{ #category : 'ast manipulation' }
5246
SindarinDebugger >> canStillExecute: aProgramNode [
5347
"returns true if the last pc mapped to aProgramNode is greater than `self pc` in the right context "
@@ -609,6 +603,12 @@ SindarinDebugger >> stepUntil: aBlock [
609603
aBlock whileFalse: [ self step ]
610604
]
611605

606+
{ #category : 'astAndAstMapping' }
607+
SindarinDebugger >> targetNodeFor: anInterval [
608+
609+
^ self node methodNode bestNodeFor: anInterval
610+
]
611+
612612
{ #category : 'API - changes' }
613613
SindarinDebugger >> tryMoveToNodeInHomeContext: aNode [
614614
"Moves to node aNode if aNode is in the lexical context. Otherwise, the program state goes back to how it was before trying and signals an error as the node is not in AST"

0 commit comments

Comments
 (0)