Package org.jetbrains.plugins.clojure.psi.impl.list

Examples of org.jetbrains.plugins.clojure.psi.impl.list.ClListImpl


public class ClojurePsiCreator {

  public static PsiElement createElement(ASTNode node) {
    final IElementType elementType = node.getElementType();

    if (elementType == ClojureElementTypes.LIST) return new ClListImpl(node);
    if (elementType == ClojureElementTypes.VECTOR) return new ClVectorImpl(node);
    if (elementType == ClojureElementTypes.MAP) return new ClMapImpl(node);
    if (elementType == ClojureElementTypes.SET) return new ClSetImpl(node);

    if (elementType == ClojureElementTypes.MAP_ENTRY) return new ClMapEntryImpl(node);
View Full Code Here


  public EmptyStub deserialize(StubInputStream dataStream, StubElement parentStub) throws IOException {
    return new EmptyStub(parentStub, this);
  }

  public PsiElement createElement(ASTNode node) {
    return new ClListImpl(node);
  }
View Full Code Here

  public PsiElement createElement(ASTNode node) {
    return new ClListImpl(node);
  }

  public ClListImpl createPsi(EmptyStub stub) {
    return new ClListImpl(stub, this);
  }
View Full Code Here

TOP

Related Classes of org.jetbrains.plugins.clojure.psi.impl.list.ClListImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.