visit Reference
fun visitReference( reference: ResolverReference, visitResources: Boolean, withReference: (ResolverReference) -> Unit): Int
Content copied to clipboard
Visit the provided ResolverReference by handing it to the provided lambda then add all its children to a stack. Then pop the next ResolverReference and iteratively visit it until the stack has been emptied.
NOTE Graph uses depth-first traversal to visit each reference.
Return
The number of entries that were processed.
Parameters
reference
The ResolverReference being visited.
with Reference
The lambda that accepts the visited ResolverReference. This ResolverReference will not be provided to the lambda.