/////////////////////////////////////////////////////////////////////////// Support for evaluating DOM references (add with `e.AddSource(domSource)`)
| 105 | //////////////////////////////////////////////////////////////////////////////// |
| 106 | // Support for evaluating DOM references (add with `e.AddSource(domSource)`) |
| 107 | bool domSource(const std::string& identifier, Variant& value) { |
| 108 | if (getDOM(identifier, Context::getContext().currentTask, value)) { |
| 109 | value.source(identifier); |
| 110 | return true; |
| 111 | } |
| 112 | |
| 113 | return false; |
| 114 | } |
| 115 | |
| 116 | //////////////////////////////////////////////////////////////////////////////// |
| 117 | Eval::Eval() { addSource(namedConstants); } |