The Psyche Project
|
The TypeSymbol class. More...
#include <Symbol_Type.h>
Public Member Functions | |
TypeKind | typeKind () const |
bool | isConstQualified () const |
bool | isVolatileQualified () const |
bool | isRestrictQualified () const |
virtual TypeSymbol * | asType () override |
virtual const TypeSymbol * | asType () const override |
virtual ArrayTypeSymbol * | asArrayType () |
virtual const ArrayTypeSymbol * | asArrayType () const |
virtual FunctionTypeSymbol * | asFunctionType () |
virtual const FunctionTypeSymbol * | asFunctionType () const |
virtual NamedTypeSymbol * | asNamedType () |
virtual const NamedTypeSymbol * | asNamedType () const |
virtual PointerTypeSymbol * | asPointerType () |
virtual const PointerTypeSymbol * | asPointerType () const |
Public Member Functions inherited from psy::C::Symbol | |
SymbolKind | kind () const |
virtual LibrarySymbol * | asLibrary () |
virtual const LibrarySymbol * | asLibrary () const |
virtual FunctionSymbol * | asFunction () |
virtual const FunctionSymbol * | asFunction () const |
virtual ValueSymbol * | asValue () |
virtual const ValueSymbol * | asValue () 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 |
Protected Member Functions | |
TypeSymbolImpl * | CAST () const |
TypeSymbol (TypeSymbolImpl *p) | |
Protected Member Functions inherited from psy::C::Symbol | |
Symbol (SymbolImpl *p) | |
Symbol (const Symbol &)=delete | |
Symbol & | operator= (const Symbol &)=delete |
Additional Inherited Members | |
Protected Attributes inherited from psy::C::Symbol | |
std::unique_ptr< SymbolImpl > | impl_ |
The TypeSymbol class.
Microsoft.CodeAnalysis.ITypeSymbol
from Roslyn, the .NET Compiler Platform.clang::Type
and clang::QualType
.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::ArrayTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::ArrayTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::FunctionTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::FunctionTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::NamedTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::NamedTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::PointerTypeSymbol.
|
inlinevirtual |
Cast this
TypeSymbol.
Reimplemented in psy::C::PointerTypeSymbol.
|
inlineoverridevirtual |
Cast this
Symbol as a TypeSymbol.
Reimplemented from psy::C::Symbol.
|
inlineoverridevirtual |
Cast this
Symbol as a TypeSymbol.
Reimplemented from psy::C::Symbol.
bool TypeSymbol::isConstQualified | ( | ) | const |
Whether the type is const
qualified.
bool TypeSymbol::isRestrictQualified | ( | ) | const |
Whether the type is restrict
qualified.
bool TypeSymbol::isVolatileQualified | ( | ) | const |
Whether the type is volatile
qualified.
TypeKind TypeSymbol::typeKind | ( | ) | const |
The TypeKind of this
type.