compiler/PPCMethod.st
changeset 414 0eaf09920532
parent 399 b5b7a6db033b
child 422 116d2b2af905
equal deleted inserted replaced
413:5389e6fbb3bc 414:0eaf09920532
    27 addOnLine: string
    27 addOnLine: string
    28 	buffer nextPutAll: string.
    28 	buffer nextPutAll: string.
    29 !
    29 !
    30 
    30 
    31 addVariable: name
    31 addVariable: name
    32     (variables includes: name) ifFalse:[ variables add: name ].
    32 	variables add: name.
    33 
       
    34     "Modified: / 30-10-2014 / 23:00:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    35 !
    33 !
    36 
    34 
    37 allowInline
    35 allowInline
    38 	canInline := true
    36 	canInline := true
    39 !
    37 !
   109 ! !
   107 ! !
   110 
   108 
   111 !PPCMethod methodsFor:'initialization'!
   109 !PPCMethod methodsFor:'initialization'!
   112 
   110 
   113 initialize
   111 initialize
   114         buffer := WriteStream on: ''.
   112 	buffer := WriteStream on: ''.
   115         indentation := 1.
   113 	indentation := 1.
   116         variables := OrderedCollection new.
   114 	variables := OrderedCollection new.
   117         canInline := false
   115 	canInline := false
   118 
       
   119     "Modified: / 30-10-2014 / 22:59:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   120 ! !
   116 ! !
   121 
   117 
   122 !PPCMethod class methodsFor:'documentation'!
   118 !PPCMethod class methodsFor:'documentation'!
   123 
   119 
   124 version_HG
   120 version_HG