OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 132 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::NullLiteral::NullLiteral ( )
inline

Definition at line 134 of file ParserNode.h.

134 {}

Member Function Documentation

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

References kNULLT.

86  {
87  return makeExpr<Analyzer::Constant>(kNULLT, true);
88 }
std::string Parser::NullLiteral::to_string ( ) const
inlineoverridevirtual

Implements Parser::Literal.

Definition at line 139 of file ParserNode.h.

139 { return "NULL"; }

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