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