Interface IErrorReporter

    • Method Detail

      • reportError

        String reportError()
      • additionalRule

        void additionalRule​(@NotNull
                            SNodeReference rulePointer)
        Parameters:
        rulePointer - pointer to a rule that adds extra meaning to reported error
        Since:
        2017.2
      • addIntentionProvider

        void addIntentionProvider​(QuickFixProvider intentionProvider)
      • getSNode

        @NotNull
        SNode getSNode()
        There's no guarantee this method returns a valid node if used in a model read different from the one this reporter originates from. IOW, you are safe to access this node provided you're in the same read. If you need to pass node value to another read, please use SNodeReference instead.