The Psyche Project
List of all members
psy::C::LibrarySymbol Class Referencefinal

The LibrarySymbol class. More...

#include <Symbol_Library.h>

Inheritance diagram for psy::C::LibrarySymbol:
psy::C::Symbol

Public Member Functions

virtual LibrarySymbol * asLibrary () override
 
virtual const LibrarySymbol * asLibrary () const override
 
- Public Member Functions inherited from psy::C::Symbol
SymbolKind kind () const
 
virtual FunctionSymbol * asFunction ()
 
virtual const FunctionSymbol * asFunction () const
 
virtual ValueSymbol * asValue ()
 
virtual const ValueSymbol * asValue () const
 
virtual TypeSymbol * asType ()
 
virtual const TypeSymbol * asType () const
 
const Assembly * owningAssembly () const
 
const Symbol * containingSymbol () const
 
const Scope * scope () const
 
const NameSpace * nameSpace () const
 
Location location () const
 
Accessibility declaredAccessibility () const
 
std::vector< SyntaxReference > declaringSyntaxReferences () const
 

Additional Inherited Members

- Protected Member Functions inherited from psy::C::Symbol
 Symbol (SymbolImpl *p)
 
 Symbol (const Symbol &)=delete
 
Symbol & operator= (const Symbol &)=delete
 
- Protected Attributes inherited from psy::C::Symbol
std::unique_ptr< SymbolImpl > impl_
 

Detailed Description

The LibrarySymbol class.

A symbol that denotes a library of objects and function from a source file.

Attention
This symbol does not denote a translation unit.
Remarks
5.1.1.2-1 (8)
Note
This API is inspired by that of Microsoft.CodeAnalysis.IModuleSymbol from Roslyn, the .NET Compiler Platform.

Member Function Documentation

◆ asLibrary() [1/2]

virtual const LibrarySymbol* psy::C::LibrarySymbol::asLibrary ( ) const
inlineoverridevirtual

Cast this Symbol as a LibrarySymbol.

Reimplemented from psy::C::Symbol.

◆ asLibrary() [2/2]

virtual LibrarySymbol* psy::C::LibrarySymbol::asLibrary ( )
inlineoverridevirtual

Cast this Symbol as a LibrarySymbol.

Reimplemented from psy::C::Symbol.


The documentation for this class was generated from the following files: