OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Parser::UserLiteral Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::UserLiteral:
+ Collaboration diagram for Parser::UserLiteral:

Public Member Functions

 UserLiteral ()
 
std::shared_ptr< Analyzer::Expranalyze (const Catalog_Namespace::Catalog &catalog, Analyzer::Query &query, TlistRefType allow_tlist_ref=TLIST_NONE) const override
 
std::string to_string () const override
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Additional Inherited Members

- Public Types inherited from Parser::Expr
enum  TlistRefType { TLIST_NONE, TLIST_REF, TLIST_COPY }
 

Detailed Description

Definition at line 269 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::UserLiteral::UserLiteral ( )
inline

Definition at line 271 of file ParserNode.h.

271 {}

Member Function Documentation

std::shared_ptr< Analyzer::Expr > Parser::UserLiteral::analyze ( const Catalog_Namespace::Catalog catalog,
Analyzer::Query query,
TlistRefType  allow_tlist_ref = TLIST_NONE 
) const
overridevirtual

Implements Parser::Literal.

Definition at line 179 of file ParserNode.cpp.

182  {
183  throw std::runtime_error("USER literal not supported yet.");
184  return nullptr;
185 }
std::string Parser::UserLiteral::to_string ( ) const
inlineoverridevirtual

Implements Parser::Literal.

Definition at line 276 of file ParserNode.h.

276 { return "USER"; }

The documentation for this class was generated from the following files: