The Psyche Project
|
The TranslationUnit class. More...
#include <Symbol_TranslationUnit.h>
Public Member Functions | |
virtual std::string | toDisplayString () const override |
const Scope * | enclosedScope () const |
virtual TranslationUnit * | asTranslationUnit () override |
virtual const TranslationUnit * | asTranslationUnit () const override |
![]() | |
SymbolKind | kind () const |
virtual Program * | asProgram () |
virtual const Program * | asProgram () const |
virtual Declaration * | asDeclaration () |
virtual const Declaration * | asDeclaration () const |
const Symbol * | containingSymbol () const |
Additional Inherited Members | |
![]() | |
Symbol (SymbolImpl *p) | |
Symbol (const Symbol &)=delete | |
Symbol & | operator= (const Symbol &)=delete |
![]() | |
std::unique_ptr< SymbolImpl > | impl_ |
The TranslationUnit class.
Microsoft.CodeAnalysis.IModuleSymbol
from Roslyn, the .NET Compiler Platform.
|
inlineoverridevirtual |
Cast this
Symbol as a TranslationUnit.
Reimplemented from psy::C::Symbol.
|
inlineoverridevirtual |
Cast this
Symbol as a TranslationUnit.
Reimplemented from psy::C::Symbol.
const Scope * TranslationUnit::enclosedScope | ( | ) | const |
The Scope that this
TranslationUnit encloses.
|
overridevirtual |
Compute a displayable string for this
TranslationUnit.
Implements psy::C::Symbol.