|
The Psyche Project
|
The FunctionSymbol class. More...
#include <Declaration_Function.h>
Classes | |
| struct | FunctionSymbolImpl |
Public Member Functions | |
| virtual const Identifier * | identifier () const override |
| const Identifier * | name () const |
| const Type * | type () const |
| const Type * | returnType () const |
| virtual std::string | toDisplayString () const override |
| virtual Function * | asFunction () override |
| virtual const Function * | asFunction () const override |
Public Member Functions inherited from psy::C::Declaration | |
| DeclarationKind | kind () const |
| const Scope * | enclosingScope () const |
| const NameSpace | nameSpace () const |
| std::vector< SyntaxReference > | declaringSyntaxReferences () const |
| Location | location () const |
| virtual Declaration * | asDeclaration () override |
| virtual const Declaration * | asDeclaration () const override |
| virtual ObjectDeclaration * | asObjectDeclaration () |
| virtual const ObjectDeclaration * | asObjectDeclaration () const |
| virtual TypeDeclaration * | asTypeDeclaration () |
| virtual const TypeDeclaration * | asTypeDeclaration () const |
Public Member Functions inherited from psy::C::Symbol | |
| SymbolKind | kind () const |
| virtual Program * | asProgram () |
| virtual const Program * | asProgram () const |
| virtual TranslationUnit * | asTranslationUnit () |
| virtual const TranslationUnit * | asTranslationUnit () const |
| const Symbol * | containingSymbol () const |
Protected Member Functions | |
| FunctionSymbolImpl * | CAST () const |
Protected Member Functions inherited from psy::C::Declaration | |
| Declaration (SymbolImpl *p, DeclarationKind declK) | |
| Declaration (const Declaration &)=delete | |
| Declaration & | operator= (const Declaration &)=delete |
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 FunctionSymbol class.
Microsoft.CodeAnalysis.IMethodSymbol from Roslyn, the .NET Compiler Platform.
|
inlineoverridevirtual |
Cast this Symbol as a FunctionSymbol.
Reimplemented from psy::C::Declaration.
|
inlineoverridevirtual |
Cast this Symbol as a FunctionSymbol.
Reimplemented from psy::C::Declaration.
|
inlineoverridevirtual |
The Identifier with which this Declaration is declared.
Implements psy::C::Declaration.
| const Identifier * Function::name | ( | ) | const |
The Identifier that names this FunctionSymbol.
| const Type* psy::C::Function::returnType | ( | ) | const |
The Type of the return of this FunctionSymbol.
|
overridevirtual |
Compute a displayable string for this Symbol.
Implements psy::C::Symbol.
| const Type * Function::type | ( | ) | const |
The Type of this FunctionSymbol.
1.8.18