def METHOD_NAME(self, param: Dict) -> LocalVariableSolc:
    local_var = LocalVariable()
    local_var.set_offset(param["src"], self._slither_parser.compilation_unit)
    local_var_parser = LocalVariableSolc(local_var, param)
    if isinstance(self._custom_error, CustomErrorTopLevel):
        local_var_parser.analyze(self)
    else:
        assert isinstance(self._custom_error, CustomErrorContract)
        local_var_parser.analyze(self)
    # see https://solidity.readthedocs.io/en/v0.4.24/types.html?highlight=storage%20location#data-location
    if local_var.location == "default":
        local_var.set_location("memory")
    return local_var_parser