Remoce `GDBMI_complete >> asString`
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 25 Jun 2019 15:28:46 +0100
changeset 197 b4d1befee03a
parent 196 80ab1ba7990a
child 198 2078a57c6783
Remoce `GDBMI_complete >> asString` ...and use generic implementation. `-complete` is implemented as regular MI command (as opposed to reusing implementation of CLI `complete` so this is no longer needed.
GDBMI_complete.st
--- a/GDBMI_complete.st	Sun Jun 23 12:29:15 2019 +0100
+++ b/GDBMI_complete.st	Tue Jun 25 15:28:46 2019 +0100
@@ -89,22 +89,6 @@
     "Created: / 30-12-2018 / 21:44:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!GDBMI_complete methodsFor:'converting'!
-
-asString
-    ^ String streamContents: [ :s |
-        token notNil ifTrue:[
-            token printOn: s.
-        ].
-        s nextPut: $-; nextPutAll: self operation.
-        s space.
-        arguments do:[:argument | s nextPutAll: argument ] separatedBy: [ s space ]
-    ]
-
-    "Created: / 01-01-2019 / 00:49:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 01-01-2019 / 23:53:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
 !GDBMI_complete class methodsFor:'documentation'!
 
 version_HG