Interface ICSharpVisitor
-
- All Superinterfaces:
ICoreVisitor
public interface ICSharpVisitor extends ICoreVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCSharpClass(groovy.lang.Closure<?> closure)
void
onCSharpDelegate(groovy.lang.Closure<?> closure)
void
onCSharpEnum(groovy.lang.Closure<?> closure)
void
onCSharpEnumConstant(groovy.lang.Closure<?> closure)
void
onCSharpEvent(groovy.lang.Closure<?> closure)
void
onCSharpInterface(groovy.lang.Closure<?> closure)
void
onCSharpProperty(groovy.lang.Closure<?> closure)
void
onCSharpStruct(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=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=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=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=CSharpPropertyAccess.class) void onCSharpProperty(groovy.lang.Closure<?> closure)
-
onCSharpEvent
@ClosureParameterType(parameterType=CSharpEventAccess.class) void onCSharpEvent(groovy.lang.Closure<?> closure)
-
onCSharpEnumConstant
@ClosureParameterType(parameterType=CSharpEnumConstantAccess.class) void onCSharpEnumConstant(groovy.lang.Closure<?> closure)
-
onCSharpEnum
@ClosureParameterType(parameterType=CSharpEnumAccess.class) void onCSharpEnum(groovy.lang.Closure<?> closure)
-
onCSharpClass
@ClosureParameterType(parameterType=CSharpClassAccess.class) void onCSharpClass(groovy.lang.Closure<?> closure)
-
onCSharpStruct
@ClosureParameterType(parameterType=CSharpStructAccess.class) void onCSharpStruct(groovy.lang.Closure<?> closure)
-
onCSharpInterface
@ClosureParameterType(parameterType=CSharpInterfaceAccess.class) void onCSharpInterface(groovy.lang.Closure<?> closure)
-
onCSharpDelegate
@ClosureParameterType(parameterType=CSharpDelegateAccess.class) void onCSharpDelegate(groovy.lang.Closure<?> closure)
-
onSourceFile
@ClosureParameterType(parameterType=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=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=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=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=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
-
-