Package org.jetbrains.plugins.clojure.psi.api

Examples of org.jetbrains.plugins.clojure.psi.api.ClMap


    return "ClMetadata";
  }

  @NotNull
  public List<ClKeyword> getKeys() {
    ClMap map = getUnderlyingMap();
    if (map == null) return Collections.emptyList();
    return ContainerUtil.map(map.getEntries(), new Function<ClMapEntry, ClKeyword>() {
      public ClKeyword fun(ClMapEntry clMapEntry) {
        return clMapEntry.getKeywordKey();
      }
    });
  }
View Full Code Here


      }
    });
  }

  private ClMap getUnderlyingMap() {
    final ClMap map = findChildByClass(ClMap.class);
    if (map == null) return null;
    return map;
  }
View Full Code Here

    if (map == null) return null;
    return map;
  }

  public ClojurePsiElement getValue(String key) {
    final ClMap map = getUnderlyingMap();
    if (map == null) return null;
    return map.getValue(key);
  }
View Full Code Here

TOP

Related Classes of org.jetbrains.plugins.clojure.psi.api.ClMap

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.