MCPcopy Create free account
hub / github.com/KDE/kdevelop / setAst

Method setAst

kdevplatform/language/duchain/topducontext.cpp:619–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619void TopDUContext::setAst(const QExplicitlySharedDataPointer<IAstContainer>& ast)
620{
621 ENSURE_CAN_WRITE
622 m_local->m_ast = ast;
623
624 if (parsingEnvironmentFile())
625 parsingEnvironmentFile()->setFeatures(features());
626}
627
628void TopDUContext::setParsingEnvironmentFile(ParsingEnvironmentFile* file)
629{

Callers 1

runMethod · 0.80

Calls 3

parsingEnvironmentFileFunction · 0.85
featuresFunction · 0.85
setFeaturesMethod · 0.45

Tested by

no test coverage detected