public interface ICoreVisitor
coreAccess.createVisitor()
Modifier and Type | Method and Description |
---|---|
boolean |
callElementClosures(ElementAccess<? extends NamedElement> elementAccess)
Invoke closures for the specified element access.
|
void |
onDirectory(<any> closure)
Call the given closure on directories.
|
void |
onDirectoryFragment(<any> closure)
Call the given closure on directory fragments.
|
void |
onExternal(<any> closure)
Call the given closure on external root nodes.
|
void |
onExternalElementContainer(<any> closure)
Call the given closure on external element containers.
|
void |
onField(<any> closure)
Call the given closure on fields.
|
void |
onGenericProgrammingElement(<any> closure)
Call the given closure on any generic programming element.
|
void |
onLogicalExternal(<any> closure)
Call the given closure on the logical external root nodes.
|
void |
onLogicalModule(<any> closure)
Call the given closure on logical modules.
|
void |
onLogicalModuleNamespace(<any> closure)
Call the given closure on logical namespaces with module scope.
|
void |
onLogicalModuleProgrammingElement(<any> closure)
Call the given closure on logical programming elements with module scope.
|
void |
onLogicalSystem(<any> closure)
Call the given closure on the logical system root.
|
void |
onLogicalSystemNamespace(<any> closure)
Call the given closure on logical namespaces with system scope.
|
void |
onLogicalSystemProgrammingElement(<any> closure)
Call the given closure on logical programming elements with system scope.
|
void |
onMethod(<any> closure)
Call the given closure on member functions.
|
void |
onModule(<any> closure)
Call the given closure on modules.
|
void |
onNamespaceFragment(<any> closure)
Call the given closure on namespace fragment.
|
void |
onProgrammingElement(<any> closure)
Call the given closure on any programming element.
|
void |
onRootDirectory(<any> closure)
Call the given closure on root directories.
|
void |
onRoutine(<any> closure)
Call the given closure on routines (functions and member functions).
|
void |
onSourceFile(<any> closure)
Call the given closure for all source files.
|
void |
onType(<any> closure)
Call the given closure on types.
|
void |
removeAllClosures()
Removes all closures added with the on**(Closure<?> closure) methods
|
void |
visitChildren(ElementAccess<? extends NamedElement> elementAccess)
Trigger the visit process for the children of the specified element access.
|
void onField(<any> closure)
void onMethod(<any> closure)
void onRoutine(<any> closure)
void onType(<any> closure)
void onProgrammingElement(<any> closure)
void onGenericProgrammingElement(<any> closure)
void onSourceFile(<any> closure)
void onDirectory(<any> closure)
void onDirectoryFragment(<any> closure)
void onRootDirectory(<any> closure)
void onModule(<any> closure)
void onExternal(<any> closure)
void onExternalElementContainer(<any> closure)
void onNamespaceFragment(<any> closure)
void onLogicalModuleNamespace(<any> closure)
void onLogicalSystemNamespace(<any> closure)
void onLogicalSystemProgrammingElement(<any> closure)
void onLogicalModuleProgrammingElement(<any> closure)
void onLogicalModule(<any> closure)
void onLogicalSystem(<any> closure)
void onLogicalExternal(<any> closure)
boolean callElementClosures(ElementAccess<? extends NamedElement> elementAccess)
elementAccess
- the element access for which to invoke the corresponding closures.void visitChildren(ElementAccess<? extends NamedElement> elementAccess)
elementAccess
- the element access.void removeAllClosures()