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)
ICoreVisitoronType in interface ICoreVisitorpublic void onMethod(<any> closure)
ICoreVisitoronMethod in interface ICoreVisitorpublic void onField(<any> closure)
ICoreVisitoronField in interface ICoreVisitorpublic void onRoutine(<any> closure)
ICoreVisitoronRoutine in interface ICoreVisitorpublic void onSourceFile(<any> closure)
ICoreVisitoronSourceFile in interface ICoreVisitorpublic void onDirectory(<any> closure)
ICoreVisitoronDirectory in interface ICoreVisitorpublic void onDirectoryFragment(<any> closure)
ICoreVisitoronDirectoryFragment in interface ICoreVisitorpublic void onRootDirectory(<any> closure)
ICoreVisitoronRootDirectory in interface ICoreVisitorpublic void onModule(<any> closure)
ICoreVisitoronModule in interface ICoreVisitorpublic void onExternalElementContainer(<any> closure)
ICoreVisitoronExternalElementContainer in interface ICoreVisitorpublic void onExternal(<any> closure)
ICoreVisitoronExternal in interface ICoreVisitorpublic void onLogicalModule(<any> closure)
ICoreVisitoronLogicalModule in interface ICoreVisitorpublic void onLogicalSystem(<any> closure)
ICoreVisitoronLogicalSystem in interface ICoreVisitorpublic void onLogicalExternal(<any> closure)
ICoreVisitoronLogicalExternal in interface ICoreVisitorpublic void onProgrammingElement(<any> closure)
ICoreVisitoronProgrammingElement in interface ICoreVisitorpublic void onGenericProgrammingElement(<any> closure)
ICoreVisitoronGenericProgrammingElement in interface ICoreVisitorpublic void onNamespaceFragment(<any> closure)
ICoreVisitoronNamespaceFragment in interface ICoreVisitorpublic void onLogicalSystemNamespace(<any> closure)
ICoreVisitoronLogicalSystemNamespace in interface ICoreVisitorpublic void onLogicalModuleNamespace(<any> closure)
ICoreVisitoronLogicalModuleNamespace in interface ICoreVisitorpublic void onLogicalSystemProgrammingElement(<any> closure)
ICoreVisitoronLogicalSystemProgrammingElement in interface ICoreVisitorpublic void onLogicalModuleProgrammingElement(<any> closure)
ICoreVisitoronLogicalModuleProgrammingElement in interface ICoreVisitorpublic 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)
ICoreVisitorcallElementClosures in interface ICoreVisitorelementAccess - the element access for which to invoke the corresponding closures.public void visitChildrenOf(NamedElement element)
public final void visitChildren(ElementAccess<? extends NamedElement> accessObject)
ICoreVisitorvisitChildren in interface ICoreVisitoraccessObject - the element access.public final void removeAllClosures()
ICoreVisitorremoveAllClosures in interface ICoreVisitor