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

Represents a variable node in a syntax tree, storing a string value. More...

#include <VariableNode.h>

Inheritance diagram for Antares::Expressions::Nodes::VariableNode:
Antares::Expressions::Nodes::Leaf< std::string > Antares::Expressions::Nodes::Node Antares::Expressions::IName

Public Member Functions

 VariableNode (const std::string &value, Visitors::TimeIndex time_index=Visitors::TimeIndex::VARYING_IN_TIME_AND_SCENARIO)
 
std::string name () const override
 
Visitors::TimeIndex timeIndex () const
 
- Public Member Functions inherited from Antares::Expressions::Nodes::Leaf< std::string >
 Leaf (const std::string &value)
 Constructs a leaf node with the specified value.
 
std::string value () const
 Retrieves the value stored in the leaf 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 variable node in a syntax tree, storing a string value.

Member Function Documentation

◆ name()

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

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