Interface ICppVisitor
-
- All Superinterfaces:
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.ICoreVisitor
callElementClosures, onDirectory, onDirectoryFragment, onExternal, onExternalElementContainer, onGenericProgrammingElement, onLogicalExternal, onLogicalModuleProgrammingElement, onLogicalSystem, onLogicalSystemProgrammingElement, onNamespaceFragment, onProgrammingElement, onRootDirectory, onRoutine, removeAllClosures, visitChildren
-
-
-
-
Method Detail
-
onType
@ClosureParameterType(parameterType=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=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=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=CppEnumAccess.class) void onCppEnum(groovy.lang.Closure<?> closure)
-
onCppEnumConstant
@ClosureParameterType(parameterType=CppEnumConstantAccess.class) void onCppEnumConstant(groovy.lang.Closure<?> closure)
-
onCppFunction
@ClosureParameterType(parameterType=CppFunctionAccess.class) void onCppFunction(groovy.lang.Closure<?> closure)
-
onCppVariable
@ClosureParameterType(parameterType=CppVariableAccess.class) void onCppVariable(groovy.lang.Closure<?> closure)
-
onCppClass
@ClosureParameterType(parameterType=CppClassAccess.class) void onCppClass(groovy.lang.Closure<?> closure)
-
onCppStruct
@ClosureParameterType(parameterType=CppStructAccess.class) void onCppStruct(groovy.lang.Closure<?> closure)
-
onCppUnion
@ClosureParameterType(parameterType=CppUnionAccess.class) void onCppUnion(groovy.lang.Closure<?> closure)
-
onCppMacro
@ClosureParameterType(parameterType=CppMacroAccess.class) void onCppMacro(groovy.lang.Closure<?> closure)
-
onCppMacroInvocation
@ClosureParameterType(parameterType=CppMacroInvocationAccess.class) void onCppMacroInvocation(groovy.lang.Closure<?> closure)
-
onSourceFile
@ClosureParameterType(parameterType=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=CppSourceFileAccess.class) void onCppSourceFile(groovy.lang.Closure<?> closure)
-
onCppHeaderFile
@ClosureParameterType(parameterType=CppSourceFileAccess.class) void onCppHeaderFile(groovy.lang.Closure<?> closure)
-
onCppWeakRootDirectory
@ClosureParameterType(parameterType=CppWeakRootDirectoryAccess.class) void onCppWeakRootDirectory(groovy.lang.Closure<?> closure)
-
onCppRootDirectoryPath
@ClosureParameterType(parameterType=CppRootDirectoryPathAccess.class) void onCppRootDirectoryPath(groovy.lang.Closure<?> closure)
-
onCppIncludeDirectory
@ClosureParameterType(parameterType=CppIncludeDirectoryAccess.class) void onCppIncludeDirectory(groovy.lang.Closure<?> closure)
-
onCppComponent
@ClosureParameterType(parameterType=CppComponentAccess.class) void onCppComponent(groovy.lang.Closure<?> closure)
-
onCppDirectoryFragment
@ClosureParameterType(parameterType=CppDirectoryFragmentAccess.class) void onCppDirectoryFragment(groovy.lang.Closure<?> closure)
-
onCppCompilationUnitFragmentAccess
@ClosureParameterType(parameterType=CppCompilationUnitFragmentAccess.class) void onCppCompilationUnitFragmentAccess(groovy.lang.Closure<?> closure)
-
onModule
@ClosureParameterType(parameterType=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=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=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=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
-
-