All Downloads are FREE. Search and download functionalities are using the official Maven repository.

app.cash.sqldelight.dialects.postgresql.grammar.psi.impl.PostgreSqlUpdateStmtLimitedImpl Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
// 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 app.cash.sqldelight.dialects.postgresql.grammar.mixins.UpdateStmtLimitedMixin;
import app.cash.sqldelight.dialects.postgresql.grammar.psi.*;

public class PostgreSqlUpdateStmtLimitedImpl extends UpdateStmtLimitedMixin implements PostgreSqlUpdateStmtLimited {

  public PostgreSqlUpdateStmtLimitedImpl(ASTNode node) {
    super(node);
  }

  public void accept(@NotNull PostgreSqlVisitor visitor) {
    visitor.visitUpdateStmtLimited(this);
  }

  @Override
  public void accept(@NotNull PsiElementVisitor visitor) {
    if (visitor instanceof PostgreSqlVisitor) accept((PostgreSqlVisitor)visitor);
    else super.accept(visitor);
  }

  @Override
  @Nullable
  public PostgreSqlReturningClause getReturningClause() {
    return findChildByClass(PostgreSqlReturningClause.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy