Antares Simulator
Power System Simulator
|
Represents a unary node in a syntax tree. More...
#include <UnaryNode.h>
Public Member Functions | |
UnaryNode (Node *child) | |
Constructs a unary node with the specified child. | |
Node * | child () const |
Retrieves a pointer to the child node. | |
![]() | |
![]() | |
virtual std::string | name () const =0 |
bool | operator== (const IName &other) const =default |
Represents a unary node in a syntax tree.
|
explicit |
Constructs a unary node with the specified child.
child | The child node. |
Node * Antares::Expressions::Nodes::UnaryNode::child | ( | ) | const |
Retrieves a pointer to the child node.