Package org.intellij.grammar.psi.impl
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>
-
-
Constructor Summary
Constructors Constructor Description BnfStringLiteralEscaper(BnfStringImpl element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecode(@NotNull com.intellij.openapi.util.TextRange rangeInsideHost, @NotNull java.lang.StringBuilder outChars)intgetOffsetInHost(int offsetInDecoded, @NotNull com.intellij.openapi.util.TextRange rangeInsideHost)booleanisOneLine()
-
-
-
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:
decodein classcom.intellij.psi.LiteralTextEscaper<BnfStringImpl>
-
getOffsetInHost
public int getOffsetInHost(int offsetInDecoded, @NotNull @NotNull com.intellij.openapi.util.TextRange rangeInsideHost)- Specified by:
getOffsetInHostin classcom.intellij.psi.LiteralTextEscaper<BnfStringImpl>
-
isOneLine
public boolean isOneLine()
- Specified by:
isOneLinein classcom.intellij.psi.LiteralTextEscaper<BnfStringImpl>
-
-