| 537 | } |
| 538 | |
| 539 | FileContent* SLgetClassFileContent(ClassDefinition* module) { |
| 540 | if (!ModuleHasFirstFileContent(module)) return nullptr; |
| 541 | // TODO(Alain): Fix api. |
| 542 | return const_cast<FileContent*>(module->getFileContents()[0]); |
| 543 | } |
| 544 | |
| 545 | RawNodeId SLgetClassRootNode(ClassDefinition* module) { |
| 546 | if (!module || module->getNodeIds().empty()) return InvalidNodeId; |
no test coverage detected