Interface IBaseVisitor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean callElementClosures​(com.hello2morrow.sonargraph.core.api.model.ElementAccess<? extends com.hello2morrow.sonargraph.core.model.element.NamedElement> elementAccess)
      Invoke closures for the specified element access.
      void removeAllClosures()
      Removes all closures added with the on**(Closure<?> closure) methods
      void visitChildren​(com.hello2morrow.sonargraph.core.api.model.ElementAccess<? extends com.hello2morrow.sonargraph.core.model.element.NamedElement> elementAccess)
      Trigger the visit process for the children of the specified element access.
    • Method Detail

      • removeAllClosures

        void removeAllClosures()
        Removes all closures added with the on**(Closure<?> closure) methods
      • callElementClosures

        boolean callElementClosures​(com.hello2morrow.sonargraph.core.api.model.ElementAccess<? extends com.hello2morrow.sonargraph.core.model.element.NamedElement> elementAccess)
        Invoke closures for the specified element access.
        Parameters:
        elementAccess - the element access for which to invoke the corresponding closures.
        Returns:
        'true' if at least one matching closure has been executed and 'false' otherwise.
      • visitChildren

        void visitChildren​(com.hello2morrow.sonargraph.core.api.model.ElementAccess<? extends com.hello2morrow.sonargraph.core.model.element.NamedElement> elementAccess)
        Trigger the visit process for the children of the specified element access.
        Parameters:
        elementAccess - the element access.