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

app.cash.sqldelight.dialects.postgresql.grammar.psi.impl.PostgreSqlCopyOptionImpl 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 PostgreSqlCopyOptionImpl extends SqlCompositeElementImpl implements PostgreSqlCopyOption {

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

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

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

  @Override
  @Nullable
  public PostgreSqlCopyOptionDelimiter getCopyOptionDelimiter() {
    return findChildByClass(PostgreSqlCopyOptionDelimiter.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionEncoding getCopyOptionEncoding() {
    return findChildByClass(PostgreSqlCopyOptionEncoding.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionEscape getCopyOptionEscape() {
    return findChildByClass(PostgreSqlCopyOptionEscape.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionForceNotNull getCopyOptionForceNotNull() {
    return findChildByClass(PostgreSqlCopyOptionForceNotNull.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionForceNull getCopyOptionForceNull() {
    return findChildByClass(PostgreSqlCopyOptionForceNull.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionFormat getCopyOptionFormat() {
    return findChildByClass(PostgreSqlCopyOptionFormat.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionFreeze getCopyOptionFreeze() {
    return findChildByClass(PostgreSqlCopyOptionFreeze.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionHeader getCopyOptionHeader() {
    return findChildByClass(PostgreSqlCopyOptionHeader.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionNull getCopyOptionNull() {
    return findChildByClass(PostgreSqlCopyOptionNull.class);
  }

  @Override
  @Nullable
  public PostgreSqlCopyOptionQuote getCopyOptionQuote() {
    return findChildByClass(PostgreSqlCopyOptionQuote.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy