mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
22 lines
326 B
C++
22 lines
326 B
C++
#include "node.h"
|
|
|
|
const Node * Node::children(int index) const {
|
|
return &m_children[index];
|
|
}
|
|
|
|
int Node::numberOfChildren() {
|
|
return m_numberOfChildren;
|
|
}
|
|
|
|
const char * Node::label() const {
|
|
return m_label;
|
|
}
|
|
|
|
const char * Node::text() const {
|
|
return m_text;
|
|
}
|
|
|
|
bool Node::isNull() {
|
|
return (m_label == nullptr);
|
|
}
|