OmniSciDB  04ee39c94c
Parser::NullLiteral Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::NullLiteral:
+ Collaboration diagram for Parser::NullLiteral:

Public Member Functions

 NullLiteral ()
 
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 121 of file ParserNode.h.

Constructor & Destructor Documentation

◆ NullLiteral()

Parser::NullLiteral::NullLiteral ( )
inline

Definition at line 123 of file ParserNode.h.

References anonymous_namespace{UpdateMetadataTest.cpp}::query.

123 {}

Member Function Documentation

◆ analyze()

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

Implements Parser::Literal.

Definition at line 79 of file ParserNode.cpp.

References kNULLT.

82  {
83  return makeExpr<Analyzer::Constant>(kNULLT, true);
84 }

◆ to_string()

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

Implements Parser::Literal.

Definition at line 128 of file ParserNode.h.

128 { return "NULL"; }

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