The NodeInsertCondition class is a functor that will either yield a true or false result based on whether the given node should be inserted at the location of the targetNode.
More...
#include <nodeinsertcondition.h>
|
|
template<typename T , typename std::enable_if< std::is_base_of< ast::BinaryExpressionNode, T >::value, int >::type = 0> |
bool | operator() (const ast::ExpressionNode &targetNode, const T &node) const |
| Returns true or false based on whether the given node should be inserted at the location of the targetNode. More...
|
|
template<typename T , typename std::enable_if< !std::is_base_of< ast::BinaryExpressionNode, T >::value, int >::type = 0> |
bool | operator() (const ast::ExpressionNode &targetNode, const T &node) const |
| Returns true or false based on whether the given node should be inserted at the location of the targetNode. More...
|
|
The NodeInsertCondition class is a functor that will either yield a true or false result based on whether the given node should be inserted at the location of the targetNode.
The result type of the functor.
template<typename T , typename std::enable_if< std::is_base_of< ast::BinaryExpressionNode, T >::value, int >::type = 0>
bool jmespath::parser::NodeInsertCondition::operator() |
( |
const ast::ExpressionNode & |
targetNode, |
|
|
const T & |
node |
|
) |
| const |
|
inline |
Returns true or false based on whether the given node should be inserted at the location of the targetNode.
- Parameters
-
[in] | targetNode | The node located where the given node might be insertable. |
[in] | node | The node to test for insertability. |
template<typename T , typename std::enable_if< !std::is_base_of< ast::BinaryExpressionNode, T >::value, int >::type = 0>
bool jmespath::parser::NodeInsertCondition::operator() |
( |
const ast::ExpressionNode & |
targetNode, |
|
|
const T & |
node |
|
) |
| const |
|
inline |
Returns true or false based on whether the given node should be inserted at the location of the targetNode.
- Parameters
-
[in] | targetNode | The node located where the given node might be insertable. |
[in] | node | The node to test for insertability. |
The documentation for this class was generated from the following file: