app.cash.sqldelight.dialects.postgresql.grammar.psi.impl.PostgreSqlInsertStmtImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgresql-dialect Show documentation
Show all versions of postgresql-dialect Show documentation
The PostgreSQL Dialect for SQLDelight
// This is a generated file. Not intended for manual editing.
package app.cash.sqldelight.dialects.postgresql.grammar.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import static app.cash.sqldelight.dialects.postgresql.grammar.psi.PostgreSqlTypes.*;
import com.alecstrong.sql.psi.core.psi.impl.SqlInsertStmtImpl;
import app.cash.sqldelight.dialects.postgresql.grammar.psi.*;
public class PostgreSqlInsertStmtImpl extends SqlInsertStmtImpl implements PostgreSqlInsertStmt {
public PostgreSqlInsertStmtImpl(ASTNode node) {
super(node);
}
public void accept(@NotNull PostgreSqlVisitor visitor) {
visitor.visitInsertStmt(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof PostgreSqlVisitor) accept((PostgreSqlVisitor)visitor);
else super.accept(visitor);
}
@Override
@Nullable
public PostgreSqlConflictTarget getConflictTarget() {
return findChildByClass(PostgreSqlConflictTarget.class);
}
@Override
@Nullable
public PostgreSqlConflictUpdate getConflictUpdate() {
return findChildByClass(PostgreSqlConflictUpdate.class);
}
@Override
@Nullable
public PostgreSqlReturningClause getReturningClause() {
return findChildByClass(PostgreSqlReturningClause.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy