cymoca
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | List of all members
cymoca::ast::TUnary< Right, Base > Class Template Reference

#include <node.h>

Inheritance diagram for cymoca::ast::TUnary< Right, Base >:
Inheritance graph
Collaboration diagram for cymoca::ast::TUnary< Right, Base >:
Collaboration graph

Public Member Functions

 TUnary (std::unique_ptr< Right > right)
 
Right * getRight ()
 
std::vector< INode * > getChildren () override
 
template<class T >
std::unique_ptr< INode > cloneUnary () const
 

Protected Attributes

std::unique_ptr< Right > m_right {}
 

Detailed Description

template<class Right, class Base>
class cymoca::ast::TUnary< Right, Base >

A template for unary nodes.

Definition at line 88 of file node.h.

Constructor & Destructor Documentation

template<class Right, class Base>
cymoca::ast::TUnary< Right, Base >::TUnary ( std::unique_ptr< Right >  right)
inlineexplicit

Definition at line 93 of file node.h.

Member Function Documentation

template<class Right, class Base>
template<class T >
std::unique_ptr<INode> cymoca::ast::TUnary< Right, Base >::cloneUnary ( ) const
inline

Definition at line 97 of file node.h.

template<class Right, class Base>
std::vector<INode *> cymoca::ast::TUnary< Right, Base >::getChildren ( )
inlineoverride

Definition at line 95 of file node.h.

template<class Right, class Base>
Right* cymoca::ast::TUnary< Right, Base >::getRight ( )
inline

Definition at line 94 of file node.h.

Member Data Documentation

template<class Right, class Base>
std::unique_ptr<Right> cymoca::ast::TUnary< Right, Base >::m_right {}
protected

Definition at line 90 of file node.h.


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