Represents an identifier

Synopsis

Declared in <mrdocs/Metadata/Name/IdentifierName.hpp>

struct IdentifierName final
    : Name

Base Classes

Name

Description

Name

Represents a name for a named Type

Member Functions

Name

Description

IdentifierName [constructor]

Default constructor

asName

operator==

Equality operator

operator<=>

Three‐way comparison operators

Data Members

Name

Description

Identifier

The unqualified name.

Kind

The kind of name this is.

Prefix

The parent name info, if any.

id

The SymbolID of the named symbol, if it exists.

Description

This class is used to represent an identifier that could be in the corpus or not.

When the symbol is in the corpus, the id field will be set to the symbol ID of the symbol.

When the symbol is not in the corpus, the id field will be set to SymbolID::invalid.

Created with MrDocs