2 #ifndef _PRINT_VISITOR_CPP_ 3 #define _PRINT_VISITOR_CPP_ 45 madara::expression::PrintVisitor::visit (
const LeafNode &node)
48 "%" PRId64
" ", node.item ()));
54 madara::expression::PrintVisitor::visit (
const VariableNode &node)
57 "%s ", node.key ().c_str ()));
62 madara::expression::PrintVisitor::visit (
const VariableDecrementNode &node)
65 "%s -= ", node.key ().c_str ()));
70 madara::expression::PrintVisitor::visit (
const VariableDivideNode &node)
73 "%s /= ", node.key ().c_str ()));
78 madara::expression::PrintVisitor::visit (
const VariableIncrementNode &node)
81 "%s += ", node.key ().c_str ()));
86 madara::expression::PrintVisitor::visit (
const VariableMultiplyNode &node)
89 "%s *= ", node.key ().c_str ()));
94 madara::expression::PrintVisitor::visit (
const VariableCompareNode &node)
97 "compare(%s) ", node.key ().c_str ()));
102 madara::expression::PrintVisitor::visit (
const ListNode &node)
110 madara::expression::PrintVisitor::visit (
const CompositeNegateNode &)
119 madara::expression::PrintVisitor::visit (
const CompositePredecrementNode &)
128 madara::expression::PrintVisitor::visit (
const CompositePreincrementNode &)
137 madara::expression::PrintVisitor::visit (
const CompositeNotNode &)
146 madara::expression::PrintVisitor::visit (
const CompositeAddNode &)
155 madara::expression::PrintVisitor::visit (
const CompositeAndNode &)
164 madara::expression::PrintVisitor::visit (
const CompositeOrNode &)
172 madara::expression::PrintVisitor::visit (
const CompositeEqualityNode &)
180 madara::expression::PrintVisitor::visit (
const CompositeInequalityNode &)
188 madara::expression::PrintVisitor::visit (
const CompositeGreaterThanEqualNode &)
196 madara::expression::PrintVisitor::visit (
const CompositeGreaterThanNode &)
204 madara::expression::PrintVisitor::visit (
const CompositeLessThanEqualNode &)
212 madara::expression::PrintVisitor::visit (
const CompositeLessThanNode &)
221 madara::expression::PrintVisitor::visit (
const CompositeAssignmentNode &)
230 madara::expression::PrintVisitor::visit (
const CompositeSubtractNode &)
239 madara::expression::PrintVisitor::visit (
const CompositeDivideNode &)
248 madara::expression::PrintVisitor::visit (
const CompositeMultiplyNode &)
257 madara::expression::PrintVisitor::visit (
const CompositeModulusNode &)
266 madara::expression::PrintVisitor::visit (
const CompositeBothNode &)
275 madara::expression::PrintVisitor::visit (
const CompositeSequentialNode &)
284 madara::expression::PrintVisitor::visit (
const CompositeFunctionNode &)
293 madara::expression::PrintVisitor::visit (
const CompositeForLoop &)
302 madara::expression::PrintVisitor::visit (
const CompositeImpliesNode &)
308 #endif // _USE_VISITORS_
#define MADARA_LOG_EMERGENCY
Used for errors that cause the fatal shutdown of any portion of the infrastructure.
#define MADARA_DEBUG(L, X)