public class CoreVisitor extends NamedElementVisitor implements ICoreVisitor
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> accessObject)
Trigger the visit process for the children of the specified element access.
|
void |
visitChildrenOf(NamedElement element) |
void |
visitExternal(External element)
Internal - do not call
|
void |
visitExternalLogicalNamespaceRoot(ExternalLogicalNamespaceRoot element)
Internal - do not call
|
void |
visitInternalLogicalNamespaceRoot(InternalLogicalNamespaceRoot element)
Internal - do not call
|
void |
visitModule(Module element)
Internal - do not call
|
void |
visitModuleBasedLogicalNamespaceRoot(ModuleBasedLogicalNamespaceRoot element)
Internal - do not call
|
void |
visitModuleSettings(ModuleSettings element)
Internal - do not call
|
void |
visitNamedElement(NamedElement element)
Internal - do not call
|
void |
visitSystemSettings(SystemSettings element)
Internal - do not call
|
public void onType(<any> closure)
ICoreVisitor
onType
in interface ICoreVisitor
public void onMethod(<any> closure)
ICoreVisitor
onMethod
in interface ICoreVisitor
public void onField(<any> closure)
ICoreVisitor
onField
in interface ICoreVisitor
public void onRoutine(<any> closure)
ICoreVisitor
onRoutine
in interface ICoreVisitor
public void onSourceFile(<any> closure)
ICoreVisitor
onSourceFile
in interface ICoreVisitor
public void onDirectory(<any> closure)
ICoreVisitor
onDirectory
in interface ICoreVisitor
public void onDirectoryFragment(<any> closure)
ICoreVisitor
onDirectoryFragment
in interface ICoreVisitor
public void onRootDirectory(<any> closure)
ICoreVisitor
onRootDirectory
in interface ICoreVisitor
public void onModule(<any> closure)
ICoreVisitor
onModule
in interface ICoreVisitor
public void onExternalElementContainer(<any> closure)
ICoreVisitor
onExternalElementContainer
in interface ICoreVisitor
public void onExternal(<any> closure)
ICoreVisitor
onExternal
in interface ICoreVisitor
public void onLogicalModule(<any> closure)
ICoreVisitor
onLogicalModule
in interface ICoreVisitor
public void onLogicalSystem(<any> closure)
ICoreVisitor
onLogicalSystem
in interface ICoreVisitor
public void onLogicalExternal(<any> closure)
ICoreVisitor
onLogicalExternal
in interface ICoreVisitor
public void onProgrammingElement(<any> closure)
ICoreVisitor
onProgrammingElement
in interface ICoreVisitor
public void onGenericProgrammingElement(<any> closure)
ICoreVisitor
onGenericProgrammingElement
in interface ICoreVisitor
public void onNamespaceFragment(<any> closure)
ICoreVisitor
onNamespaceFragment
in interface ICoreVisitor
public void onLogicalSystemNamespace(<any> closure)
ICoreVisitor
onLogicalSystemNamespace
in interface ICoreVisitor
public void onLogicalModuleNamespace(<any> closure)
ICoreVisitor
onLogicalModuleNamespace
in interface ICoreVisitor
public void onLogicalSystemProgrammingElement(<any> closure)
ICoreVisitor
onLogicalSystemProgrammingElement
in interface ICoreVisitor
public void onLogicalModuleProgrammingElement(<any> closure)
ICoreVisitor
onLogicalModuleProgrammingElement
in interface ICoreVisitor
public final void visitExternal(External element)
public final void visitModule(Module element)
public final void visitModuleBasedLogicalNamespaceRoot(ModuleBasedLogicalNamespaceRoot element)
public final void visitInternalLogicalNamespaceRoot(InternalLogicalNamespaceRoot element)
public final void visitExternalLogicalNamespaceRoot(ExternalLogicalNamespaceRoot element)
public final void visitSystemSettings(SystemSettings element)
public final void visitModuleSettings(ModuleSettings element)
public final void visitNamedElement(NamedElement element)
public final boolean callElementClosures(ElementAccess<? extends NamedElement> elementAccess)
ICoreVisitor
callElementClosures
in interface ICoreVisitor
elementAccess
- the element access for which to invoke the corresponding closures.public void visitChildrenOf(NamedElement element)
public final void visitChildren(ElementAccess<? extends NamedElement> accessObject)
ICoreVisitor
visitChildren
in interface ICoreVisitor
accessObject
- the element access.public final void removeAllClosures()
ICoreVisitor
removeAllClosures
in interface ICoreVisitor