Class BnfStringLiteralEscaper


  • public class BnfStringLiteralEscaper
    extends com.intellij.psi.LiteralTextEscaper<BnfStringImpl>
    • Field Summary

      • Fields inherited from class com.intellij.psi.LiteralTextEscaper

        myHost
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean decode​(@NotNull com.intellij.openapi.util.TextRange rangeInsideHost, @NotNull java.lang.StringBuilder outChars)  
      int getOffsetInHost​(int offsetInDecoded, @NotNull com.intellij.openapi.util.TextRange rangeInsideHost)  
      boolean isOneLine()  
      • Methods inherited from class com.intellij.psi.LiteralTextEscaper

        createSimple, getRelevantTextRange
      • Methods inherited from class java.lang.Object

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

      • BnfStringLiteralEscaper

        public BnfStringLiteralEscaper​(BnfStringImpl element)
    • Method Detail

      • decode

        public boolean decode​(@NotNull
                              @NotNull com.intellij.openapi.util.TextRange rangeInsideHost,
                              @NotNull
                              @NotNull java.lang.StringBuilder outChars)
        Specified by:
        decode in class com.intellij.psi.LiteralTextEscaper<BnfStringImpl>
      • getOffsetInHost

        public int getOffsetInHost​(int offsetInDecoded,
                                   @NotNull
                                   @NotNull com.intellij.openapi.util.TextRange rangeInsideHost)
        Specified by:
        getOffsetInHost in class com.intellij.psi.LiteralTextEscaper<BnfStringImpl>
      • isOneLine

        public boolean isOneLine()
        Specified by:
        isOneLine in class com.intellij.psi.LiteralTextEscaper<BnfStringImpl>