Interface ICSharpVisitor
-
- All Superinterfaces:
IBaseVisitor
,ICoreVisitor
public interface ICSharpVisitor extends ICoreVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCSharpEnumConstant(groovy.lang.Closure<?> closure)
void
onCSharpEvent(groovy.lang.Closure<?> closure)
void
onCSharpProperty(groovy.lang.Closure<?> closure)
void
onCSharpType(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.csharp.api.model.CSharpTypeAccess.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.csharp.api.model.CSharpMethodAccess.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.csharp.api.model.CSharpFieldAccess.class) void onField(groovy.lang.Closure<?> closure)
Description copied from interface:ICoreVisitor
Call the given closure on fields.- Specified by:
onField
in interfaceICoreVisitor
-
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)
Description copied from interface:ICoreVisitor
Call the given closure for all source files.- Specified by:
onSourceFile
in interfaceICoreVisitor
-
onModule
@ClosureParameterType(parameterType=com.hello2morrow.sonargraph.languageprovider.csharp.api.model.CSharpModuleAccess.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.csharp.api.model.CSharpLogicalNamespaceAccess.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.csharp.api.model.CSharpLogicalNamespaceAccess.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.csharp.api.model.CSharpLogicalModuleAccess.class) void onLogicalModule(groovy.lang.Closure<?> closure)
Description copied from interface:ICoreVisitor
Call the given closure on logical modules.- Specified by:
onLogicalModule
in interfaceICoreVisitor
-
-