def evaluate_block(self, comments):
        """Evaluate block comments."""

        if self.jsdocs:
            m1 = RE_JSDOC.match(comments)
            if m1:
                lines = []
                for line in m1.group(1).splitlines(True):
                    l = line.lstrip()
                    lines.append(l[1:] if l.startswith('*') else l)
                self.jsdoc_comments.append([''.join(lines), self.line_num, self.current_encoding])
            elif self.blocks:
                self.block_comments.append([comments[2:-2], self.line_num, self.current_encoding])
        elif self.blocks:
            self.block_comments.append([comments[2:-2], self.line_num, self.current_encoding])
def evaluate_block ( self , comments ) : if self . jsdocs : m1 = RE_JSDOC . match ( comments ) if m1 : lines = [ ] for line in m1 . group ( 1 ) . splitlines ( True ) : l = line . lstrip ( ) lines . append ( l [ 1 : ] if l . startswith ( '*' ) else l ) self . jsdoc_comments . append ( [ '' . join ( lines ) , self . line_num , self . current_encoding ] ) elif self . blocks : self . block_comments . append ( [ comments [ 2 : - 2 ] , self . line_num , self . current_encoding ] ) elif self . blocks : self . block_comments . append ( [ comments [ 2 : - 2 ] , self . line_num , self . current_encoding ] )
Evaluate block comments.