MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / equationContext

Method equationContext

src/modelica/ModelicaFileImpl.cpp:699–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697}
698
699modelicaParser::EquationContext* ConnectClauseImpl::equationContext() const {
700 auto* parentCtx = ctx() ? ctx()->parent : nullptr;
701 while (parentCtx) {
702 if (auto* equationCtx = dynamic_cast<modelicaParser::EquationContext*>(parentCtx)) {
703 return equationCtx;
704 }
705 parentCtx = parentCtx->parent;
706 }
707 return nullptr;
708}
709
710//std::vector<ComponentDeclaration> ComponentClause::componentDeclarations() {
711// std::vector<ComponentDeclaration> result;

Callers 1

removeConnectClauseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected