~smalltalkers/cuis/base-dev

« back to all changes in this revision

Viewing changes to Cuis2.2/0--fix.updates/0002-ClassDescription-stopWritingClassDefinitionPreambles.beta.st

  • Committer: Keith Hodges
  • Date: 2010-03-08 03:18:43 UTC
  • Revision ID: keith_hodges@yahoo.co.uk-20100308031843-wko4jb9k3wv1jmpt
Added ImporterFileIn, and started styled export subclass

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'
 
 
b'Stop writing non executable preamble that is a special case (no longer supported by squeak/pharo'
 
 
b"'!"
 
 
b"!ClassDescription methodsFor: 'fileIn/Out' stamp: 'kph 2/24/2010 05:15'!"
 
 
b'fileOutOn: aFileStream moveSource: moveSource toFile: fileIndex'
 
 
b'\t"File a description of the receiver on aFileStream. If the boolean '
 
 
b'\targument, moveSource, is true, then set the trailing bytes to the position '
 
 
b'\tof aFileStream and to fileIndex in order to indicate where to find the '
 
 
b'\tsource code."'
 
 
b'\t"aFileStream nextPut: $!!; nextChunkPut: self definitionPreamble; cr."'
 
 
b'\taFileStream nextChunkPut: self definition.'
 
 
b'\tself organization'
 
 
b'\t\tputCommentOnFile: aFileStream'
 
 
b'\t\tnumbered: fileIndex'
 
 
b'\t\tmoveSource: moveSource'
 
 
b'\t\tforClass: self.'
 
 
b'\tself organization categories do: '
 
 
b'\t\t[:heading |'
 
 
b'\t\tself fileOutCategory: heading'
 
 
b'\t\t\ton: aFileStream'
 
 
b'\t\t\tmoveSource: moveSource'
 
 
b'\t\t\ttoFile: fileIndex]! !'
 
 
b'Smalltalk at: #CuisFixes ifAbsent: [ '
 
 
b'\tObject subclass: #CuisFixes'
 
 
b"\t\tinstanceVariableNames: '' "
 
 
b"\t\tclassVariableNames: '' "
 
 
b"\t\tpoolDictionaries: '' "
 
 
b"\t\tcategory: 'Progress-Cuis2.2' ]. !"
 
 
b"!CuisFixes class methodsFor: 'as yet unclassified' stamp: 'kph 3/3/2010 12:30'!"
 
 
b'fix0002StopWritingClassDefinitionPreambles'
 
 
b"\t<update:  'ClassDescription-stopWritingClassDefinitionPreambles' version: #beta>"
 
 
b"\t<project:   'Cuis2.2'   level: 0 series: #fix number: 2>"
 
 
b'"'
 
 
b'Stop writing non executable preamble that is a special case (no longer supported by squeak/pharo'
 
 
b'"'
2
1
 
 
 
b'\t^ [ :pkg |'
 
 
b'\t\t\t\t'
 
 
b'\t\tpkg stampComment.\t'
 
 
b'\t\tpkg class: ClassDescription selectors: #(fileOutOn:moveSource:toFile:) '
 
 
b'\t].'
3
2
! !
 
 
b'\\ No newline at end of file'
 
3
'
 
 
b'Stop writing non executable preamble that is a special case (no longer supported by squeak/pharo'
 
 
b"'!"
 
 
b"!ClassDescription methodsFor: 'fileIn/Out' stamp: 'kph 2/24/2010 05:15'!fileOutOn: aFileStream moveSource: moveSource toFile: fileIndex"
 
 
b'\t"File a description of the receiver on aFileStream. If the boolean '
 
 
b'\targument, moveSource, is true, then set the trailing bytes to the position '
 
 
b'\tof aFileStream and to fileIndex in order to indicate where to find the '
 
 
b'\tsource code."'
 
 
b'\t"aFileStream nextPut: $!!; nextChunkPut: self definitionPreamble; cr."'
 
 
b'\taFileStream nextChunkPut: self definition.'
 
 
b'\tself organization'
 
 
b'\t\tputCommentOnFile: aFileStream'
 
 
b'\t\tnumbered: fileIndex'
 
 
b'\t\tmoveSource: moveSource'
 
 
b'\t\tforClass: self.'
 
 
b'\tself organization categories do: '
 
 
b'\t\t[:heading |'
 
 
b'\t\tself fileOutCategory: heading'
 
 
b'\t\t\ton: aFileStream'
 
 
b'\t\t\tmoveSource: moveSource'
 
 
b'\t\t\ttoFile: fileIndex]! !'
 
 
b'Smalltalk at: #CuisFixes ifAbsent: [ '
 
 
b'\tObject subclass: #CuisFixes'
 
 
b"\t\tinstanceVariableNames: '' "
 
 
b"\t\tclassVariableNames: '' "
 
 
b"\t\tpoolDictionaries: '' "
 
 
b"\t\tcategory: 'Progress-Cuis2.2' ]. !"
 
 
b"!CuisFixes class methodsFor: 'as yet unclassified' stamp: 'kph 3/3/2010 12:30'!fix0002StopWritingClassDefinitionPreambles"
 
 
b"\t<update:  'ClassDescription-stopWritingClassDefinitionPreambles' version: #beta>"
 
 
b"\t<project:   'Cuis2.2'   level: 0 series: #fix number: 2>"
 
 
b'"'
 
 
b'Stop writing non executable preamble that is a special case (no longer supported by squeak/pharo'
 
 
b'"'
4
4
 
 
 
b'\t^ [ :pkg |'
 
 
b'\t\t\t\t'
 
 
b'\t\tpkg stampComment.\t'
 
 
b'\t\tpkg class: ClassDescription selectors: #(fileOutOn:moveSource:toFile:) '
 
 
b'\t].'
5
5
! !
 
 
b'\\ No newline at end of file'