org.projectnessie.nessie.cli.grammar.ast.UseReferenceStatement Maven / Gradle / Ivy
/* Generated by: CongoCC Parser Generator. Do not edit.
* Generated Code for UseReferenceStatement AST Node type
* by the ASTNode.java.ftl template
*/
package org.projectnessie.nessie.cli.grammar.ast;
import org.projectnessie.nessie.cli.cmdspec.*;
import org.projectnessie.nessie.cli.grammar.*;
import java.util.*;
import static org.projectnessie.nessie.cli.grammar.Token.TokenType.*;
public class UseReferenceStatement extends BaseNode implements UseReferenceCommandSpec {
@Override
public String getInCatalog() {
return stringValueOf("inCatalog");
}
@Override
public String getRefType() {
Node type = getNamedChild("type");
return type != null ? type.getSource().toUpperCase() : null;
}
@Override
public String getRef() {
return stringValueOf("ref");
}
@Override
public String getRefTimestampOrHash() {
return stringValueOf("at");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy