24#include <antares/expressions/hashable.h>
25#include <antares/expressions/nodes/Leaf.h>
27namespace Antares::Expressions::Nodes
41 explicit PortFieldNode(
const std::string& port_name,
const std::string& field_name);
59 std::string name()
const override
61 return "PortFieldNode";
65 std::string port_name_;
66 std::string field_name_;
Base class for nodes in a syntax tree.
Definition Node.h:30
Represents a port field node in a syntax tree.
Definition PortFieldNode.h:33
const std::string & getPortName() const
Retrieves the port name.
Definition PortFieldNode.cpp:32
const std::string & getFieldName() const
Retrieves the field name.
Definition PortFieldNode.cpp:37
PortFieldNode(const std::string &port_name, const std::string &field_name)
Constructs a port field node with the specified port and field names.
Definition PortFieldNode.cpp:25