OmniSciDB  72c90bc290
 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 2244 of file ParserNode.h.

Member Function Documentation

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

Definition at line 2246 of file ParserNode.h.

References CHECK.

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

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