6.16.6.1. Hash Tangler

Start python section to interscript/tanglers/cpp.py[2 /3 ] Next Prev First Last
    30: #line 335 "tanglers.ipk"
    31: class hash_comment_tangler(tangler_base):
    32:   def __init__(self, writer, weaver, prefix):
    33:     tangler_base.__init__(self,writer, weaver)
    34:     self.prefix = prefix
    35:     self.language = prefix+' comment'
    36: 
    37:   def writeline(self,data,file,count,inhibit_sref=0):
    38:     self.weaver.writeline(data)
    39:     self._writeline(self.prefix+line)
    40: 
End python section to interscript/tanglers/cpp.py[2]