retdec
|
Node for representation of names. More...
#include <name_node.h>
Public Member Functions | |
void | printLeft (std::ostream &s) const override |
Prints string represention of node. More... | |
![]() | |
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< NameNode > | create (Context &context, const std::string &name) |
Private Member Functions | |
NameNode (const std::string &name) | |
Constructor for NameNode. More... | |
Private Attributes | |
std::string | _name |
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 names.
|
explicitprivate |
Constructor for NameNode.
name | std::string representation of name. |
|
static |
context | |
name | std::string representation of name. |
|
overridevirtual |
Prints string represention of node.
s | output stream |
Implements retdec::demangler::borland::Node.
|
private |