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

Constructor & Destructor Documentation

◆ UserLiteral()

Parser::UserLiteral::UserLiteral ( )
inline

Definition at line 260 of file ParserNode.h.

References anonymous_namespace{UpdateMetadataTest.cpp}::query.

260 {}

Member Function Documentation

◆ analyze()

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 175 of file ParserNode.cpp.

178  {
179  throw std::runtime_error("USER literal not supported yet.");
180  return nullptr;
181 }

◆ to_string()

std::string Parser::UserLiteral::to_string ( ) const
inlineoverridevirtual

Implements Parser::Literal.

Definition at line 265 of file ParserNode.h.

265 { return "USER"; }

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