Class BnfStringManipulator

java.lang.Object
com.intellij.psi.AbstractElementManipulator<BnfStringImpl>
org.intellij.grammar.psi.impl.BnfStringManipulator
All Implemented Interfaces:
com.intellij.psi.ElementManipulator<BnfStringImpl>

public class BnfStringManipulator extends com.intellij.psi.AbstractElementManipulator<BnfStringImpl>
  • Constructor Details

    • BnfStringManipulator

      public BnfStringManipulator()
  • Method Details

    • handleContentChange

      public BnfStringImpl handleContentChange(@NotNull @NotNull BnfStringImpl psi, @NotNull @NotNull com.intellij.openapi.util.TextRange range, String newContent)
    • getRangeInElement

      @NotNull public @NotNull com.intellij.openapi.util.TextRange getRangeInElement(@NotNull @NotNull BnfStringImpl element)
      Specified by:
      getRangeInElement in interface com.intellij.psi.ElementManipulator<BnfStringImpl>
      Overrides:
      getRangeInElement in class com.intellij.psi.AbstractElementManipulator<BnfStringImpl>
    • getStringTokenRange

      public static com.intellij.openapi.util.TextRange getStringTokenRange(BnfStringImpl element)