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

app.cash.sqldelight.dialects.postgresql.grammar.psi.impl.PostgreSqlJsonExpressionImpl 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.JsonExpressionMixin;
import app.cash.sqldelight.dialects.postgresql.grammar.psi.*;

public class PostgreSqlJsonExpressionImpl extends JsonExpressionMixin implements PostgreSqlJsonExpression {

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

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

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

  @Override
  @Nullable
  public PostgreSqlJsonaBinaryOperator getJsonaBinaryOperator() {
    return findChildByClass(PostgreSqlJsonaBinaryOperator.class);
  }

  @Override
  @Nullable
  public PostgreSqlJsonbBinaryOperator getJsonbBinaryOperator() {
    return findChildByClass(PostgreSqlJsonbBinaryOperator.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy