// This is a generated file. Not intended for manual editing. package ru.crabs.sdk.language.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 ru.crabs.sdk.language.psi.SJsonTypes.*; import com.intellij.extapi.psi.ASTWrapperPsiElement; import ru.crabs.sdk.language.psi.*; public class SJsonMixinImpl extends ASTWrapperPsiElement implements SJsonMixin { public SJsonMixinImpl(@NotNull ASTNode node) { super(node); } public void accept(@NotNull SJsonVisitor visitor) { visitor.visitMixin(this); } @Override public void accept(@NotNull PsiElementVisitor visitor) { if (visitor instanceof SJsonVisitor) accept((SJsonVisitor)visitor); else super.accept(visitor); } @Override @NotNull public SJsonItem getItem() { return findNotNullChildByClass(SJsonItem.class); } @Override @NotNull public SJsonVar getVar() { return findNotNullChildByClass(SJsonVar.class); } }