OmniSciDB  c1a53651b2
 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

struct Parser::DefaultValidate< StringLiteral >

Definition at line 2198 of file ParserNode.h.

Member Function Documentation

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

Definition at line 2200 of file ParserNode.h.

References CHECK.

2200  {
2201  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
2202  CHECK(val);
2203  const auto val_upper = boost::to_upper_copy<std::string>(*val);
2204  return val_upper;
2205  }
#define CHECK(condition)
Definition: Logger.h:291

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