Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Expressions::Nodes::MultiplicationNode Class Reference

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

#include <MultiplicationNode.h>

Inheritance diagram for Antares::Expressions::Nodes::MultiplicationNode:
Antares::Expressions::Nodes::BinaryNode Antares::Expressions::Nodes::Node Antares::Expressions::IName

Public Member Functions

std::string name () const override
 
 BinaryNode (Node *left, Node *right)
 Constructs a binary node with the specified left and right operands.
 
- Public Member Functions inherited from Antares::Expressions::Nodes::BinaryNode
 BinaryNode (Node *left, Node *right)
 Constructs a binary node with the specified left and right operands.
 
Nodeleft () const
 Retrieves a pointer to the left operand.
 
Noderight () const
 Retrieves a pointer to the right operand.
 
- 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 multiplication node in a syntax tree.

Member Function Documentation

◆ BinaryNode()

Antares::Expressions::Nodes::BinaryNode::BinaryNode ( Node * left,
Node * right )
explicit

Constructs a binary node with the specified left and right operands.

Parameters
leftThe left operand.
rightThe right operand.
Note
BinaryNode(n1, n2) and BinaryNode(n2, n1) are not equivalent.

◆ name()

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

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