def _processVariable(self, line):
        nameMatches = re.findall('\$(.*?)[ |=|;]', line)
        name = "Unknown"
        if len(nameMatches) >= 0:
            name = nameMatches[0]

        visibility = 'public'
        visibilityMatches = re.findall('^(public|protected|private)', line)

        if len(visibilityMatches) >= 0:
            visibility = visibilityMatches[0]

        dockBlockText = self._getDockBlockOfVariable(line)
        docblock = DocBlock()
        docblock.fromText(dockBlockText)

        typeName = 'mixed'
        if docblock.hasTag('var'):
            typeName = docblock.getTag('var')
        description = docblock.getDescription()

        return Variable(name = name, visibility = visibility, typeName = typeName, description = description)
Returns a Variable object populated from the parsed code
dataset/ETHPy150Open francodacosta/sublime-php-getters-setters/php-getter-setter.py/Parser._processVariable