Function from_cursor_and_name
Defined in File parsing.cpp
Function Documentation
- Symbol anonymous_namespace{parsing.cpp}::from_cursor_and_name (const CXCursor &cursor, const std::string &symbolName, SymbolType symbolType)
Constructs a Symbol from a Clang cursor and a symbol name.
- Parameters:
cursor – The Clang cursor.
symbolName – The name of the symbol.
symbolType – The type of the symbol.
- Returns:
A Symbol with file path, line, column, name, and type information.