_writeline
and
_write
are the lowest level output primitives. If output is enabled, they
call the corresponding method on the active sink.
writeline
and
write
are the primary output tools used most often. They take text from
the input stream, convert it as needed, then call the lower level
primitives.
189: #line 399 "lout_weaver.ipk" 190: def _writeline(self,line=''): 191: if self.enabled: 192: self.sink.writeline(line) 193: 194: def _write(self,line): 195: if self.enabled: 196: self.sink.write(line) 197: 198: def write(self,line): 199: self._write(self.cvt_text(line)) 200: 201: def writeline(self,line=''): 202: self.write(line); 203: self._writeline() 204: 205: def writecode(self,line): 206: self._writeline('@F{'+self.cvt_code(line)+'}') 207: