Interface ICppVisitor
-
- All Superinterfaces:
IBaseVisitor
,ICoreVisitor
public interface ICppVisitor extends ICoreVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCppClass(groovy.lang.Closure<?> closure)
void
onCppCompilationUnitFragmentAccess(groovy.lang.Closure<?> closure)
void
onCppComponent(groovy.lang.Closure<?> closure)
void
onCppDirectoryFragment(groovy.lang.Closure<?> closure)
void
onCppEnum(groovy.lang.Closure<?> closure)
void
onCppEnumConstant(groovy.lang.Closure<?> closure)
void
onCppFunction(groovy.lang.Closure<?> closure)
void
onCppHeaderFile(groovy.lang.Closure<?> closure)
void
onCppIncludeDirectory(groovy.lang.Closure<?> closure)
void
onCppMacro(groovy.lang.Closure<?> closure)
void
onCppMacroInvocation(groovy.lang.Closure<?> closure)
void
onCppRootDirectoryPath(groovy.lang.Closure<?> closure)
void
onCppSourceFile(groovy.lang.Closure<?> closure)
void
onCppStruct(groovy.lang.Closure<?> closure)
void
onCppUnion(groovy.lang.Closure<?> closure)
void
onCppVariable(groovy.lang.Closure<?> closure)
void
onCppWeakRootDirectory(groovy.lang.Closure<?> closure)
void
onField(groovy.lang.Closure<?> closure)
Call the given closure on fields.void
onLogicalModule(groovy.lang.Closure<?> closure)
Call the given closure on logical modules.void
onLogicalModuleNamespace(groovy.lang.Closure<?> closure)
Call the given closure on logical namespaces with module scope.void
onLogicalSystemNamespace(groovy.lang.Closure<?> closure)
Call the given closure on logical namespaces with system scope.void
onMethod(groovy.lang.Closure<?> closure)
Call the given closure on member functions.void
onModule(groovy.lang.Closure<?> closure)
Call the given closure on modules.void
onSourceFile(groovy.lang.Closure<?> closure)
Call the given closure for all source files.void
onType(groovy.lang.Closure<?> closure)
Call the given closure on types.-
Methods inherited from interface com.hello2morrow.sonargraph.core.api.controller.IBaseVisitor
callElementClosures, removeAllClosures, visitChildren
-
Methods inherited from interface com.hello2morrow.sonargraph.core.api.controller.ICoreVisitor
onDirectory, onDirectoryFragment, onExternal, onExternalElementContainer, onGenericProgrammingElement, onLogicalExternal, onLogicalModuleProgrammingElement, onLogicalSystem, onLogicalSystemProgrammingElement, onNamespaceFragment, onProgrammingElement, onRootDirectory, onRoutine
-
-
-
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
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 interfaceICoreVisitor
-
-