OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 119 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::NullLiteral::NullLiteral ( )
inline

Definition at line 121 of file ParserNode.h.

121 {}

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

References kNULLT.

135  {
136  return makeExpr<Analyzer::Constant>(kNULLT, true);
137 }
std::string Parser::NullLiteral::to_string ( ) const
inlineoverridevirtual

Implements Parser::Literal.

Definition at line 126 of file ParserNode.h.

126 { return "NULL"; }

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