-
Method Summary
void
void
void
void
void
onField(groovy.lang.Closure<?> closure)
Call the given closure on fields.
void
Call the given closure on logical modules.
void
Call the given closure on logical namespaces with module scope.
void
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
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
onDirectory, onDirectoryFragment, onExternal, onExternalElementContainer, onGenericProgrammingElement, onLogicalExternal, onLogicalModuleProgrammingElement, onLogicalSystem, onLogicalSystemProgrammingElement, onNamespaceFragment, onProgrammingElement, onRootDirectory, onRoutine
-
Method Details
-
onType
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpTypeAccess.class)
void onType(groovy.lang.Closure<?> closure)
Call the given closure on types.
- Specified by:
onType
in interface ICoreVisitor
-
onMethod
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpMethodAccess.class)
void onMethod(groovy.lang.Closure<?> closure)
Call the given closure on member functions.
- Specified by:
onMethod
in interface ICoreVisitor
-
onField
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpFieldAccess.class)
void onField(groovy.lang.Closure<?> closure)
Call the given closure on fields.
- Specified by:
onField
in interface ICoreVisitor
-
onCSharpProperty
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpPropertyAccess.class)
void onCSharpProperty(groovy.lang.Closure<?> closure)
-
onCSharpEvent
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpEventAccess.class)
void onCSharpEvent(groovy.lang.Closure<?> closure)
-
onCSharpEnumConstant
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpEnumConstantAccess.class)
void onCSharpEnumConstant(groovy.lang.Closure<?> closure)
-
onCSharpType
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpTypeAccess.class)
void onCSharpType(groovy.lang.Closure<?> closure)
-
onSourceFile
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpSourceFileAccess.class)
void onSourceFile(groovy.lang.Closure<?> closure)
Call the given closure for all source files.
- Specified by:
onSourceFile
in interface ICoreVisitor
-
onModule
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpModuleAccess.class)
void onModule(groovy.lang.Closure<?> closure)
Call the given closure on modules.
- Specified by:
onModule
in interface ICoreVisitor
-
onLogicalModuleNamespace
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpLogicalNamespaceAccess.class)
void onLogicalModuleNamespace(groovy.lang.Closure<?> closure)
Call the given closure on logical namespaces with module scope.
- Specified by:
onLogicalModuleNamespace
in interface ICoreVisitor
-
onLogicalSystemNamespace
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpLogicalNamespaceAccess.class)
void onLogicalSystemNamespace(groovy.lang.Closure<?> closure)
Call the given closure on logical namespaces with system scope.
- Specified by:
onLogicalSystemNamespace
in interface ICoreVisitor
-
onLogicalModule
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpLogicalModuleAccess.class)
void onLogicalModule(groovy.lang.Closure<?> closure)
Call the given closure on logical modules.
- Specified by:
onLogicalModule
in interface ICoreVisitor