retdec
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
retdec::demangler::borland::NodeString Class Reference

Node for representation of sequence of Nodes. More...

#include <node_array.h>

Inheritance diagram for retdec::demangler::borland::NodeString:
Inheritance graph
[legend]
Collaboration diagram for retdec::demangler::borland::NodeString:
Collaboration graph
[legend]

Public Member Functions

void printLeft (std::ostream &s) const override
 Prints text representaion of array. More...
 
- Public Member Functions inherited from retdec::demangler::borland::NodeArray
void addNode (std::shared_ptr< Node > node)
 Appends new node to array. More...
 
bool empty () const
 
size_t size ()
 
std::shared_ptr< Nodeget (unsigned i) const
 
- Public Member Functions inherited from retdec::demangler::borland::Node
 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< NodeStringcreate ()
 
- Static Public Member Functions inherited from retdec::demangler::borland::NodeArray
static std::shared_ptr< NodeArraycreate ()
 Creates shared pointer to new NodeArray object. More...
 

Protected Member Functions

 NodeString ()
 
- Protected Member Functions inherited from retdec::demangler::borland::NodeArray
 NodeArray ()
 Private constructor for NodeArray. Use create(). More...
 

Additional Inherited Members

- Public Types inherited from retdec::demangler::borland::Node
enum class  Kind {
  KFunction , KFunctionType , KName , KNestedName ,
  KNodeArray , KNodeString , KTypeNode , KBuiltInType ,
  KPointerType , KIntegralType , KCharType , KFloatType ,
  KParentheses , KReferenceType , KRReferenceType , KNamedType ,
  KTemplateNode , KArrayNode , KConversionOperator
}
 
- Protected Attributes inherited from retdec::demangler::borland::NodeArray
std::vector< std::shared_ptr< Node > > _nodes
 
- Protected Attributes inherited from retdec::demangler::borland::Node
Kind _kind
 
bool _has_right
 

Detailed Description

Node for representation of sequence of Nodes.

Constructor & Destructor Documentation

◆ NodeString()

retdec::demangler::borland::NodeString::NodeString ( )
protected

Member Function Documentation

◆ create()

std::shared_ptr< NodeString > retdec::demangler::borland::NodeString::create ( )
static

◆ printLeft()

void retdec::demangler::borland::NodeString::printLeft ( std::ostream &  s) const
overridevirtual

Prints text representaion of array.

Parameters
sOutput stream.

Reimplemented from retdec::demangler::borland::NodeArray.


The documentation for this class was generated from the following files: