net.sourceforge.pmd.lang.java.ast.ASTTemplateFragment Maven / Gradle / Ivy
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.ast;
import net.sourceforge.pmd.annotation.Experimental;
/**
* This is a Java 21 Preview feature.
*
*
*
* TemplateFragment ::= StringTemplateBegin|StringTemplateMid|StringTemplateEnd
* |TextBlockTemplateBegin|TextBlockTemplateMid|TextBlockTemplateEnd
*
*
*
* @see JEP 430: String Templates (Preview)
*/
@Experimental
public final class ASTTemplateFragment extends AbstractJavaNode {
ASTTemplateFragment(int i) {
super(i);
}
@Override
protected R acceptVisitor(JavaVisitor super P, ? extends R> visitor, P data) {
return visitor.visit(this, data);
}
}