Class BnfStringManipulator

  • All Implemented Interfaces:
    com.intellij.psi.ElementManipulator<BnfStringImpl>

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

      • BnfStringManipulator

        public BnfStringManipulator()
    • Method Detail

      • handleContentChange

        public BnfStringImpl handleContentChange​(@NotNull
                                                 @NotNull BnfStringImpl psi,
                                                 @NotNull
                                                 @NotNull com.intellij.openapi.util.TextRange range,
                                                 java.lang.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)