Class BnfStringLiteralEscaper

java.lang.Object
com.intellij.psi.LiteralTextEscaper<BnfStringImpl>
org.intellij.grammar.psi.impl.BnfStringLiteralEscaper

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

    Fields inherited from class com.intellij.psi.LiteralTextEscaper

    myHost
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    decode(@NotNull com.intellij.openapi.util.TextRange rangeInsideHost, @NotNull StringBuilder outChars)
     
    int
    getOffsetInHost(int offsetInDecoded, @NotNull com.intellij.openapi.util.TextRange rangeInsideHost)
     
    boolean
     

    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 Details

    • BnfStringLiteralEscaper

      public BnfStringLiteralEscaper(BnfStringImpl element)
  • Method Details

    • decode

      public boolean decode(@NotNull @NotNull com.intellij.openapi.util.TextRange rangeInsideHost, @NotNull @NotNull 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>