| 34 | } |
| 35 | |
| 36 | ResourceIDs |
| 37 | Statement::get_resource_ids() const |
| 38 | { |
| 39 | const Statement *stmt = this; |
| 40 | ResourceIDs ids = RSRC_NONE; |
| 41 | |
| 42 | while (stmt) { |
| 43 | ids = static_cast<ResourceIDs>(ids | stmt->_rsrc); |
| 44 | stmt = stmt->_next; |
| 45 | } |
| 46 | |
| 47 | return ids; |
| 48 | } |
| 49 | |
| 50 | bool |
| 51 | Statement::set_hook(TSHttpHookID hook) |
no outgoing calls
no test coverage detected