export namespace ProblemLocationKind {
export function fromString(value: string): ProblemLocationKind | undefined {
if (value === 'file') {
return ProblemLocationKind.File;
} else if (value === 'location') {
return ProblemLocationKind.Location;
} else {
return undefined;
}
}