OmniSciDB  c07336695a
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 1942 of file ParserNode.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1944 of file ParserNode.h.

References CHECK.

1944  {
1945  const auto val = static_cast<const StringLiteral*>(t->get_value())->get_stringval();
1946  CHECK(val);
1947  const auto val_upper = boost::to_upper_copy<std::string>(*val);
1948  return val_upper;
1949  }
#define CHECK(condition)
Definition: Logger.h:187

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