17 lines
300 B
Java
17 lines
300 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.util.parsing.packrat;
|
|
|
|
public record Atom<T>(String name) {
|
|
@Override
|
|
public String toString() {
|
|
return "<" + this.name + ">";
|
|
}
|
|
|
|
public static <T> Atom<T> of(String name) {
|
|
return new Atom<T>(name);
|
|
}
|
|
}
|
|
|