Skip to content

Commit

Permalink
and this shit too, squash
Browse files Browse the repository at this point in the history
  • Loading branch information
shingarov committed Nov 16, 2024
1 parent 58d81ce commit 0005ba9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
11 changes: 11 additions & 0 deletions src/MathNotation/Z3UninterpretedSort.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Extension { #name : #Z3UninterpretedSort }

{ #category : #'*MathNotation' }
Z3UninterpretedSort >> printOn: aStream [
aStream nextPutAll: self unsafeName
]

{ #category : #'*MathNotation' }
Z3UninterpretedSort >> unsafeName [
^self name asString decodeUnsafe
]
15 changes: 0 additions & 15 deletions src/Z3/Z3UninterpretedSort.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,3 @@ Z3UninterpretedSort >> nodeClass [
^ Uninterpreted

]

{ #category : #printing }
Z3UninterpretedSort >> printOn: aStream [
aStream nextPutAll: self unsafeName.
self name asString = self unsafeName ifFalse: [
aStream nextPutAll: ' ('.
super printOn: aStream.
aStream nextPutAll: ')'
]
]

{ #category : #printing }
Z3UninterpretedSort >> unsafeName [
^self name asString decodeUnsafe
]

0 comments on commit 0005ba9

Please sign in to comment.