MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / lookup_node

Method lookup_node

3rdparty/ccc/src/ccc/symbol_database.cpp:1194–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194const ast::Node* NodeHandle::lookup_node(const SymbolDatabase& database) const
1195{
1196 if(m_symbol.valid()) {
1197 const Symbol* symbol = m_symbol.lookup_symbol(database);
1198 if(!symbol || symbol->generation() != m_generation) {
1199 return nullptr;
1200 }
1201 }
1202 return m_node;
1203}
1204
1205NodeHandle NodeHandle::handle_for_child(const ast::Node* child_node) const
1206{

Callers 10

createEditorMethod · 0.80
setModelDataMethod · 0.80
hasChildrenMethod · 0.80
dataMethod · 0.80
fetchMoreMethod · 0.80
canFetchMoreMethod · 0.80
readFromVMMethod · 0.80
writeToVMMethod · 0.80
updateDisplayStringMethod · 0.80

Calls 3

lookup_symbolMethod · 0.80
generationMethod · 0.80
validMethod · 0.45

Tested by

no test coverage detected