@classmethod<EOL><INDENT>def parse_parameter_string(cls, parameter_string):<DEDENT>
<EOL>name = parameter_string<EOL>pattern = '<STR_LIT:string>'<EOL>if '<STR_LIT::>' in parameter_string:<EOL><INDENT>name, pattern = parameter_string.split('<STR_LIT::>', <NUM_LIT:1>)<EOL><DEDENT>default = (str, pattern)<EOL>_type, pattern = REGEX_TYPES.get(pattern, default)<EOL>return name, _type, pattern<EOL>
Parse a parameter string into its constituent name, type, and
        pattern

        For example::

            parse_parameter_string('<param_one:[A-z]>')` ->
                ('param_one', str, '[A-z]')

        :param parameter_string: String to parse
        :return: tuple containing
            (parameter_name, parameter_type, parameter_pattern)