Package org.intellij.grammar.psi.impl
Class BnfFileImpl
- java.lang.Object
-
- java.util.concurrent.atomic.AtomicReference<com.intellij.util.keyFMap.KeyFMap>
-
- com.intellij.openapi.util.UserDataHolderBase
-
- com.intellij.psi.impl.ElementBase
-
- com.intellij.psi.impl.source.PsiFileImpl
-
- com.intellij.extapi.psi.PsiFileBase
-
- org.intellij.grammar.psi.impl.BnfFileImpl
-
- All Implemented Interfaces:
com.intellij.navigation.NavigationItem,com.intellij.openapi.ui.Queryable,com.intellij.openapi.util.Iconable,com.intellij.openapi.util.UserDataHolder,com.intellij.openapi.util.UserDataHolderEx,com.intellij.pom.Navigatable,com.intellij.psi.impl.PsiFileEx,com.intellij.psi.impl.source.PsiFileWithStubSupport,com.intellij.psi.NavigatablePsiElement,com.intellij.psi.PsiCheckedRenameElement,com.intellij.psi.PsiElement,com.intellij.psi.PsiFile,com.intellij.psi.PsiFileSystemItem,com.intellij.psi.PsiNamedElement,java.io.Serializable,java.lang.Cloneable,BnfFile
public class BnfFileImpl extends com.intellij.extapi.psi.PsiFileBase implements BnfFile
User: gregory Date: 13.07.11 Time: 23:55- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.intellij.psi.impl.source.PsiFileImpl
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
-
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
-
-
Constructor Summary
Constructors Constructor Description BnfFileImpl(com.intellij.psi.FileViewProvider fileViewProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable BnfAttrfindAttribute(@Nullable BnfRule rule, @NotNull KnownAttribute<?> knownAttribute, @Nullable java.lang.String match)<T> TfindAttributeValue(@Nullable BnfRule rule, @NotNull KnownAttribute<T> knownAttribute, @Nullable java.lang.String match)@NotNull java.util.List<BnfAttrs>getAttributes()@NotNull com.intellij.openapi.fileTypes.FileTypegetFileType()@Nullable BnfRulegetRule(@Nullable java.lang.String ruleName)@NotNull java.util.List<BnfRule>getRules()voidsubtreeChanged()java.lang.StringtoString()-
Methods inherited from class com.intellij.extapi.psi.PsiFileBase
accept, getLanguage, getParserDefinition
-
Methods inherited from class com.intellij.psi.impl.source.PsiFileImpl
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, assertReadAccessAllowed, beforeAstChange, calcStubTree, calcTreeElement, canNavigate, canNavigateToSource, checkAdd, checkDelete, checkSetName, clearCaches, clone, cloneImpl, copy, createContentLeafElement, createFileElement, delete, deleteChildRange, derefStub, findChildByClass, findChildrenByClass, findElementAt, findReferenceAt, getChildren, getContainingDirectory, getContainingFile, getContentElementType, getContext, getElementTypeForStubBuilder, getFileElementType, getFirstChild, getGreenStub, getGreenStubTree, getLastChild, getManager, getModificationStamp, getName, getNavigationElement, getNextSibling, getNode, getNodeIfLoaded, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getResolveScope, getStartOffsetInParent, getStub, getStubbedSpine, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getViewProvider, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isPhysical, isTemplateDataFile, isValid, isWritable, markInvalidated, navigate, onContentReload, processChildren, processDeclarations, putInfo, putInfo, replace, setContentElementType, setName, setOriginalFile, setTreeElementPointer, textContains, textMatches, textMatches, textToCharArray
-
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, transformFlags
-
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
-
Methods inherited from class java.util.concurrent.atomic.AtomicReference
accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
-
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getOriginalElement, getOwnDeclarations, getOwnReferences, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
-
Methods inherited from interface com.intellij.psi.PsiFile
clearCaches, getContainingDirectory, getFileElementType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile
-
-
-
-
Method Detail
-
subtreeChanged
public void subtreeChanged()
- Specified by:
subtreeChangedin interfacecom.intellij.psi.PsiFile- Overrides:
subtreeChangedin classcom.intellij.psi.impl.source.PsiFileImpl
-
getRules
@NotNull public @NotNull java.util.List<BnfRule> getRules()
-
getRule
@Nullable public @Nullable BnfRule getRule(@Nullable @Nullable java.lang.String ruleName)
-
getAttributes
@NotNull public @NotNull java.util.List<BnfAttrs> getAttributes()
- Specified by:
getAttributesin interfaceBnfFile
-
findAttribute
@Nullable public @Nullable BnfAttr findAttribute(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<?> knownAttribute, @Nullable @Nullable java.lang.String match)
- Specified by:
findAttributein interfaceBnfFile
-
findAttributeValue
public <T> T findAttributeValue(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<T> knownAttribute, @Nullable @Nullable java.lang.String match)- Specified by:
findAttributeValuein interfaceBnfFile
-
getFileType
@NotNull public @NotNull com.intellij.openapi.fileTypes.FileType getFileType()
- Specified by:
getFileTypein interfacecom.intellij.psi.PsiFile
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.intellij.psi.PsiElement- Overrides:
toStringin classcom.intellij.psi.impl.source.PsiFileImpl
-
-