OmniSciDB  29e35f4d58
Parser::DefaultValidate< StringLiteral > Struct Template Reference

#include <ParserNode.h>

Public Member Functions

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

Detailed Description

template<>
struct Parser::DefaultValidate< StringLiteral >

Definition at line 2043 of file ParserNode.h.

Member Function Documentation

◆ operator()()

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

Definition at line 2045 of file ParserNode.h.

References CHECK.

2045  {
2046  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
2047  CHECK(val);
2048  const auto val_upper = boost::to_upper_copy<std::string>(*val);
2049  return val_upper;
2050  }
#define CHECK(condition)
Definition: Logger.h:193

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