OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 2241 of file ParserNode.h.

Member Function Documentation

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

Definition at line 2243 of file ParserNode.h.

References CHECK.

2243  {
2244  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
2245  CHECK(val);
2246  const auto val_upper = boost::to_upper_copy<std::string>(*val);
2247  return val_upper;
2248  }
#define CHECK(condition)
Definition: Logger.h:222

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