ParseErrorNode.st
author Claus Gittinger <cg@exept.de>
Thu, 15 Sep 2005 13:29:58 +0200
changeset 1628 9641d61e717f
parent 1570 8ce7594e9b55
child 2547 55ec27b3306c
permissions -rw-r--r--
precedence check for if-condition
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1570
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     1
"
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     3
              All Rights Reserved
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     4
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     5
 This software is furnished under a license and may be used
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     6
 only in accordance with the terms of that license and with the
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     8
 be provided or otherwise made available to, or used by, any
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
     9
 other person.  No title to or ownership of the software is
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    10
 hereby transferred.
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    11
"
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    12
1532
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
"{ Package: 'stx:libcomp' }"
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
Object subclass:#ParseErrorNode
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	instanceVariableNames:'errorString'
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	classVariableNames:''
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	poolDictionaries:''
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	category:'System-Compiler-Support'
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
1570
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    22
!ParseErrorNode class methodsFor:'documentation'!
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    23
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    24
copyright
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    25
"
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    26
 COPYRIGHT (c) 2004 by eXept Software AG
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    27
              All Rights Reserved
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    28
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    29
 This software is furnished under a license and may be used
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    30
 only in accordance with the terms of that license and with the
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    31
 inclusion of the above copyright notice.   This software may not
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    32
 be provided or otherwise made available to, or used by, any
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    33
 other person.  No title to or ownership of the software is
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    34
 hereby transferred.
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    35
"
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    36
! !
1532
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
!ParseErrorNode class methodsFor:'instance creation'!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
errorString:arg
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    ^ self new errorString:arg
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
! !
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
!ParseErrorNode methodsFor:'accessing'!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
errorString
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    ^ errorString
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
errorString:something
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
    errorString := something.
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
! !
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
!ParseErrorNode methodsFor:'queries'!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
isErrorNode
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    ^ true
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
! !
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
!ParseErrorNode class methodsFor:'documentation'!
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
version
1570
8ce7594e9b55 copyright
Claus Gittinger <cg@exept.de>
parents: 1532
diff changeset
    63
    ^ '$Header: /cvs/stx/stx/libcomp/ParseErrorNode.st,v 1.2 2005-02-02 11:01:55 cg Exp $'
1532
9c2adf12f271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !