Package org.osmorc.manifest.lang.psi

Examples of org.osmorc.manifest.lang.psi.Attribute


      if (isPackageRef(element.getPrevSibling())) {
        return getPackageReferences(headerValuePart);
      }
    }
    else if (headerValuePart.getParent() instanceof Attribute) {
      Attribute attribute = (Attribute)headerValuePart.getParent();
      if (USES_DIRECTIVE.equals(attribute.getName()) && !USES_DIRECTIVE.equals(headerValuePart.getUnwrappedText())) {
        List<PsiReference> references = ContainerUtil.newArrayList();
        for (ASTNode astNode : headerValuePart.getNode().getChildren(TokenSet.create(ManifestTokenType.HEADER_VALUE_PART))) {
          if (astNode instanceof ManifestToken) {
            ManifestToken manifestToken = (ManifestToken)astNode;
            ContainerUtil.addAll(references, getPackageReferences(manifestToken));
View Full Code Here

TOP

Related Classes of org.osmorc.manifest.lang.psi.Attribute

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.