Class BnfRefOrTokenImpl

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.tree.TreeElement
com.intellij.psi.impl.source.tree.CompositeElement
com.intellij.psi.impl.source.tree.CompositePsiElement
All Implemented Interfaces:
com.intellij.lang.ASTNode, com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.psi.impl.ReparseableASTNode, com.intellij.psi.NavigatablePsiElement, com.intellij.psi.PsiElement, Serializable, Cloneable, BnfComposite, BnfExpression, BnfReferenceOrToken
Direct Known Subclasses:
BnfReferenceOrTokenImpl

public abstract class BnfRefOrTokenImpl extends BnfExpressionImpl implements BnfReferenceOrToken
Created by IntelliJ IDEA. User: gregory Date: 14.07.11 Time: 19:17
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable

    com.intellij.openapi.util.Iconable.IconFlags
  • Field Summary

    Fields inherited from class com.intellij.psi.impl.source.tree.CompositePsiElement

    ourHC

    Fields inherited from class com.intellij.psi.impl.source.tree.CompositeElement

    EMPTY_ARRAY

    Fields inherited from class com.intellij.psi.impl.ElementBase

    FLAGS_LOCKED

    Fields inherited from interface com.intellij.openapi.util.Iconable

    ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY

    Fields inherited from interface com.intellij.pom.Navigatable

    EMPTY_NAVIGATABLE_ARRAY

    Fields inherited from interface com.intellij.psi.NavigatablePsiElement

    EMPTY_NAVIGATABLE_ELEMENT_ARRAY

    Fields inherited from interface com.intellij.navigation.NavigationItem

    EMPTY_NAVIGATION_ITEM_ARRAY

    Fields inherited from interface com.intellij.psi.PsiElement

    ARRAY_FACTORY, EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    BnfRefOrTokenImpl(com.intellij.psi.tree.IElementType elementType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.intellij.psi.PsiReference
     
    @Nullable BnfRule
     

    Methods inherited from class org.intellij.grammar.psi.impl.BnfExpressionImpl

    accept, accept

    Methods inherited from class org.intellij.grammar.psi.impl.BnfCompositeImpl

    toString

    Methods inherited from class com.intellij.psi.impl.source.tree.CompositePsiElement

    acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, checkAdd, checkDelete, clone, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getName, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPresentation, getPrevSibling, getProject, getReferences, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, processDeclarations, replace

    Methods inherited from class com.intellij.psi.impl.source.tree.CompositeElement

    acceptTree, addChild, addChild, addChildren, addInternal, addLeaf, applyDeleteOnReparse, applyInsertOnReparse, applyReplaceFileOnReparse, clearCaches, countChildren, createPsiNoLock, deleteChildInternal, findChildByRole, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getChars, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getChildRole, getFirstChildNode, getLastChildNode, getPsi, getPsi, getText, getTextLength, hc, rawAddChildren, rawAddChildrenWithoutNotifications, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceChildInternal, setPsi, subtreeChanged, textContains, textMatches, textToCharArray

    Methods inherited from class com.intellij.psi.impl.source.tree.TreeElement

    applyReplaceOnReparse, copyElement, equals, getElementType, getManager, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches

    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.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.intellij.lang.ASTNode

    getCopyableUserData, putCopyableUserData

    Methods inherited from interface org.intellij.grammar.psi.BnfComposite

    accept

    Methods inherited from interface org.intellij.grammar.psi.BnfReferenceOrToken

    getId

    Methods inherited from interface com.intellij.openapi.util.Iconable

    getIcon

    Methods inherited from interface com.intellij.pom.Navigatable

    navigationRequest

    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, getNode, getOriginalElement, getOwnDeclarations, getOwnReferences, getParent, getPrevSibling, getProject, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString

    Methods inherited from interface com.intellij.openapi.util.UserDataHolder

    getUserData, putUserData
  • Constructor Details

    • BnfRefOrTokenImpl

      public BnfRefOrTokenImpl(com.intellij.psi.tree.IElementType elementType)
  • Method Details

    • resolveRule

      @Nullable public @Nullable BnfRule resolveRule()
      Specified by:
      resolveRule in interface BnfReferenceOrToken
    • getReference

      public com.intellij.psi.PsiReference getReference()
      Specified by:
      getReference in interface com.intellij.psi.PsiElement
      Overrides:
      getReference in class com.intellij.psi.impl.source.tree.CompositePsiElement