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

app.cash.sqldelight.dialects.hsql.grammar.psi.impl.HsqlWindowDefnImpl 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.hsql.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.hsql.grammar.psi.HsqlTypes.*;
import app.cash.sqldelight.dialects.hsql.grammar.mixins.WindowDefinitionMixin;
import app.cash.sqldelight.dialects.hsql.grammar.psi.*;

public class HsqlWindowDefnImpl extends WindowDefinitionMixin implements HsqlWindowDefn {

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

  public void accept(@NotNull HsqlVisitor visitor) {
    visitor.visitWindowDefn(this);
  }

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

  @Override
  @Nullable
  public HsqlBaseWindowName getBaseWindowName() {
    return findChildByClass(HsqlBaseWindowName.class);
  }

  @Override
  @Nullable
  public HsqlFrameSpec getFrameSpec() {
    return findChildByClass(HsqlFrameSpec.class);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy