| 28 | } |
| 29 | |
| 30 | Node* 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 | |
| 39 | void ImportModule::setImport(const QString& imp) |
| 40 | { |
nothing calls this directly
no test coverage detected