Interface BnfFile

All Superinterfaces:
com.intellij.openapi.util.Iconable, com.intellij.pom.Navigatable, com.intellij.psi.NavigatablePsiElement, com.intellij.navigation.NavigationItem, com.intellij.psi.PsiCheckedRenameElement, com.intellij.psi.PsiElement, com.intellij.psi.PsiFile, com.intellij.psi.PsiFileSystemItem, com.intellij.psi.PsiNamedElement, com.intellij.openapi.util.UserDataHolder
All Known Implementing Classes:
BnfFileImpl

public interface BnfFile extends com.intellij.psi.PsiFile
  • 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 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

    Fields inherited from interface com.intellij.psi.PsiFile

    EMPTY_ARRAY
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable BnfAttr
    findAttribute(@Nullable BnfRule rule, @NotNull KnownAttribute<?> knownAttribute, @Nullable String match)
     
    <T> T
    findAttributeValue(@Nullable BnfRule rule, @NotNull KnownAttribute<T> knownAttribute, @Nullable String match)
     
    @NotNull List<BnfAttrs>
     
    @Nullable BnfRule
    getRule(@Nullable String ruleName)
     
    @NotNull List<BnfRule>
     

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

    getIcon

    Methods inherited from interface com.intellij.pom.Navigatable

    canNavigate, canNavigateToSource, navigate, navigationRequest

    Methods inherited from interface com.intellij.navigation.NavigationItem

    getPresentation

    Methods inherited from interface com.intellij.psi.PsiCheckedRenameElement

    checkSetName

    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, toString

    Methods inherited from interface com.intellij.psi.PsiFile

    clearCaches, getContainingDirectory, getFileElementType, getFileType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged

    Methods inherited from interface com.intellij.psi.PsiFileSystemItem

    getName, isDirectory, processChildren

    Methods inherited from interface com.intellij.psi.PsiNamedElement

    setName

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

    getUserData, putUserData
  • Method Details

    • getRules

      @NotNull @NotNull List<BnfRule> getRules()
    • getAttributes

      @NotNull @NotNull List<BnfAttrs> getAttributes()
    • getRule

      @Nullable @Nullable BnfRule getRule(@Nullable @Nullable String ruleName)
    • findAttribute

      @Nullable @Nullable BnfAttr findAttribute(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<?> knownAttribute, @Nullable @Nullable String match)
    • findAttributeValue

      @Nullable <T> T findAttributeValue(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<T> knownAttribute, @Nullable @Nullable String match)