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

Member Function Documentation

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

Definition at line 2175 of file ParserNode.h.

References CHECK.

2175  {
2176  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
2177  CHECK(val);
2178  const auto val_upper = boost::to_upper_copy<std::string>(*val);
2179  return val_upper;
2180  }
#define CHECK(condition)
Definition: Logger.h:206
char * t

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