JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Data Structures | Namespaces | Macros
FunctionWrapper.h File Reference
#include <tao/pegtl.hpp>
#include <joda/query/values/ArraySizeProvider.h>
#include <joda/query/values/BinaryNumberProvider.h>
#include <joda/query/values/BinaryStringProvider.h>
#include <joda/query/values/ConstantNumber.h>
#include <joda/query/values/FileNameProvider.h>
#include <joda/query/values/FilePosProvider.h>
#include <joda/query/values/HashProvider.h>
#include <joda/query/values/IDProvider.h>
#include <joda/query/values/INListProvider.h>
#include <joda/query/values/IsXBoolProvider.h>
#include <joda/query/values/ListAttributesProvider.h>
#include <joda/query/values/MemberCountProvider.h>
#include <joda/query/values/RegexExtractProvider.h>
#include <joda/query/values/RegexProvider.h>
#include <joda/query/values/RegexReplaceProvider.h>
#include <joda/query/values/SeqNumberProvider.h>
#include <joda/query/values/SubStringProvider.h>
#include <joda/query/values/TypeProvider.h>
#include <joda/query/values/UnaryNumberProvider.h>
#include <joda/query/values/UnaryStringProvider.h>
#include <joda/query/values/CastProvider.h>
#include "states/States.h"
Include dependency graph for FunctionWrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  joda::queryparsing::grammar::functionAction< Rule >
 
struct  joda::queryparsing::grammar::stringableSOR<>
 
struct  joda::queryparsing::grammar::functionKWs
 

Namespaces

 joda
 
 joda::queryparsing
 
 joda::queryparsing::grammar
 

Macros

#define REGISTER_FUNCTION(FCLASS, FSTRUCT, FKEYWORD)
 

Macro Definition Documentation

◆ REGISTER_FUNCTION

#define REGISTER_FUNCTION (   FCLASS,
  FSTRUCT,
  FKEYWORD 
)
Value:
struct FSTRUCT : TAOCPP_PEGTL_KEYWORD(FKEYWORD) { \
static std::string toString() { return FKEYWORD; } \
}; \
template <> \
struct functionAction<FSTRUCT> { \
static void apply0(functionState &state) { \
state.factory = &FCLASS::_FACTORY; \
} \
};