retdec
|
#include <function_node.h>
Public Member Functions | |
void | printLeft (std::ostream &s) const override |
Prints text representation of function. More... | |
std::shared_ptr< Node > | name () |
std::shared_ptr< FunctionTypeNode > | funcType () |
![]() | |
Node (Kind kind, bool has_right_side=false) | |
Abstract constructor for base node. More... | |
virtual | ~Node ()=default |
void | print (std::ostream &s) const |
Prints left side of node. More... | |
std::string | str () const |
Kind | kind () const |
virtual void | printRight (std::ostream &s) const |
Some nodes need special trailing characters. More... | |
bool | hasRight () |
Static Public Member Functions | |
static std::shared_ptr< FunctionNode > | create (std::shared_ptr< Node > name, std::shared_ptr< FunctionTypeNode > funcType) |
Creates shared pointer to function node. More... | |
Private Member Functions | |
FunctionNode (std::shared_ptr< Node > name, std::shared_ptr< FunctionTypeNode > funcType) | |
Private function node constructor. Use create(). More... | |
Private Attributes | |
std::shared_ptr< Node > | _name |
std::shared_ptr< FunctionTypeNode > | _funcType |
Additional Inherited Members | |
![]() | |
enum class | Kind { KFunction , KFunctionType , KName , KNestedName , KNodeArray , KNodeString , KTypeNode , KBuiltInType , KPointerType , KIntegralType , KCharType , KFloatType , KParentheses , KReferenceType , KRReferenceType , KNamedType , KTemplateNode , KArrayNode , KConversionOperator } |
![]() | |
Kind | _kind |
bool | _has_right |
Node for representation of functions.
|
private |
Private function node constructor. Use create().
name | Pointer to Name or NestedName node. |
funcType |
|
static |
Creates shared pointer to function node.
name | Pointer to Name or NestedName node. |
funcType |
std::shared_ptr< FunctionTypeNode > retdec::demangler::borland::FunctionNode::funcType | ( | ) |
std::shared_ptr< Node > retdec::demangler::borland::FunctionNode::name | ( | ) |
|
overridevirtual |
Prints text representation of function.
s | Output stream. |
Implements retdec::demangler::borland::Node.
|
private |
|
private |