Class representing a semantic node. More...
#include <SemanticNode.hpp>
Public Member Functions | |
SemanticNodeVector | getChildren () |
Children getter. | |
std::string | getName () |
Name getter. | |
SemanticNode (std::string name) | |
Constructor. | |
SemanticNode () | |
Constructor. | |
Friends | |
class | SemanticTree |
class | SemanticTreeFactory |
Class representing a semantic node.
Definition at line 54 of file SemanticNode.hpp.
SemanticNode::SemanticNode | ( | ) |
Constructor.
Default SemanticNode constructor. Should not be used directly.
Definition at line 39 of file SemanticNode.cpp.
SemanticNode::SemanticNode | ( | std::string | name | ) |
Constructor.
Builds a SemanticNode with a name.
name | Node name. |
Definition at line 44 of file SemanticNode.cpp.
SemanticNodeVector SemanticNode::getChildren | ( | ) |
Children getter.
Definition at line 49 of file SemanticNode.cpp.
std::string SemanticNode::getName | ( | ) |
Name getter.
Definition at line 59 of file SemanticNode.cpp.