net.forthecrown.grenadier.annotations.tree.ExecutesTree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grenadier-annotations Show documentation
Show all versions of grenadier-annotations Show documentation
Annotation-based command support for Grenadier
package net.forthecrown.grenadier.annotations.tree;
import org.jetbrains.annotations.ApiStatus.Internal;
@Internal
public interface ExecutesTree extends Tree {
record MemberExecutes(int tokenStart, MemberChainTree ref) implements ExecutesTree {
@Override
public R accept(TreeVisitor visitor, C context) {
return visitor.visitMemberExecutes(this, context);
}
}
record VariableExecutes(int tokenStart, String variable)
implements ExecutesTree, VariableHolder
{
@Override
public R accept(TreeVisitor visitor, C context) {
return visitor.visitVariableExecutes(this, context);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy