Skip to content

Commit

Permalink
When showing the AST to students, I always say that it is nice to hav…
Browse files Browse the repository at this point in the history
…e not many node classes.

This PR moves all the nodes related to errors to it's own tag. This way the main AST nodes can be seen without having yet to care about Error Nodes.
  • Loading branch information
MarcusDenker committed Apr 2, 2021
1 parent 8aaa869 commit 50ab588
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/AST-Core/RBArrayErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ or the closure : { array node .
Class {
#name : #RBArrayErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBBlockErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ or the closure : [ block node .
Class {
#name : #RBBlockErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBEnglobingErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Class {
#instVars : [
'content'
],
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBInvalidCascadeErrorNode.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #RBInvalidCascadeErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBLiteralArrayErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forgetting the opening will be assumed to be a parentheses node.
Class {
#name : #RBLiteralArrayErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBLiteralByteArrayErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forgetting the opening will be assumed to be a block node.
Class {
#name : #RBLiteralByteArrayErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBMissingOpenerErrorNode.class.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Class {
#name : #RBMissingOpenerErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}
2 changes: 1 addition & 1 deletion src/AST-Core/RBParenthesesErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ or the closure : ( parentheses node .
Class {
#name : #RBParenthesesErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBParseErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Class {
'start',
'stop'
],
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #'instance creation' }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBPragmaErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forgetting the opening will be assumed to be a binary selector.
Class {
#name : #RBPragmaErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBTemporariesErrorNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forgetting the opening will be assumed to be a binary selector.
Class {
#name : #RBTemporariesErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #construction }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBUnfinishedStatementErrorNode.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #RBUnfinishedStatementErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/AST-Core/RBUnreachableStatementErrorNode.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #RBUnreachableStatementErrorNode,
#superclass : #RBEnglobingErrorNode,
#category : #'AST-Core-Nodes'
#category : #'AST-Core-Nodes - ErrorNodes'
}

{ #category : #visiting }
Expand Down

0 comments on commit 50ab588

Please sign in to comment.