7 #ifndef RETDEC_TEMPLATE_NODE_H
8 #define RETDEC_TEMPLATE_NODE_H
22 static std::shared_ptr<TemplateNode>
create(
23 std::shared_ptr<Node> name,
24 std::shared_ptr<Node> params);
26 void printLeft(std::ostream &s)
const override;
30 std::shared_ptr<Node> name,
31 std::shared_ptr<Node> params);
Base class for all nodes in AST.
Definition: node.h:22
Definition: template_node.h:20
std::shared_ptr< Node > _name
Definition: template_node.h:34
TemplateNode(std::shared_ptr< Node > name, std::shared_ptr< Node > params)
Definition: template_node.cpp:20
static std::shared_ptr< TemplateNode > create(std::shared_ptr< Node > name, std::shared_ptr< Node > params)
Creates shared pointer to template node.
Definition: template_node.cpp:32
void printLeft(std::ostream &s) const override
Prints text representation of template.
Definition: template_node.cpp:44
std::shared_ptr< Node > _params
Definition: template_node.h:35
Definition: archive_wrapper.h:19
Base class for all nodes in borland AST.