Class BnfBraceMatcher

  • All Implemented Interfaces:
    com.intellij.lang.PairedBraceMatcher

    public class BnfBraceMatcher
    extends java.lang.Object
    implements com.intellij.lang.PairedBraceMatcher
    • Constructor Summary

      Constructors 
      Constructor Description
      BnfBraceMatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCodeConstructStart​(com.intellij.psi.PsiFile file, int openingBraceOffset)  
      com.intellij.lang.BracePair @NotNull [] getPairs()  
      boolean isPairedBracesAllowedBeforeType​(@NotNull com.intellij.psi.tree.IElementType lbraceType, @Nullable com.intellij.psi.tree.IElementType t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BnfBraceMatcher

        public BnfBraceMatcher()
    • Method Detail

      • getPairs

        public com.intellij.lang.BracePair @NotNull [] getPairs()
        Specified by:
        getPairs in interface com.intellij.lang.PairedBraceMatcher
      • isPairedBracesAllowedBeforeType

        public boolean isPairedBracesAllowedBeforeType​(@NotNull
                                                       @NotNull com.intellij.psi.tree.IElementType lbraceType,
                                                       @Nullable
                                                       @Nullable com.intellij.psi.tree.IElementType t)
        Specified by:
        isPairedBracesAllowedBeforeType in interface com.intellij.lang.PairedBraceMatcher
      • getCodeConstructStart

        public int getCodeConstructStart​(com.intellij.psi.PsiFile file,
                                         int openingBraceOffset)
        Specified by:
        getCodeConstructStart in interface com.intellij.lang.PairedBraceMatcher