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 LibrarySymbolasLibrary () override
 
virtual const LibrarySymbolasLibrary () const override
 
- Public Member Functions inherited from psy::C::Symbol
SymbolKind kind () const
 
virtual FunctionSymbolasFunction ()
 
virtual const FunctionSymbolasFunction () const
 
virtual ValueSymbolasValue ()
 
virtual const ValueSymbolasValue () const
 
virtual TypeSymbolasType ()
 
virtual const TypeSymbolasType () const
 
const AssemblyowningAssembly () const
 
const SymbolcontainingSymbol () const
 
const Scopescope () const
 
const NameSpacenameSpace () const
 
Location location () const
 
Accessibility declaredAccessibility () const
 
std::vector< SyntaxReferencedeclaringSyntaxReferences () const
 

Additional Inherited Members

- Protected Member Functions inherited from psy::C::Symbol
 Symbol (SymbolImpl *p)
 
 Symbol (const Symbol &)=delete
 
Symboloperator= (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: