Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
298,900
PsiElement () { if (!isPhysical()) { final XmlElement including = getUserData(INCLUDING_ELEMENT); if (including != null) { return including; } PsiElement astParent = super.getParent(); PsiElement parentNavigation = astParent.getNavigationElement(); if (parentNavigation.getTextOffset() == getTextOffset()) return parentNavigation; return this; } return super.getNavigationElement(); }
getNavigationElement
298,901
PsiElement () { final XmlElement data = getUserData(INCLUDING_ELEMENT); if (data != null) return data; return super.getParent(); }
getParent
298,902
Language () { return getContainingFile().getLanguage(); }
getLanguage
298,903
SearchScope () { return GlobalSearchScope.allScope(getProject()); }
getUseScope
298,904
boolean (final PsiElement another) { if (super.isEquivalentTo(another)) return true; PsiElement element1 = this; // TODO: seem to be only necessary for tag dirs equivalents checking. if (element1 instanceof XmlTag && another instanceof XmlTag) { if (!element1.isPhysical() && !another.isPhysical()) return element1.getText().equals(another.getText()); } return false; }
isEquivalentTo
298,905
boolean () { return XmlElementImpl.skipValidation(this); }
skipValidation
298,906
void () { super.subtreeChanged(); putUserData(DO_NOT_VALIDATE, null); }
subtreeChanged
298,907
String () { return "PsiElement" + "(" + getElementType() + ")"; }
toString
298,908
XmlTagDelegate () { XmlTagDelegate impl = myImpl; if (impl != null) return impl; impl = createDelegate(); myImpl = impl; return impl; }
getImpl
298,909
XmlTagDelegate () { return new XmlTagImplDelegate(); }
createDelegate
298,910
int () { return myHC; }
hashCode
298,911
void () { myImpl = null; myAttributes = null; myValue = null; super.clearCaches(); }
clearCaches
298,912
boolean (@NotNull PsiReferenceService.Hints hints) { return false; }
shouldAskParentForReferences
298,913
XmlNSDescriptor (final String namespace, boolean strict) { return getImpl().getNSDescriptor(namespace, strict); }
getNSDescriptor
298,914
boolean () { return XmlChildRole.CLOSING_TAG_START_FINDER.findChild(this) == null; }
isEmpty
298,915
void () { getImpl().collapseIfEmpty(); }
collapseIfEmpty
298,916
PsiReference () { return ArrayUtil.getFirstElement(getReferences(PsiReferenceService.Hints.NO_HINTS)); }
getReference
298,917
XmlElementDescriptor () { return getImpl().getDescriptor(); }
getDescriptor
298,918
String () { return getImpl().getName(); }
getName
298,919
String (String qname) { return getImpl().getAttributeValue(qname); }
getAttributeValue
298,920
String (String _name, String namespace) { return getImpl().getAttributeValue(_name, namespace); }
getAttributeValue
298,921
XmlTag[] (boolean processIncludes) { return getImpl().getSubTags(processIncludes); }
getSubTags
298,922
boolean () { return FileBasedIndex.getInstance().getFileBeingCurrentlyIndexed() == null && !XmlUtil.isStubBuilding(); // todo the first condition should be enough }
shouldProcessIncludesNow
298,923
XmlTag (String name) { return getImpl().findFirstSubTag(name); }
findFirstSubTag
298,924
XmlAttribute (String name, String namespace) { return getImpl().getAttribute(name, namespace); }
getAttribute
298,925
String () { return CachedValuesManager.getCachedValue(this, () -> Result.create(getNamespaceByPrefix(getNamespacePrefix()), PsiModificationTracker.MODIFICATION_COUNT)); }
getNamespace
298,926
String () { return getImpl().getNamespacePrefix(getName()); }
getNamespacePrefix
298,927
String (String prefix) { return getImpl().getNamespaceByPrefix(prefix); }
getNamespaceByPrefix
298,928
String (String namespace) { return getImpl().getPrefixByNamespace(namespace); }
getPrefixByNamespace
298,929
String[] () { return getImpl().knownNamespaces(); }
knownNamespaces
298,930
String () { return getImpl().getLocalName(); }
getLocalName
298,931
boolean () { return getImpl().hasNamespaceDeclarations(); }
hasNamespaceDeclarations
298,932
XmlTag (String localName, String namespace, String bodyText, boolean enforceNamespacesDeep) { return XmlUtil.createChildTag(this, localName, namespace, bodyText, enforceNamespacesDeep, getImpl()::createTagFromText); }
createChildTag
298,933
XmlTagValue () { return XmlTagValueImpl.createXmlTagValue(this); }
createXmlTagValue
298,934
XmlTag (XmlTag subTag, boolean first) { return getImpl().addSubTag(subTag, first); }
addSubTag
298,935
XmlTagValue () { XmlTagValue tagValue = myValue; if (tagValue == null) { myValue = tagValue = createXmlTagValue(); } return tagValue; }
getValue
298,936
void (@NotNull PsiElementVisitor visitor) { if (visitor instanceof XmlElementVisitor) { ((XmlElementVisitor)visitor).visitXmlTag(this); } else { visitor.visitElement(this); } }
accept
298,937
String () { return "XmlTag:" + getName(); }
toString
298,938
PsiMetaData () { return MetaRegistry.getMeta(this); }
getMetaData
298,939
TreeElement (TreeElement first, ASTNode last, ASTNode anchor, Boolean beforeB) { TreeElement firstAppended = null; boolean before = beforeB == null || beforeB.booleanValue(); try { TreeElement next; do { next = first.getTreeNext(); if (firstAppended == null) { firstAppended = getImpl().addInternal(first, anchor, before); anchor = firstAppended; } else { anchor = getImpl().addInternal(first, anchor, false); } } while (first != last && (first = next) != null); } finally { clearCaches(); } return firstAppended; }
addInternal
298,940
void (final @NotNull ASTNode child) { getImpl().deleteChildInternal(child); }
deleteChildInternal
298,941
void (final @NotNull ASTNode child) { super.deleteChildInternal(child); }
deleteChildInternalSuper
298,942
TreeElement (TreeElement first, ASTNode last, @Nullable ASTNode anchor, @Nullable Boolean before) { return super.addInternal(first, last, anchor, before); }
addInternalSuper
298,943
XmlTag () { final PsiElement parent = getParent(); if (parent instanceof XmlTag) return (XmlTag)parent; return null; }
getParentTag
298,944
XmlTagChild () { final PsiElement nextSibling = getNextSibling(); if (nextSibling instanceof XmlTagChild) return (XmlTagChild)nextSibling; return null; }
getNextSiblingInTag
298,945
XmlTagChild () { final PsiElement prevSibling = getPrevSibling(); if (prevSibling instanceof XmlTagChild) return (XmlTagChild)prevSibling; return null; }
getPrevSiblingInTag
298,946
Icon (int flags) { return IconManager.getInstance().getPlatformIcon(PlatformIcons.Tag); }
getElementIcon
298,947
void (@NotNull ASTNode child) { XmlTagImpl.this.deleteChildInternalSuper(child); }
deleteChildInternalSuper
298,948
TreeElement (TreeElement first, ASTNode last, @Nullable ASTNode anchor, @Nullable Boolean before) { return XmlTagImpl.this.addInternalSuper(first, last, anchor, before); }
addInternalSuper
298,949
List<XmlElementDescriptor> (final XmlTag element, final Collection<String> namespaces, @Nullable List<? super String> nsInfo) { XmlElementDescriptor elementDescriptor = null; String elementNamespace = element.getNamespacePrefix().isEmpty() ? null : element.getNamespace(); final Map<String, XmlElementDescriptor> descriptorsMap = new HashMap<>(); XmlTag context = element.getParentTag(); XmlTag declarationTag = context; while(declarationTag != null){ final String namespace = declarationTag.getNamespace(); if(!descriptorsMap.containsKey(namespace)) { final XmlElementDescriptor descriptor = declarationTag.getDescriptor(); if(descriptor != null) { descriptorsMap.put(namespace, descriptor); if(elementDescriptor == null) { elementDescriptor = descriptor; if (elementNamespace == null) { elementNamespace = namespace; } } } } declarationTag = declarationTag.getParentTag(); } final Set<XmlNSDescriptor> visited = new HashSet<>(); final XmlExtension extension = XmlExtension.getExtension(element.getContainingFile()); final ArrayList<XmlElementDescriptor> variants = new ArrayList<>(); for (final String namespace: namespaces) { final int initialSize = variants.size(); processVariantsInNamespace(namespace, element, variants, elementDescriptor, elementNamespace, descriptorsMap, visited, context != null ? context : element, extension); if (nsInfo != null) { for (int i = initialSize; i < variants.size(); i++) { XmlElementDescriptor descriptor = variants.get(i); nsInfo.add(descriptor instanceof XmlElementDescriptorImpl && !(descriptor instanceof RelaxedHtmlFromSchemaElementDescriptor) ? ((XmlElementDescriptorImpl)descriptor).getNamespaceByContext(element) : namespace); } } } final boolean hasPrefix = StringUtil.isNotEmpty(element.getNamespacePrefix()); return ContainerUtil.filter(variants, descriptor -> { if (descriptor instanceof AnyXmlElementDescriptor) { return false; } else if (hasPrefix && descriptor instanceof XmlElementDescriptorImpl && !namespaces.contains(((XmlElementDescriptorImpl)descriptor).getNamespace())) { return false; } return true; }); }
getTagDescriptors
298,950
void (final String namespace, final XmlTag element, final List<? super XmlElementDescriptor> variants, final XmlElementDescriptor elementDescriptor, final String elementNamespace, final Map<String, XmlElementDescriptor> descriptorsMap, final Set<? super XmlNSDescriptor> visited, XmlTag parent, final XmlExtension extension) { if(descriptorsMap.containsKey(namespace)){ final XmlElementDescriptor descriptor = descriptorsMap.get(namespace); if(isAcceptableNs(element, elementDescriptor, elementNamespace, namespace)){ for(XmlElementDescriptor containedDescriptor: descriptor.getElementsDescriptors(parent)) { if (containedDescriptor != null) variants.add(containedDescriptor); } } if (element instanceof HtmlTag) { HtmlUtil.addHtmlSpecificCompletions(descriptor, element, variants); } visited.add(descriptor.getNSDescriptor()); } else{ // Don't use default namespace in case there are other namespaces in scope // If there are tags from default namespace they will be handled via // their element descriptors (prev if section) if (namespace == null) return; if(namespace.isEmpty() && !visited.isEmpty()) return; XmlNSDescriptor nsDescriptor = getDescriptor(element, namespace, true, extension); if (nsDescriptor == null) { if(!descriptorsMap.isEmpty()) return; nsDescriptor = getDescriptor(element, namespace, false, extension); } if(nsDescriptor != null && !visited.contains(nsDescriptor) && isAcceptableNs(element, elementDescriptor, elementNamespace, namespace) ){ visited.add(nsDescriptor); final XmlElementDescriptor[] rootElementsDescriptors = nsDescriptor.getRootElementsDescriptors(PsiTreeUtil.getParentOfType(element, XmlDocument.class)); final XmlTag parentTag = extension.getParentTagForNamespace(element, nsDescriptor); final XmlElementDescriptor parentDescriptor; if (parentTag == element.getParentTag()) { parentDescriptor = elementDescriptor; } else { assert parentTag != null; parentDescriptor = parentTag.getDescriptor(); } for(XmlElementDescriptor candidateDescriptor: rootElementsDescriptors) { if (candidateDescriptor != null && couldContainDescriptor(parentTag, parentDescriptor, candidateDescriptor, namespace, false)) { variants.add(candidateDescriptor); } } } } }
processVariantsInNamespace
298,951
XmlNSDescriptor (final XmlTag element, final String namespace, final boolean strict, final XmlExtension extension) { return extension.getNSDescriptor(element, namespace, strict); }
getDescriptor
298,952
boolean (final XmlTag parentTag, final XmlElementDescriptor parentDescriptor, final XmlElementDescriptor childDescriptor, String childNamespace, boolean strict) { if (XmlUtil.nsFromTemplateFramework(childNamespace)) return true; if (parentTag == null) return true; if (parentDescriptor == null) return false; String name = childDescriptor.getName(); if (name == null) return false; final XmlTag childTag = parentTag.createChildTag(name, childNamespace, null, false); childTag.putUserData(XmlElement.INCLUDING_ELEMENT, parentTag); XmlElementDescriptor descriptor = parentDescriptor.getElementDescriptor(childTag, parentTag); return descriptor != null && (!strict || !(descriptor instanceof AnyXmlElementDescriptor)); }
couldContainDescriptor
298,953
boolean (final XmlTag element, final XmlElementDescriptor elementDescriptor, final String elementNamespace, final String namespace) { return !(elementDescriptor instanceof XmlElementDescriptorAwareAboutChildren) || elementNamespace == null || elementNamespace.equals(namespace) || ((XmlElementDescriptorAwareAboutChildren)elementDescriptor).allowElementsFromNamespace(namespace, element.getParentTag()); }
isAcceptableNs
298,954
boolean (XmlTag parent, XmlTag child) { return couldContainDescriptor(parent, parent.getDescriptor(), child.getDescriptor(), child.getNamespace(), true); }
couldContain
298,955
String () { return "XmlText"; }
toString
298,956
boolean () { return true; }
isValidHost
298,957
String () { String displayText = myDisplayText; if (displayText != null) return displayText; StringBuilder buffer = new StringBuilder(); ASTNode child = getFirstChildNode(); final IntList gapsStarts = new IntArrayList(); final IntList gapsShifts = new IntArrayList(); while (child != null) { final int start = buffer.length(); IElementType elementType = child.getElementType(); if (elementType == XmlElementType.XML_CDATA) { final ASTNode cdata = child; child = cdata.getFirstChildNode(); } else if (elementType == XmlTokenType.XML_CHAR_ENTITY_REF) { String text = child.getText(); char ref = XmlUtil.getCharFromEntityRef(text); if (ref == ' ' && text.charAt(1) != '#') { LOG.error("Can't resolve entity ref from " + getParent().getText()); } buffer.append(ref); } else if (elementType == XmlTokenType.XML_WHITE_SPACE || elementType == XmlTokenType.XML_DATA_CHARACTERS || elementType == XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN || elementType == TokenType.ERROR_ELEMENT || elementType == TokenType.NEW_LINE_INDENT) { buffer.append(child.getText()); } int end = buffer.length(); int originalLength = child.getTextLength(); if (end - start != originalLength) { gapsStarts.add(end); gapsShifts.add(originalLength - (end - start)); } final ASTNode next = child.getTreeNext(); if (next == null && child.getTreeParent().getElementType() == XmlElementType.XML_CDATA) { child = child.getTreeParent().getTreeNext(); } else { child = next; } } int[] gapDisplayStarts = ArrayUtil.newIntArray(gapsShifts.size()); int[] gapPhysicalStarts = ArrayUtil.newIntArray(gapsShifts.size()); int currentGapsSum = 0; for (int i = 0; i < gapDisplayStarts.length; i++) { currentGapsSum += gapsShifts.getInt(i); gapDisplayStarts[i] = gapsStarts.getInt(i); gapPhysicalStarts[i] = gapDisplayStarts[i] + currentGapsSum; } myGapDisplayStarts = gapDisplayStarts; myGapPhysicalStarts = gapPhysicalStarts; String text = buffer.toString(); myDisplayText = text; return text; }
getValue
298,958
int (int physicalIndex) { getValue(); if (myGapPhysicalStarts.length == 0) return physicalIndex; final int bsResult = Arrays.binarySearch(myGapPhysicalStarts, physicalIndex); if (bsResult >= 0) return myGapDisplayStarts[bsResult]; int insertionIndex = -bsResult - 1; //if (insertionIndex == myGapDisplayStarts.length) return getValue().length(); int prevPhysGapStart = insertionIndex > 0 ? myGapPhysicalStarts[insertionIndex - 1] : 0; int prevDisplayGapStart = insertionIndex > 0 ? myGapDisplayStarts[insertionIndex - 1] : 0; if (insertionIndex < myGapDisplayStarts.length) { int prevDisplayGapLength = insertionIndex > 0 ? myGapDisplayStarts[insertionIndex] - myGapDisplayStarts[insertionIndex - 1] : myGapDisplayStarts[0]; if (physicalIndex - prevPhysGapStart > prevDisplayGapLength) return myGapDisplayStarts[insertionIndex]; } return physicalIndex - prevPhysGapStart + prevDisplayGapStart; }
physicalToDisplay
298,959
int (int displayIndex) { getValue(); if (myGapDisplayStarts.length == 0) return displayIndex; final int bsResult = Arrays.binarySearch(myGapDisplayStarts, displayIndex); if (bsResult >= 0) return myGapPhysicalStarts[bsResult]; int insertionIndex = -bsResult - 1; int prevPhysGapStart = insertionIndex > 0 ? myGapPhysicalStarts[insertionIndex - 1] : 0; int prevDisplayGapStart = insertionIndex > 0 ? myGapDisplayStarts[insertionIndex - 1] : 0; return displayIndex - prevDisplayGapStart + prevPhysGapStart; }
displayToPhysical
298,960
XmlPsiPolicy () { return LanguageXmlPsiPolicy.INSTANCE.forLanguage(getLanguage()); }
getPolicy
298,961
XmlTag () { final PsiElement parent = getParent(); if (parent instanceof XmlTag) return (XmlTag)parent; return null; }
getParentTag
298,962
XmlTagChild () { PsiElement nextSibling = getNextSibling(); if (nextSibling instanceof XmlTagChild) return (XmlTagChild)nextSibling; return null; }
getNextSiblingInTag
298,963
XmlTagChild () { PsiElement prevSibling = getPrevSibling(); if (prevSibling instanceof XmlTagChild) return (XmlTagChild)prevSibling; return null; }
getPrevSiblingInTag
298,964
TreeElement (TreeElement first, ASTNode last, ASTNode anchor, Boolean before) { throw new RuntimeException("Clients must not use operations with direct children of XmlText!"); }
addInternal
298,965
void (@NotNull PsiElementVisitor visitor) { if (visitor instanceof XmlElementVisitor) { ((XmlElementVisitor)visitor).visitXmlText(this); } else { visitor.visitElement(this); } }
accept
298,966
void () { super.clearCaches(); myDisplayText = null; myGapDisplayStarts = null; myGapPhysicalStarts = null; }
clearCaches
298,967
TextRange () { PsiElement[] elements = getChildren(); int first = 0; if (elements.length > 0 && elements[0] instanceof PsiWhiteSpace) { first ++; } int start = 0; if (elements.length > first && elements[first].getNode().getElementType() == XmlElementType.XML_CDATA) { ASTNode startNode = elements[first].getNode().findChildByType(XmlTokenType.XML_CDATA_START); if (startNode != null) { start = startNode.getTextRange().getEndOffset() - getTextRange().getStartOffset(); } } int end = getTextLength(); int last = elements.length - 1; if (last > 0 && elements[last] instanceof PsiWhiteSpace) { last --; } if (last >= 0 && elements[last].getNode().getElementType() == XmlElementType.XML_CDATA) { ASTNode startNode = elements[last].getNode().findChildByType(XmlTokenType.XML_CDATA_END); if (startNode != null) { end = startNode.getTextRange().getStartOffset() - getTextRange().getStartOffset(); } } return new TextRange(start, end); }
getCDATAInterior
298,968
PsiLanguageInjectionHost (final @NotNull String text) { try { var policy = getPolicy(); // CDATAOnAnyEncodedPolicy is a default policy for XML elements. // We should not do any special CDATA encoding by default in `updateText`, // so let's revert to DefaultXmlPsiPolicy in such case. // HTML and other elements however, should use their respective policies as // it affects XmlText parsing and injections can be wrongly parsed. if (policy instanceof CDATAOnAnyEncodedPolicy) { policy = new DefaultXmlPsiPolicy(); } doSetValue(text, policy); } catch (IncorrectOperationException e) { LOG.error(e); } return this; }
updateText
298,969
Language () { PsiElement parent = getParent(); return parent != null ? parent.getLanguage() : super.getLanguage(); }
getLanguage
298,970
LiteralTextEscaper<XmlTextImpl> () { return getParentTag() instanceof HtmlTag ? LiteralTextEscaper.createSimple(this, false) : new XmlTextLiteralEscaper(this); }
createLiteralTextEscaper
298,971
XmlAttributeDescriptor () { return myAttribute.getDescriptor(); }
compute
298,972
XmlAttribute () { return myAttribute; }
getElement
298,973
TextRange () { final int parentOffset = myAttribute.getNameElement().getStartOffsetInParent(); int nsLen = myAttribute.getNamespacePrefix().length(); String realName = XmlAttributeImpl.getRealName(myAttribute); nsLen += nsLen > 0 && !realName.isEmpty() ? 1 : -nsLen; return new TextRange(parentOffset + nsLen, parentOffset + myAttribute.getNameElement().getTextLength()); }
getRangeInElement
298,974
PsiElement () { final XmlAttributeDescriptor descriptor = getDescriptor(); return descriptor != null ? descriptor.getDeclaration() : null; }
resolve
298,975
String () { return myAttribute.getName(); }
getCanonicalText
298,976
boolean (@NotNull PsiElement element) { PsiManager manager = getElement().getManager(); return ContainerUtil.exists(multiResolve(false), result -> result.isValidResult() && manager.areElementsEquivalent(element, result.getElement())); }
isReferenceTo
298,977
boolean () { return getDescriptor() == null; }
isSoft
298,978
Type () { return Type.ELEMENT; }
getType
298,979
Quantifier () { return getQuantifierImpl(myToken); }
getQuantifier
298,980
Quantifier (PsiElement element) { PsiElement nextSibling = element.getNextSibling(); while (nextSibling instanceof PsiWhiteSpace) { nextSibling = nextSibling.getNextSibling(); } if (nextSibling instanceof XmlToken) { IElementType tokenType = ((XmlToken)nextSibling).getTokenType(); if (tokenType == XML_PLUS) { return Quantifier.ONE_OR_MORE; } else if (tokenType == XML_STAR) { return Quantifier.ZERO_OR_MORE; } else if (tokenType == XML_QUESTION) { return Quantifier.OPTIONAL; } } return Quantifier.REQUIRED; }
getQuantifierImpl
298,981
XmlContentParticle[] () { return new XmlContentParticle[0]; }
getSubParticles
298,982
XmlElementDescriptor () { return DtdResolveUtil.resolveElementReference(myToken.getText(), myToken); }
getElementDescriptor
298,983
ModificationTracker (@NotNull XmlAttribute attribute) { Project project = attribute.getProject(); ExternalResourceManagerEx manager = ExternalResourceManagerEx.getInstanceEx(); return () -> manager.getModificationCount(project); }
externalResourceModificationTracker
298,984
XmlAttribute (@NotNull String qname, @NotNull String value, @Nullable Character quoteStyle) { return XmlElementFactory.getInstance(myAttribute.getProject()).createAttribute(qname, value, quoteStyle, myAttribute); }
createAttribute
298,985
void (@NotNull StringBuilder buffer, @NotNull ASTNode child) { buffer.append(child.getChars()); }
appendChildToDisplayValue
298,986
String (final @NotNull XmlEntityRef entityRef) { final XmlEntityDecl decl = entityRef.resolve(entityRef.getContainingFile()); if (decl != null) { final XmlAttributeValue valueElement = decl.getValueElement(); if (valueElement != null) { return valueElement.getValue(); } } return entityRef.getText(); }
getEntityValue
298,987
XmlDocument () { PsiElement child = getFirstChild(); while (child != null) { if (child instanceof XmlDocument) return (XmlDocument)child; child = child.getNextSibling(); } return null; }
getDocument
298,988
XmlTag () { XmlDocument document = getDocument(); return document == null ? null : document.getRootTag(); }
getRootTag
298,989
boolean (PsiElementProcessor processor, PsiElement place) { final XmlDocument document = getDocument(); return document == null || document.processElements(processor, place); }
processElements
298,990
void (@NotNull PsiElementVisitor visitor) { if (visitor instanceof XmlElementVisitor) { ((XmlElementVisitor)visitor).visitXmlFile(this); } else { visitor.visitFile(this); } }
accept
298,991
String () { return "XmlFile:" + getName(); }
toString
298,992
FileType () { if (myType == null) { myType = getLanguage().getAssociatedFileType(); if (myType == null) { VirtualFile virtualFile = getOriginalFile().getVirtualFile(); myType = virtualFile == null ? FileTypeRegistry.getInstance().getFileTypeByFileName(getName()) : virtualFile.getFileType(); } } return myType; }
getFileType
298,993
void () { super.clearCaches(); if (isWebFileType()) { ScriptSupportUtil.clearCaches(this); } }
clearCaches
298,994
boolean () { return getLanguage() == XHTMLLanguage.INSTANCE || getLanguage() == HTMLLanguage.INSTANCE; }
isWebFileType
298,995
boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, PsiElement lastParent, @NotNull PsiElement place) { return super.processDeclarations(processor, state, lastParent, place) && (!isWebFileType() || ScriptSupportUtil.processDeclarations(this, processor, state, lastParent, place)); }
processDeclarations
298,996
GlobalSearchScope () { return ProjectScope.getAllScope(getProject()); }
getFileResolveScope
298,997
boolean () { return true; }
ignoreReferencedElementAccessibility
298,998
void (@NotNull PsiElementVisitor visitor) { if (visitor instanceof XmlElementVisitor) { ((XmlElementVisitor)visitor).visitXmlProlog(this); } else { visitor.visitElement(this); } }
accept
298,999
XmlDoctype () { ASTNode child = getNode().findChildByType(XML_DOCTYPE); return child != null ? child.getPsi(XmlDoctype.class) : null; }
getDoctype