Struct Symbol

Struct Documentation

struct Symbol

Represents a symbol in the dependency graph.

Public Functions

auto operator<=>(const Symbol&) const = default

Default three-way comparison operator.

Returns:

std::strong_ordering indicating how this Symbol compares to the other (less, equal, or greater).

Public Members

std::filesystem::path filePath

The path to the file where the symbol is located.

unsigned int line

The line number where the symbol is located.

unsigned int column

The column number where the symbol is located.

std::string name

The name of the symbol.

SymbolType symbolType

The type of the symbol.