Skip to content

Commit a365df1

Browse files
authored
Merge pull request #101 from jecisc/update-extensions
Update extensions of classes that got renamed
2 parents dbb98a9 + f0a7788 commit a365df1

10 files changed

+37
-37
lines changed

src/Sindarin/ASTAssignmentNode.extension.st

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

src/Sindarin/ASTMessageNode.extension.st

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

src/Sindarin/ASTReturnNode.extension.st

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Extension { #name : 'OCAssignmentNode' }
2+
3+
{ #category : '*Sindarin' }
4+
OCAssignmentNode >> skipWithDebugger: aSindarinDebugger [
5+
6+
aSindarinDebugger skipAssignmentNodeCompletely
7+
]

src/Sindarin/ASTBlockNode.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 : 'ASTBlockNode' }
1+
Extension { #name : 'OCBlockNode' }
22

33
{ #category : '*Sindarin' }
4-
ASTBlockNode >> 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 @@ ASTBlockNode >> executedNodesAfter: aNode [
1414
]
1515

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

1919
^ self bcToASTCache firstRecursiveBcOffsetForStatementNode: aStatementNode
2020
]
2121

2222
{ #category : '*Sindarin' }
23-
ASTBlockNode >> 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 @@ ASTBlockNode >> nextExecutedNodeAfter: aNode [
3232
]
3333

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

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

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

4646
aSindarinDebugger skipBlockNode
4747
]
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/ASTMethodNode.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 : 'ASTMethodNode' }
1+
Extension { #name : 'OCMethodNode' }
22

33
{ #category : '*Sindarin' }
4-
ASTMethodNode >> 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 @@ ASTMethodNode >> executedNodesAfter: aNode [
1414
]
1515

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

1919
^ self bcToASTCache firstRecursiveBcOffsetForStatementNode: aStatementNode
2020
]
2121

2222
{ #category : '*Sindarin' }
23-
ASTMethodNode >> 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 @@ ASTMethodNode >> nextExecutedNodeAfter: aNode [
3232
]
3333

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

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

4343
{ #category : '*Sindarin' }
44-
ASTMethodNode >> 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 : 'ASTProgramNode' }
1+
Extension { #name : 'OCProgramNode' }
22

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

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

1414
{ #category : '*Sindarin' }
15-
ASTProgramNode >> 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/RBBlockDefinitionSearchingVisitor.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Class {
22
#name : 'RBBlockDefinitionSearchingVisitor',
3-
#superclass : 'ASTProgramNodeVisitor',
3+
#superclass : 'OCProgramNodeVisitor',
44
#instVars : [
55
'blockToSearch',
66
'isBlockFound'

0 commit comments

Comments
 (0)