package net.kenro.ji.jin.purescript.psi.impl;

import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import net.kenro.ji.jin.purescript.psi.*;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public class PSBinderImpl extends PSPsiElement implements PSBinder {

    public PSBinderImpl(final ASTNode node) {
        super(node);
    }

    @Override
    @NotNull
    public List<PSIdentifierImpl> getIdentifierList() {
        return PsiTreeUtil.getChildrenOfTypeAsList(this, PSIdentifierImpl.class);
    }

    @Override
    @NotNull
    public List<PSBinder> getBinderList() {
        return PsiTreeUtil.getChildrenOfTypeAsList(this, PSBinder.class);
    }

}

@@ -78,51 +78,8 @@
 de;%0A
-import com.intellij.psi.PsiElementVisitor;%0A
 impo
@@ -159,9 +159,16 @@
 psi.
-*
+PSBinder
 ;%0Aim

Remove unused imports