28 #ifndef LEFTCHILDEXTRACTOR_H
29 #define LEFTCHILDEXTRACTOR_H
33 namespace jmespath {
namespace parser {
41 :
public boost::static_visitor<ast::ExpressionNode*>
52 return boost::apply_visitor(*
this, node->
value);
61 template <
typename T,
typename
66 T>::value,
int>::type = 0>
72 template <
typename T,
typename
77 T>::value,
int>::type = 0>
80 return &node->expression;
83 template <
typename T,
typename
86 T>::value,
int>::type = 0>
89 return &node->leftExpression;
94 #endif // LEFTCHILDEXTRACTOR_H
ValueType value
The variable which stores the node that this object represents.
Definition: variantnode.h:126
The BinaryExpressionNode class is the base class for all node types which consist of a left and a rig...
Definition: binaryexpressionnode.h:39
The NotExpressionNode class represents a JMESPath not expression.
Definition: notexpressionnode.h:39
The ExpressionNode class represents a JMESPath expression.
Definition: expressionnode.h:56