MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / evaluate

Method evaluate

src/module/importmodule.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30Node* ImportModule::evaluate(const Context& ctx) const
31{
32 auto* fileVal = dynamic_cast<TextValue*>(getParameterArgument(ctx,0));
33 if(fileVal)
34 return new ImportNode(fileVal->getValueString());
35
36 return new ImportNode(import);
37}
38
39void ImportModule::setImport(const QString& imp)
40{

Callers

nothing calls this directly

Calls 1

getValueStringMethod · 0.45

Tested by

no test coverage detected