Skip to content

Commit 214aaed

Browse files
committed
publishing rename
1 parent 595ea53 commit 214aaed

15 files changed

+39
-46
lines changed

src/Sindarin-Tests/SindarinDebugSessionTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SindarinDebugSessionTest >> testSindarinSessionInstantiation [
4242
sindarinSession := SindarinDebugSession
4343
newWithName: sessionName
4444
forProcess: process.
45-
self assert: sindarinSession debugSession notNil.
45+
self assert: sindarinSession debugSession isNotNil.
4646
self assert: sindarinSession debugSession name equals: sessionName.
4747
self
4848
assert: sindarinSession debugSession process

src/Sindarin-Tests/SindarinDebuggerTest.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,8 +2040,8 @@ SindarinDebuggerTest >> testTemporaryNamed [
20402040
SindarinDebuggerTest >> testTerminate [
20412041
| dbg |
20422042
dbg := SindarinDebugger debug: [ self helperMethod13 ].
2043-
self assert: dbg debugSession interruptedContext notNil.
2044-
self assert: dbg debugSession interruptedProcess notNil.
2043+
self assert: dbg debugSession interruptedContext isNotNil.
2044+
self assert: dbg debugSession interruptedProcess isNotNil.
20452045
dbg terminate.
20462046
self assert: dbg debugSession interruptedContext isNil.
20472047
self assert: dbg debugSession interruptedProcess isNil.

src/Sindarin/RBBlockNode.extension.st renamed to src/Sindarin/OCBlockNode.extension.st

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Extension { #name : 'RBBlockNode' }
1+
Extension { #name : 'OCBlockNode' }
22

33
{ #category : '*Sindarin' }
4-
RBBlockNode >> executedNodesAfter: aNode [
4+
OCBlockNode >> executedNodesAfter: aNode [
55

66
"Gives all nodes that are executed after aNode. Assuming that aNode is a recursive child, then all nodes executed after it are all nodes after it in allChildrenPostOrder"
77

@@ -14,13 +14,13 @@ RBBlockNode >> executedNodesAfter: aNode [
1414
]
1515

1616
{ #category : '*Sindarin' }
17-
RBBlockNode >> firstPCOfStatement: aStatementNode [
17+
OCBlockNode >> firstPCOfStatement: aStatementNode [
1818

1919
^ self bcToASTCache firstRecursiveBcOffsetForStatementNode: aStatementNode
2020
]
2121

2222
{ #category : '*Sindarin' }
23-
RBBlockNode >> nextExecutedNodeAfter: aNode [
23+
OCBlockNode >> nextExecutedNodeAfter: aNode [
2424

2525
"Find first node that is after aNode that has an associated pc in method node all children (post-order)"
2626

@@ -32,7 +32,7 @@ RBBlockNode >> nextExecutedNodeAfter: aNode [
3232
]
3333

3434
{ #category : '*Sindarin' }
35-
RBBlockNode >> parentOfIdenticalSubtree: subtree [
35+
OCBlockNode >> parentOfIdenticalSubtree: subtree [
3636

3737
^ self allChildren reversed
3838
detect: [ :e | e == subtree ]
@@ -41,7 +41,7 @@ RBBlockNode >> parentOfIdenticalSubtree: subtree [
4141
]
4242

4343
{ #category : '*Sindarin' }
44-
RBBlockNode >> skipWithDebugger: aSindarinDebugger [
44+
OCBlockNode >> skipWithDebugger: aSindarinDebugger [
4545

4646
aSindarinDebugger skipBlockNode
4747
]

src/Sindarin/OCBytecodeToASTCache.extension.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Extension { #name : 'OCBytecodeToASTCache' }
33
{ #category : '*Sindarin' }
44
OCBytecodeToASTCache >> firstRecursiveBcOffsetForStatementNode: aStatementNode [
55

6-
^ self methodOrBlockNode bcToASTCache bcToASTMap keys sorted detect: [
7-
:key | (self nodeForPC: key) statementNode == aStatementNode ]
6+
^ self methodOrBlockNode bcToASTCache bcToASTMap keys sorted
7+
detect: [ :key | (self nodeForPC: key) statementNode == aStatementNode ]
88
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Extension { #name : 'OCMessageNode' }
2+
3+
{ #category : '*Sindarin' }
4+
OCMessageNode >> skipWithDebugger: aSindarinDebugger [
5+
6+
aSindarinDebugger skipMessageNode
7+
]

src/Sindarin/RBMethodNode.extension.st renamed to src/Sindarin/OCMethodNode.extension.st

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Extension { #name : 'RBMethodNode' }
1+
Extension { #name : 'OCMethodNode' }
22

33
{ #category : '*Sindarin' }
4-
RBMethodNode >> executedNodesAfter: aNode [
4+
OCMethodNode >> executedNodesAfter: aNode [
55

66
"Gives all nodes that are executed after aNode. Assuming that aNode is a recursive child, then all nodes executed after it are all nodes after it in allChildrenPostOrder"
77

@@ -14,13 +14,13 @@ RBMethodNode >> executedNodesAfter: aNode [
1414
]
1515

1616
{ #category : '*Sindarin' }
17-
RBMethodNode >> firstPCOfStatement: aStatementNode [
17+
OCMethodNode >> firstPCOfStatement: aStatementNode [
1818

1919
^ self bcToASTCache firstRecursiveBcOffsetForStatementNode: aStatementNode
2020
]
2121

2222
{ #category : '*Sindarin' }
23-
RBMethodNode >> nextExecutedNodeAfter: aNode [
23+
OCMethodNode >> nextExecutedNodeAfter: aNode [
2424

2525
"Find first node that is after aNode that has an associated pc in method node all children (post-order)"
2626

@@ -32,7 +32,7 @@ RBMethodNode >> nextExecutedNodeAfter: aNode [
3232
]
3333

3434
{ #category : '*Sindarin' }
35-
RBMethodNode >> parentOfIdenticalSubtree: subtree [
35+
OCMethodNode >> parentOfIdenticalSubtree: subtree [
3636

3737
^ self allChildren reversed
3838
detect: [ :e | e == subtree ]
@@ -41,7 +41,7 @@ RBMethodNode >> parentOfIdenticalSubtree: subtree [
4141
]
4242

4343
{ #category : '*Sindarin' }
44-
RBMethodNode >> statementNodeContaining: aNode [
44+
OCMethodNode >> statementNodeContaining: aNode [
4545

4646
| statementNode parentOfStatementNode |
4747
statementNode := aNode.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Extension { #name : 'RBProgramNode' }
1+
Extension { #name : 'OCProgramNode' }
22

33
{ #category : '*Sindarin' }
4-
RBProgramNode >> allChildrenPostOrder [
4+
OCProgramNode >> allChildrenPostOrder [
55

66
| children |
77
children := OrderedCollection new.
@@ -12,7 +12,7 @@ RBProgramNode >> allChildrenPostOrder [
1212
]
1313

1414
{ #category : '*Sindarin' }
15-
RBProgramNode >> skipWithDebugger: aSindarinDebugger [
15+
OCProgramNode >> skipWithDebugger: aSindarinDebugger [
1616

1717
aSindarinDebugger step
1818
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Extension { #name : 'OCReturnNode' }
2+
3+
{ #category : '*Sindarin' }
4+
OCReturnNode >> skipWithDebugger: aSindarinDebugger [
5+
6+
aSindarinDebugger skipReturnNode
7+
]

src/Sindarin/Process.extension.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Extension { #name : 'Process' }
44
Process >> stepToSendOrReturnOrJump [
55

66
^Processor activeProcess
7-
evaluate: [suspendedContext := suspendedContext stepToSendOrReturnOrJump]
7+
evaluate: [ suspendedContext := suspendedContext stepToSendOrReturnOrJump ]
88
onBehalfOf: self
99
]

src/Sindarin/RBAssignmentNode.extension.st

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)