UndefinedVariableNotification.st
author Jan Vrany <jan.vrany@labware.com>
Thu, 27 Oct 2022 14:53:59 +0100
branchjv
changeset 4735 3b11fb3ede98
parent 4106 701025567fad
permissions -rw-r--r--
Allow single underscore as method / block argument and temporaries This commit is a follow up for 38b221e.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4097
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     1
"
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     2
 COPYRIGHT (c) 2013 by eXept Software AG
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     3
              All Rights Reserved
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     4
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     5
 This software is furnished under a license and may be used
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     6
 only in accordance with the terms of that license and with the
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     8
 be provided or otherwise made available to, or used by, any
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
     9
 other person.  No title to or ownership of the software is
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    10
 hereby transferred.
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    11
"
3091
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libcomp' }"
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
4097
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    14
"{ NameSpace: Smalltalk }"
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    15
3091
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
Notification subclass:#UndefinedVariableNotification
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:'parser'
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Compiler'
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
4097
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    23
!UndefinedVariableNotification class methodsFor:'documentation'!
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    24
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    25
copyright
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    26
"
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    27
 COPYRIGHT (c) 2013 by eXept Software AG
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    28
              All Rights Reserved
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    29
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    30
 This software is furnished under a license and may be used
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    31
 only in accordance with the terms of that license and with the
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    33
 be provided or otherwise made available to, or used by, any
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    34
 other person.  No title to or ownership of the software is
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    35
 hereby transferred.
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    36
"
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    37
! !
3091
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!UndefinedVariableNotification methodsFor:'accessing'!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
description
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    ^ 'undefined variable: ' , self variableName
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
parser
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    "return the value of the instance variable 'parser' (automatically generated)"
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    ^ parser
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
parser:something
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    "set the value of the instance variable 'parser' (automatically generated)"
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    parser := something.
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
variableName
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    ^ parameter
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
! !
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
!UndefinedVariableNotification class methodsFor:'documentation'!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
version
4097
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    64
    ^ '$Header$'
3091
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
!
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
version_CVS
4097
6066489e5789 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3091
diff changeset
    68
    ^ '$Header$'
3091
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
! !
e39d4c248fa8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70