| 1042 | } |
| 1043 | |
| 1044 | AstNode *SymbolScanner::handleInterface(AstNode *node, top_down) |
| 1045 | { |
| 1046 | AstNode *ident = (*node)[0]; |
| 1047 | const Token &tok = ident->getToken(); |
| 1048 | const string &name = tok.getStringValue(); |
| 1049 | Log::debug("interface: %s\n", name.c_str()); |
| 1050 | |
| 1051 | Interface *iface = new Interface(tok); |
| 1052 | iface->getScope().setParent(m_globals); |
| 1053 | m_currentInterface = iface; |
| 1054 | addGlobalSymbol(iface); |
| 1055 | |
| 1056 | // Get comment if exist. |
| 1057 | addDoxygenComments(iface, node->getChild(3), node->getChild(4)); |
| 1058 | |
| 1059 | return nullptr; |
| 1060 | } |
| 1061 | |
| 1062 | AstNode *SymbolScanner::handleInterface(AstNode *node, bottom_up) |
| 1063 | { |
nothing calls this directly
no test coverage detected