Antares Simulator
Power System Simulator
|
Represents a literal node in a syntax tree, storing a double value. More...
#include <LiteralNode.h>
Public Member Functions | |
std::string | name () const override |
![]() | |
Leaf (const double &value) | |
Constructs a leaf node with the specified value. | |
double | value () const |
Retrieves the value stored in the leaf node. | |
![]() | |
![]() | |
bool | operator== (const IName &other) const =default |
Represents a literal node in a syntax tree, storing a double value.
|
inlineoverridevirtual |
Implements Antares::Expressions::IName.