OmniSciDB  dfae7c3b14
Parser::DefaultValidate< StringLiteral > Struct Template Reference

#include <ParserNode.h>

Public Member Functions

template<typename T >
decltype(auto) operator() (T t)

Detailed Description

struct Parser::DefaultValidate< StringLiteral >

Definition at line 2099 of file ParserNode.h.

Member Function Documentation

◆ operator()()

template<typename T >
decltype(auto) Parser::DefaultValidate< StringLiteral >::operator() ( t)

Definition at line 2101 of file ParserNode.h.

References CHECK.

2101  {
2102  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
2103  CHECK(val);
2104  const auto val_upper = boost::to_upper_copy<std::string>(*val);
2105  return val_upper;
2106  }
#define CHECK(condition)
Definition: Logger.h:197

The documentation for this struct was generated from the following file: