MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / resolveAmbiguity

Method resolveAmbiguity

src/App/ObjectIdentifier.cpp:1876–1886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1874}
1875
1876void ObjectIdentifier::resolveAmbiguity()
1877{
1878 if (!owner || !owner->isAttachedToDocument() || isLocalProperty()
1879 || (documentObjectNameSet && !documentObjectName.getString().empty()
1880 && (documentObjectName.isRealString() || documentObjectName.isForceIdentifier()))) {
1881 return;
1882 }
1883
1884 ResolveResults result(*this);
1885 resolveAmbiguity(result);
1886}
1887
1888void ObjectIdentifier::resolveAmbiguity(const ResolveResults& result)
1889{

Callers 2

yyparseFunction · 0.80
canonicalPathMethod · 0.80

Calls 13

isLocalPropertyFunction · 0.85
setDocumentNameFunction · 0.85
isRealStringMethod · 0.80
isForceIdentifierMethod · 0.80
StringClass · 0.70
moveFunction · 0.50
isAttachedToDocumentMethod · 0.45
emptyMethod · 0.45
getStringMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
testMethod · 0.45

Tested by

no test coverage detected