Function from_cursor

Function Documentation

Symbol anonymous_namespace{parsing.cpp}::from_cursor (const CXCursor &cursor, SymbolType symbolType)

Constructs a Symbol from a Clang cursor.

Parameters:
  • cursor – The Clang cursor.

  • symbolType – The type of the symbol.

Returns:

A Symbol populated with relevant cursor-based data.