GDBCommand.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 23 Sep 2014 23:48:13 +0100
changeset 45 deb908479a37
parent 20 76ac209277a7
child 78 c24e7d8bc881
permissions -rw-r--r--
Code refactored to use Magritte to meta-describe GDB objects. This should give greate flexibility without reinventing the wheel.

"{ Package: 'jv:libgdbs' }"

Object subclass:#GDBCommand
	instanceVariableNames:'token'
	classVariableNames:''
	poolDictionaries:''
	category:'GDB-Core-Commands'
!

!GDBCommand methodsFor:'accessing'!

token
    ^ token
!

token:anInteger
    token := anInteger.
! !

!GDBCommand methodsFor:'accessing-descriptors'!

resultDescription
    ^ GDBMAContainer new

    "Created: / 19-06-2014 / 21:39:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    "Modified: / 23-09-2014 / 23:37:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!GDBCommand methodsFor:'converting'!

asString
    ^ self subclassResponsibility

    "Created: / 02-06-2014 / 23:34:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!GDBCommand methodsFor:'testing'!

isCLICommand
    ^ false
!

isMICommand
    ^ false
! !