Package org.intellij.grammar.psi.impl
Class BnfStringImpl
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
org.intellij.grammar.psi.impl.BnfCompositeImpl
org.intellij.grammar.psi.impl.BnfExpressionImpl
org.intellij.grammar.psi.impl.BnfStringImpl
- All Implemented Interfaces:
com.intellij.lang.ASTNode,com.intellij.model.psi.PsiExternalReferenceHost,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,com.intellij.psi.PsiLanguageInjectionHost,Serializable,Cloneable,BnfComposite,BnfExpression,BnfLiteralExpression,BnfStringLiteralExpression
- Direct Known Subclasses:
BnfStringLiteralExpressionImpl
public abstract class BnfStringImpl
extends BnfExpressionImpl
implements BnfStringLiteralExpression, com.intellij.psi.PsiLanguageInjectionHost
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlagsNested classes/interfaces inherited from interface com.intellij.psi.PsiLanguageInjectionHost
com.intellij.psi.PsiLanguageInjectionHost.InjectedPsiVisitor, com.intellij.psi.PsiLanguageInjectionHost.Shred -
Field Summary
Fields inherited from class com.intellij.psi.impl.source.tree.CompositePsiElement
ourHCFields inherited from class com.intellij.psi.impl.source.tree.CompositeElement
EMPTY_ARRAYFields inherited from class com.intellij.psi.impl.ElementBase
FLAGS_LOCKEDFields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYFields inherited from interface com.intellij.pom.Navigatable
EMPTY_NAVIGATABLE_ARRAYFields inherited from interface com.intellij.psi.NavigatablePsiElement
EMPTY_NAVIGATABLE_ELEMENT_ARRAYFields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAYFields inherited from interface com.intellij.psi.PsiElement
ARRAY_FACTORY, EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull com.intellij.psi.LiteralTextEscaper<? extends com.intellij.psi.PsiLanguageInjectionHost>static @NotNull com.intellij.psi.PsiReferencecreatePatternReference(@NotNull BnfStringImpl e) static @NotNull com.intellij.psi.PsiReferencecreateRuleReference(@NotNull BnfStringImpl e) com.intellij.psi.PsiElementcom.intellij.psi.PsiReferencecom.intellij.psi.PsiReference @NotNull []booleanstatic booleanmatchesElement(@Nullable BnfLiteralExpression e1, @NotNull com.intellij.psi.PsiElement e2) updateText(@NotNull String text) Methods inherited from class org.intellij.grammar.psi.impl.BnfExpressionImpl
accept, acceptMethods inherited from class org.intellij.grammar.psi.impl.BnfCompositeImpl
toStringMethods 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, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, processDeclarations, replaceMethods 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, textToCharArrayMethods 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, textMatchesMethods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, transformFlagsMethods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapMethods 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, weakCompareAndSetVolatileMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.intellij.lang.ASTNode
getCopyableUserData, putCopyableUserDataMethods inherited from interface org.intellij.grammar.psi.BnfComposite
acceptMethods inherited from interface org.intellij.grammar.psi.BnfStringLiteralExpression
getStringMethods inherited from interface com.intellij.openapi.util.Iconable
getIconMethods inherited from interface com.intellij.pom.Navigatable
navigationRequestMethods 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, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringMethods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
-
Constructor Details
-
BnfStringImpl
public BnfStringImpl(com.intellij.psi.tree.IElementType type)
-
-
Method Details
-
createPatternReference
@NotNull public static @NotNull com.intellij.psi.PsiReference createPatternReference(@NotNull @NotNull BnfStringImpl e) -
createRuleReference
@NotNull public static @NotNull com.intellij.psi.PsiReference createRuleReference(@NotNull @NotNull BnfStringImpl e) -
getNumber
public com.intellij.psi.PsiElement getNumber()- Specified by:
getNumberin interfaceBnfLiteralExpression
-
getReferences
public com.intellij.psi.PsiReference @NotNull [] getReferences()- Specified by:
getReferencesin interfacecom.intellij.psi.PsiElement- Overrides:
getReferencesin classcom.intellij.psi.impl.source.tree.CompositePsiElement
-
getReference
public com.intellij.psi.PsiReference getReference()- Specified by:
getReferencein interfacecom.intellij.psi.PsiElement- Overrides:
getReferencein classcom.intellij.psi.impl.source.tree.CompositePsiElement
-
isValidHost
public boolean isValidHost()- Specified by:
isValidHostin interfacecom.intellij.psi.PsiLanguageInjectionHost
-
updateText
- Specified by:
updateTextin interfacecom.intellij.psi.PsiLanguageInjectionHost
-
createLiteralTextEscaper
@NotNull public @NotNull com.intellij.psi.LiteralTextEscaper<? extends com.intellij.psi.PsiLanguageInjectionHost> createLiteralTextEscaper()- Specified by:
createLiteralTextEscaperin interfacecom.intellij.psi.PsiLanguageInjectionHost
-
matchesElement
public static boolean matchesElement(@Nullable @Nullable BnfLiteralExpression e1, @NotNull @NotNull com.intellij.psi.PsiElement e2)
-