Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Expressions::Nodes::NegationNode Class Referencefinal

Represents a negation node in a syntax tree. More...

#include <NegationNode.h>

Inheritance diagram for Antares::Expressions::Nodes::NegationNode:
Antares::Expressions::Nodes::UnaryNode Antares::Expressions::Nodes::Node Antares::Expressions::IName

Public Member Functions

std::string name () const override
 
 UnaryNode (Node *child)
 Constructs a unary node with the specified child.
 
- Public Member Functions inherited from Antares::Expressions::Nodes::UnaryNode
 UnaryNode (Node *child)
 Constructs a unary node with the specified child.
 
Nodechild () const
 Retrieves a pointer to the child node.
 
- Public Member Functions inherited from Antares::Expressions::Nodes::Node
- Public Member Functions inherited from Antares::Expressions::IName
bool operator== (const IName &other) const =default
 

Detailed Description

Represents a negation node in a syntax tree.

Member Function Documentation

◆ name()

std::string Antares::Expressions::Nodes::NegationNode::name ( ) const
inlineoverridevirtual

◆ UnaryNode()

Antares::Expressions::Nodes::UnaryNode::UnaryNode ( Node * child)
explicit

Constructs a unary node with the specified child.

Parameters
childThe child node.

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