parse param type from docstring