The Symbol class.
More...
#include <Symbol.h>
|
| Symbol (SymbolImpl *p) |
|
| Symbol (const Symbol &)=delete |
|
Symbol & | operator= (const Symbol &)=delete |
|
|
std::unique_ptr< SymbolImpl > | impl_ |
|
The Symbol class.
- Note
- This API is inspired by that of
Microsoft.CodeAnalysis.ISymbol
from Roslyn, the .NET Compiler Platform.
◆ containingSymbol()
const Symbol * Symbol::containingSymbol |
( |
| ) |
const |
◆ kind()
SymbolKind Symbol::kind |
( |
| ) |
const |
The SymbolKind of this
Symbol.
◆ toDisplayString()
virtual std::string psy::C::Symbol::toDisplayString |
( |
| ) |
const |
|
pure virtual |
Compute a displayable string for this
Symbol.
Implemented in psy::C::Function, psy::C::Program, psy::C::TranslationUnit, psy::C::Field, psy::C::Parameter, psy::C::Variable, psy::C::Typedef, psy::C::Enumerator, psy::C::Enum, psy::C::Struct, and psy::C::Union.
The documentation for this class was generated from the following files:
- C/symbols/Symbol.h
- C/symbols/Symbol.cpp
- C/symbols/Symbol_Declaration.cpp