GroovySourceFileWriter.st
branchdevelopment
changeset 2711 a00302fe5083
parent 2429 ebece4dcaab9
child 2731 13f5be2bf83b
equal deleted inserted replaced
2710:78c4f4a03914 2711:a00302fe5083
    51      as of 1.9.2010
    51      as of 1.9.2010
    52 
    52 
    53 "
    53 "
    54 ! !
    54 ! !
    55 
    55 
    56 
       
    57 !GroovySourceFileWriter methodsFor:'source writing'!
    56 !GroovySourceFileWriter methodsFor:'source writing'!
    58 
    57 
    59 fileOut:class on:stream withTimeStamp:stampIt withInitialize:initIt withDefinition:withDefinition methodFilter:methodFilter encoder:encoderOrNil
    58 fileOut:class on:stream withTimeStamp:stampIt withInitialize:initIt withDefinition:withDefinition methodFilter:methodFilter encoder:encoderOrNil
    60     "raise an error: must be redefined in concrete subclass(es)"
    59     "raise an error: must be redefined in concrete subclass(es)"
    61 
    60 
    72     "Files out a package definition on the stream, so all subsequent
    71     "Files out a package definition on the stream, so all subsequent
    73      code entities will be placed in that package"
    72      code entities will be placed in that package"
    74 
    73 
    75     ^ self shouldImplement
    74     ^ self shouldImplement
    76 ! !
    75 ! !
    77 
       
    78 
    76 
    79 !GroovySourceFileWriter methodsFor:'source writing - comments'!
    77 !GroovySourceFileWriter methodsFor:'source writing - comments'!
    80 
    78 
    81 fileOutCommentEndOn:aStream
    79 fileOutCommentEndOn:aStream
    82     "Writes a comment end mark on aStream."
    80     "Writes a comment end mark on aStream."
    96     "Writes a comment start mark on aStream."
    94     "Writes a comment start mark on aStream."
    97 
    95 
    98     "Modified: / 18-02-2012 / 18:35:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    96     "Modified: / 18-02-2012 / 18:35:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    99 ! !
    97 ! !
   100 
    98 
   101 
       
   102 !GroovySourceFileWriter class methodsFor:'documentation'!
    99 !GroovySourceFileWriter class methodsFor:'documentation'!
   103 
   100 
   104 version_CVS
   101 version_CVS
   105     ^ '$Header: /cvs/stx/stx/libjava/GroovySourceFileWriter.st,v 1.2 2013-02-25 11:15:31 vrany Exp $'
   102     ^ '$Header$'
   106 !
   103 !
   107 
   104 
   108 version_HG
   105 version_HG
   109 
   106 
   110     ^ '$Changeset: <not expanded> $'
   107     ^ '$Changeset: <not expanded> $'