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

app.cash.sqldelight.dialects.postgresql.grammar.psi.impl.PostgreSqlOverridesImpl 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 com.alecstrong.sql.psi.core.psi.SqlCompositeElementImpl;
import app.cash.sqldelight.dialects.postgresql.grammar.psi.*;

public class PostgreSqlOverridesImpl extends SqlCompositeElementImpl implements PostgreSqlOverrides {

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

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

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

  @Override
  @Nullable
  public PostgreSqlAlterTableRules getAlterTableRules() {
    return findChildByClass(PostgreSqlAlterTableRules.class);
  }

  @Override
  @Nullable
  public PostgreSqlBindParameter getBindParameter() {
    return findChildByClass(PostgreSqlBindParameter.class);
  }

  @Override
  @Nullable
  public PostgreSqlColumnConstraint getColumnConstraint() {
    return findChildByClass(PostgreSqlColumnConstraint.class);
  }

  @Override
  @Nullable
  public PostgreSqlCompoundSelectStmt getCompoundSelectStmt() {
    return findChildByClass(PostgreSqlCompoundSelectStmt.class);
  }

  @Override
  @Nullable
  public PostgreSqlDefaultConstraint getDefaultConstraint() {
    return findChildByClass(PostgreSqlDefaultConstraint.class);
  }

  @Override
  @Nullable
  public PostgreSqlDeleteStmtLimited getDeleteStmtLimited() {
    return findChildByClass(PostgreSqlDeleteStmtLimited.class);
  }

  @Override
  @Nullable
  public PostgreSqlExtensionExpr getExtensionExpr() {
    return findChildByClass(PostgreSqlExtensionExpr.class);
  }

  @Override
  @Nullable
  public PostgreSqlExtensionStmt getExtensionStmt() {
    return findChildByClass(PostgreSqlExtensionStmt.class);
  }

  @Override
  @Nullable
  public PostgreSqlGeneratedClause getGeneratedClause() {
    return findChildByClass(PostgreSqlGeneratedClause.class);
  }

  @Override
  @Nullable
  public PostgreSqlInsertStmt getInsertStmt() {
    return findChildByClass(PostgreSqlInsertStmt.class);
  }

  @Override
  @Nullable
  public PostgreSqlStringLiteral getStringLiteral() {
    return findChildByClass(PostgreSqlStringLiteral.class);
  }

  @Override
  @Nullable
  public PostgreSqlTableConstraint getTableConstraint() {
    return findChildByClass(PostgreSqlTableConstraint.class);
  }

  @Override
  @Nullable
  public PostgreSqlTypeName getTypeName() {
    return findChildByClass(PostgreSqlTypeName.class);
  }

  @Override
  @Nullable
  public PostgreSqlUpdateStmtLimited getUpdateStmtLimited() {
    return findChildByClass(PostgreSqlUpdateStmtLimited.class);
  }

  @Override
  @Nullable
  public PostgreSqlWithClauseAuxiliaryStmt getWithClauseAuxiliaryStmt() {
    return findChildByClass(PostgreSqlWithClauseAuxiliaryStmt.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy