Interface ICppVisitor

    • Method Detail

      • onType

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppTypeAccess.class)
        void onType​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on types.
        Specified by:
        onType in interface ICoreVisitor
      • onMethod

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppMethodAccess.class)
        void onMethod​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on member functions.
        Specified by:
        onMethod in interface ICoreVisitor
      • onField

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppFieldAccess.class)
        void onField​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on fields.
        Specified by:
        onField in interface ICoreVisitor
      • onCppEnum

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppEnumAccess.class)
        void onCppEnum​(groovy.lang.Closure<?> closure)
      • onCppEnumConstant

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppEnumConstantAccess.class)
        void onCppEnumConstant​(groovy.lang.Closure<?> closure)
      • onCppFunction

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppFunctionAccess.class)
        void onCppFunction​(groovy.lang.Closure<?> closure)
      • onCppVariable

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppVariableAccess.class)
        void onCppVariable​(groovy.lang.Closure<?> closure)
      • onCppClass

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppClassAccess.class)
        void onCppClass​(groovy.lang.Closure<?> closure)
      • onCppStruct

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppStructAccess.class)
        void onCppStruct​(groovy.lang.Closure<?> closure)
      • onCppUnion

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppUnionAccess.class)
        void onCppUnion​(groovy.lang.Closure<?> closure)
      • onCppMacro

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppMacroAccess.class)
        void onCppMacro​(groovy.lang.Closure<?> closure)
      • onCppMacroInvocation

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppMacroInvocationAccess.class)
        void onCppMacroInvocation​(groovy.lang.Closure<?> closure)
      • onSourceFile

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppSourceFileAccess.class)
        void onSourceFile​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure for all source files.
        Specified by:
        onSourceFile in interface ICoreVisitor
      • onCppSourceFile

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppSourceFileAccess.class)
        void onCppSourceFile​(groovy.lang.Closure<?> closure)
      • onCppHeaderFile

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppSourceFileAccess.class)
        void onCppHeaderFile​(groovy.lang.Closure<?> closure)
      • onCppWeakRootDirectory

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppWeakRootDirectoryAccess.class)
        void onCppWeakRootDirectory​(groovy.lang.Closure<?> closure)
      • onCppRootDirectoryPath

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppRootDirectoryPathAccess.class)
        void onCppRootDirectoryPath​(groovy.lang.Closure<?> closure)
      • onCppIncludeDirectory

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppIncludeDirectoryAccess.class)
        void onCppIncludeDirectory​(groovy.lang.Closure<?> closure)
      • onCppComponent

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppComponentAccess.class)
        void onCppComponent​(groovy.lang.Closure<?> closure)
      • onCppDirectoryFragment

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppDirectoryFragmentAccess.class)
        void onCppDirectoryFragment​(groovy.lang.Closure<?> closure)
      • onCppCompilationUnitFragmentAccess

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppCompilationUnitFragmentAccess.class)
        void onCppCompilationUnitFragmentAccess​(groovy.lang.Closure<?> closure)
      • onModule

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppModuleAccess.class)
        void onModule​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on modules.
        Specified by:
        onModule in interface ICoreVisitor
      • onLogicalModuleNamespace

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppLogicalNamespaceAccess.class)
        void onLogicalModuleNamespace​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on logical namespaces with module scope.
        Specified by:
        onLogicalModuleNamespace in interface ICoreVisitor
      • onLogicalSystemNamespace

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppLogicalNamespaceAccess.class)
        void onLogicalSystemNamespace​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on logical namespaces with system scope.
        Specified by:
        onLogicalSystemNamespace in interface ICoreVisitor
      • onLogicalModule

        @ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.cplusplus.api.model.CppLogicalModuleAccess.class)
        void onLogicalModule​(groovy.lang.Closure<?> closure)
        Description copied from interface: ICoreVisitor
        Call the given closure on logical modules.
        Specified by:
        onLogicalModule in interface ICoreVisitor