Class GrammarUtil.FakeBnfExpression

  • 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.PsiElement, java.io.Serializable, java.lang.Cloneable, BnfComposite, BnfExpression
    Enclosing class:
    GrammarUtil

    public static class GrammarUtil.FakeBnfExpression
    extends com.intellij.psi.impl.source.tree.LeafPsiElement
    implements BnfExpression
    See Also:
    Serialized Form
    • 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.TreeElement

        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.navigation.NavigationItem

        EMPTY_NAVIGATION_ITEM_ARRAY
      • Fields inherited from interface com.intellij.psi.PsiElement

        ARRAY_FACTORY, EMPTY_ARRAY
    • Constructor Summary

      Constructors 
      Constructor Description
      FakeBnfExpression​(@NotNull com.intellij.psi.tree.IElementType elementType, @NotNull java.lang.String text)  
      FakeBnfExpression​(@NotNull java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> R accept​(@NotNull BnfVisitor<R> visitor)  
      java.lang.String toString()  
      • Methods inherited from class com.intellij.psi.impl.source.tree.LeafPsiElement

        accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getName, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPresentation, getPrevSibling, getProject, getPsi, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, processDeclarations, replace
      • Methods inherited from class com.intellij.psi.impl.source.tree.LeafElement

        acceptTree, addChild, addChild, addChildren, addLeaf, charAt, clone, copyTo, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, getCachedLength, getChars, getChildren, getFirstChildNode, getLastChildNode, getPsi, getText, getTextLength, hc, rawReplaceWithText, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceWithText, textContains, textMatches, textMatches, textToCharArray
      • Methods inherited from class com.intellij.psi.impl.source.tree.TreeElement

        applyReplaceOnReparse, clearCaches, copyElement, equals, getElementType, getManager, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, 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.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

        finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.intellij.lang.ASTNode

        getCopyableUserData, putCopyableUserData
      • Methods inherited from interface com.intellij.openapi.util.Iconable

        getIcon
      • 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, 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.impl.ReparseableASTNode

        applyDeleteOnReparse, applyInsertOnReparse, applyReplaceFileOnReparse
      • Methods inherited from interface com.intellij.openapi.util.UserDataHolder

        getUserData, putUserData
    • Constructor Detail

      • FakeBnfExpression

        public FakeBnfExpression​(@NotNull
                                 @NotNull java.lang.String text)
      • FakeBnfExpression

        public FakeBnfExpression​(@NotNull
                                 @NotNull com.intellij.psi.tree.IElementType elementType,
                                 @NotNull
                                 @NotNull java.lang.String text)
    • Method Detail

      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.intellij.psi.PsiElement
        Overrides:
        toString in class com.intellij.psi.impl.source.tree.LeafPsiElement