Timo Hocker 6bf85f1605 init
2020-04-17 15:43:34 +02:00

13 lines
266 B
TypeScript

export class Node {
public name;
public parent;
public get full_name (): string {
return `${this.parent}_${this.name}`;
}
// eslint-disable-next-line @typescript-eslint/naming-convention
public toString (): string {
return this.full_name;
}
}