ParseErrorNode.st
author Claus Gittinger <cg@exept.de>
Wed, 20 Jul 2011 20:16:33 +0200
changeset 2571 b441a3fc0ce6
parent 2549 b4e6af2f403e
child 2594 8226f4081f74
permissions -rw-r--r--
added: #helpSpec #searchForTypeNamesHolder #searchForTypeUsesHolder changed: #buildSearchResultList #flyByHelpSpec #searchSpec #update:with:from:

"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libcomp' }"

ParseNode subclass:#ParseErrorNode
	instanceVariableNames:'errorString'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Compiler-Support'
!

!ParseErrorNode class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2004 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!ParseErrorNode class methodsFor:'instance creation'!

errorString:arg
    ^ self new errorString:arg
! !

!ParseErrorNode methodsFor:'accessing'!

errorString
    ^ errorString
!

errorString:something
    errorString := something.
!

lineNumber

    ^self objectAttributeAt: #lineNumber

    "Created: / 09-07-2011 / 22:30:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

lineNumber: anInteger

    self objectAttributeAt: #lineNumber put: anInteger

    "Created: / 09-07-2011 / 22:29:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !


!ParseErrorNode methodsFor:'queries'!

isErrorNode
    ^ true
! !

!ParseErrorNode class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libcomp/ParseErrorNode.st,v 1.4 2011-07-09 21:51:24 vrany Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/libcomp/ParseErrorNode.st,v 1.4 2011-07-09 21:51:24 vrany Exp $'
! !