LineNumberReadStream.st
author Claus Gittinger <cg@exept.de>
Thu, 20 Feb 2014 08:03:30 +0100
changeset 3180 7c7ce3f9483e
parent 2827 dd4e71ae9244
child 3329 170f49ba6c9a
permissions -rw-r--r--
class: Stream added: #isLineNumberReadStream added: #asLineNumberReadStream
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1996 by eXept Software AG
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
     3
	      All Rights Reserved
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
2376
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
    12
"{ Package: 'stx:libbasic2' }"
1239
fcb74307748c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 885
diff changeset
    13
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
FilteringStream subclass:#LineNumberReadStream
1283
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
    15
	instanceVariableNames:'lineNumber lineStartPosition'
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'Streams-Misc'
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!LineNumberReadStream class methodsFor:'documentation'!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
copyright
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
 COPYRIGHT (c) 1996 by eXept Software AG
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
    26
	      All Rights Reserved
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 This software is furnished under a license and may be used
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 only in accordance with the terms of that license and with the
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 be provided or otherwise made available to, or used by, any
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 other person.  No title to or ownership of the software is
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 hereby transferred.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
documentation
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
"
1283
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
    41
    This filter keeps track of the current line, and optionally
2538
8e34a8db4002 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2376
diff changeset
    42
    the current line's start position (if the input stream is positionable).
1283
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
    43
    while passing text from its inputStream to its outputStream.
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
2538
8e34a8db4002 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2376
diff changeset
    45
    Can be placed in-between text processing and the text's
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    input stream, and let it keep track of the lineNumber.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    [see also:]
2538
8e34a8db4002 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2376
diff changeset
    49
        ReadStream WriteStream ExternalStream FileStream
8e34a8db4002 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2376
diff changeset
    50
        FilteringStream FilteringLineStream
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    [author:]
2538
8e34a8db4002 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2376
diff changeset
    53
        Claus Gittinger
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
examples
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
  count lines in a Makefile:
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
    60
									[exBegin]
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    |in filter|
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    in := 'Makefile' asFilename readStream.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
    filter := LineNumberReadStream readingFrom:in.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
    filter upToEnd.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    filter close.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
    Transcript showCR:('Makefile has %1 lines' bindWith:(filter lineNumber - 1)).
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
    71
									[exEnd]
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
  find a specific string and output its lineNr:
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
    76
									[exBegin]
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
    |in filter|
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
    in := 'Makefile' asFilename readStream.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
    filter := LineNumberReadStream readingFrom:in.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
    filter skipThroughAll:'start of'.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
    filter close.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    Transcript showCR:('found in line %1' bindWith:(filter lineNumber)).
885
c31412b26306 package-definitions fixed/updated
Claus Gittinger <cg@exept.de>
parents: 478
diff changeset
    87
									[exEnd]
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
! !
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
!LineNumberReadStream methodsFor:'accessing'!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
lineNumber
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
    "return the current lineNumber"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
    ^ lineNumber
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
    "Created: 11.1.1997 / 16:57:10 / cg"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
    "Modified: 11.1.1997 / 16:57:19 / cg"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
lineNumber:something
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
    "set the current lineNumber"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
    lineNumber := something.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
    "Created: 11.1.1997 / 16:57:10 / cg"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
    "Modified: 11.1.1997 / 16:57:22 / cg"
1283
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   111
!
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   112
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   113
lineStartPosition
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   114
    "return the current lines start position"
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   115
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   116
    ^ lineStartPosition
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
! !
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
3180
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   119
!LineNumberReadStream methodsFor:'converting'!
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   120
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   121
asLineNumberReadStream
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   122
    ^ self
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   123
! !
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   124
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
!LineNumberReadStream methodsFor:'initialization'!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
initialize
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
    super initialize.
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
    lineNumber := 1.
1291
6c7d5dcf979c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1283
diff changeset
   131
    (inputStream isPositionable) ifTrue:[
2376
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   132
	lineStartPosition := inputStream position.
1283
974c05685dc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1239
diff changeset
   133
    ].
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
    filter := [:char |
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
2376
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   136
		char == Character cr ifTrue:[
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   137
		    lineNumber := lineNumber + 1.
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   138
		    inputStream isPositionable ifTrue:[
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   139
			lineStartPosition := inputStream position.
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   140
		    ].
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   141
		].
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   142
		char
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   143
	      ].
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
    "Modified: 11.1.1997 / 16:58:42 / cg"
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
! !
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
2084
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   148
!LineNumberReadStream methodsFor:'queries'!
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   149
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   150
atEnd
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   151
    "return true, if the receiver stream is at the end"
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   152
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   153
    readAhead notNil ifTrue:[^ false].
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   154
    ^ inputStream atEnd
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   155
!
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   156
3180
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   157
isLineNumberReadStream
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   158
    ^ true
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   159
!
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   160
2084
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   161
peekOrNil
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   162
    "peek ahead for the next character, or return nil"
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   163
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   164
    readAhead notNil ifTrue:[
2376
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   165
	^ readAhead
2084
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   166
    ].
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   167
    ^ inputStream peekOrNil
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   168
!
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   169
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   170
position:aPosition
2827
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   171
    readAhead := nil.
2084
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   172
    inputStream position:aPosition
2827
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   173
!
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   174
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   175
skip:numberToSkip
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   176
    readAhead := nil.
dd4e71ae9244 added: #skip:
Stefan Vogel <sv@exept.de>
parents: 2538
diff changeset
   177
    inputStream skip:numberToSkip
2084
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   178
! !
2d87edb46adc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   179
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
!LineNumberReadStream class methodsFor:'documentation'!
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
version
3180
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   183
    ^ '$Header: /cvs/stx/stx/libbasic2/LineNumberReadStream.st,v 1.10 2014-02-20 07:03:30 cg Exp $'
2376
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   184
!
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   185
267edc0847fe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2084
diff changeset
   186
version_CVS
3180
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   187
    ^ '$Header: /cvs/stx/stx/libbasic2/LineNumberReadStream.st,v 1.10 2014-02-20 07:03:30 cg Exp $'
478
778953b40429 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
! !
3180
7c7ce3f9483e class: Stream
Claus Gittinger <cg@exept.de>
parents: 2827
diff changeset
   189