| 806 | } |
| 807 | |
| 808 | ConstInterfaceElementPtr NodeGraph::getDeclaration(const string&) const |
| 809 | { |
| 810 | ConstNodeDefPtr nodeDef = getNodeDef(); |
| 811 | if (nodeDef) |
| 812 | { |
| 813 | return nodeDef; |
| 814 | } |
| 815 | if (!hasNodeDefString()) |
| 816 | { |
| 817 | return getSelf()->asA<InterfaceElement>(); |
| 818 | } |
| 819 | return nullptr; |
| 820 | } |
| 821 | |
| 822 | // |
| 823 | // Backdrop methods |
no test coverage detected