// This is a generated file. Not intended for manual editing.
package com.intellij.plugin.applescript.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 com.intellij.plugin.applescript.psi.AppleScriptTypes.*;
import com.intellij.plugin.applescript.psi.*;

public class AppleScriptHandlerInterleavedParametersSelectorPartImpl extends AppleScriptHandlerSelectorPartImpl implements AppleScriptHandlerInterleavedParametersSelectorPart {

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

  public void accept(@NotNull AppleScriptVisitor visitor) {
    visitor.visitHandlerInterleavedParametersSelectorPart(this);
  }

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

  @Override
  @Nullable
  public AppleScriptExpression getExpression() {
    return findChildByClass(AppleScriptExpression.class);
  }

  @Override
  @NotNull
  public AppleScriptSelectorId getSelectorId() {
    return findNotNullChildByClass(AppleScriptSelectorId.class);
  }

  @Override
  @Nullable
  public AppleScriptTargetListLiteral getTargetListLiteral() {
    return findChildByClass(AppleScriptTargetListLiteral.class);
  }

  @Override
  @Nullable
  public AppleScriptTargetRecordLiteral getTargetRecordLiteral() {
    return findChildByClass(AppleScriptTargetRecordLiteral.class);
  }

  @Override
  @Nullable
  public AppleScriptTargetVariable getTargetVariable() {
    return findChildByClass(AppleScriptTargetVariable.class);
  }

}