Package org.intellij.grammar.psi
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
-
-
Method Summary
All Methods Instance Methods Abstract 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()@Nullable BnfRulegetRule(@Nullable java.lang.String ruleName)@NotNull java.util.List<BnfRule>getRules()-
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, toString
-
Methods inherited from interface com.intellij.psi.PsiFile
clearCaches, getContainingDirectory, getFileElementType, getFileType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged
-
-
-
-
Method Detail
-
getRules
@NotNull @NotNull java.util.List<BnfRule> getRules()
-
getAttributes
@NotNull @NotNull java.util.List<BnfAttrs> getAttributes()
-
getRule
@Nullable @Nullable BnfRule getRule(@Nullable @Nullable java.lang.String ruleName)
-
findAttribute
@Nullable @Nullable BnfAttr findAttribute(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<?> knownAttribute, @Nullable @Nullable java.lang.String match)
-
findAttributeValue
@Nullable <T> T findAttributeValue(@Nullable @Nullable BnfRule rule, @NotNull @NotNull KnownAttribute<T> knownAttribute, @Nullable @Nullable java.lang.String match)
-
-