OmniSciDB  c0231cc57d
 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 2242 of file ParserNode.h.

Member Function Documentation

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

Definition at line 2244 of file ParserNode.h.

References CHECK.

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

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