1
2
3
4
5
6 #include <sngcm/ast/SyncNode.hpp>
7 #include <sngcm/ast/Visitor.hpp>
8
9 namespace sngcm { namespace ast {
10
11 SyncNode::SyncNode(const Span& span_, const boost::uuids::uuid& moduleId_) : Node(NodeType::syncNode, span_, moduleId_)
12 {
13 }
14
15 Node* SyncNode::Clone(CloneContext& cloneContext) const
16 {
17 return new SyncNode(GetSpan(), ModuleId());
18 }
19
20 void SyncNode::Accept(Visitor& visitor)
21 {
22 visitor.Visit(*this);
23 }
24
25 } }