'Determine any necessary information from the provided comment.
Returns true when the comment was used to apply variable info, false
otherwise.'

def _handleVariableComment(self, namelist, comment):

    log.debug('_handleVariableComment::    namelist:    %r,    comment:    %r', namelist, comment)
    if ('@var' in comment):
        doc = uncommentDocString(comment)
        all_matches = re.findall(PHPVariable._re_var, doc)
        if (len(all_matches) >= 1):
            varname = all_matches[0][1]
            vartype = all_matches[0][2]
            php_variable = None
            if varname:
                php_variable = self.addVariable(varname, vartype, doc=comment, fromPHPDoc=True)
                return True
            elif namelist:
                php_variable = self.addVariable(namelist[0], vartype, doc=comment, fromPHPDoc=True)
                return True
    return False
