MCPcopy Create free account
hub / github.com/cseagle/blc / findDistinguishingScope

Method findDistinguishingScope

database.cc:1481–1504  ·  view source on GitHub ↗

Any two scopes share at least the \e global scope as a common ancestor. We find the first scope that is \e not in common. The scope returned will always be an ancestor of \b this. If \b this is an ancestor of the other given scope, then null is returned. \param op2 is the other given Scope \return the first ancestor Scope that is not in common or null

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getResolutionDepthMethod · 0.80

Calls 2

getScopePathMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected