OmniSciDB
a5dc49c757
|
#include <ParserNode.h>
Public Member Functions | |
StringLiteral (std::string *s) | |
const std::string * | get_stringval () const |
std::shared_ptr< Analyzer::Expr > | analyze (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 () |
Static Public Member Functions | |
static std::shared_ptr < Analyzer::Expr > | analyzeValue (const std::string &stringval, const bool is_null) |
Private Attributes | |
std::unique_ptr< std::string > | stringval_ |
Additional Inherited Members | |
Public Types inherited from Parser::Expr | |
enum | TlistRefType { TLIST_NONE, TLIST_REF, TLIST_COPY } |
Definition at line 133 of file ParserNode.h.
|
inlineexplicit |
Definition at line 135 of file ParserNode.h.
|
overridevirtual |
Implements Parser::Literal.
Definition at line 140 of file ParserNode.cpp.
|
static |
Definition at line 147 of file ParserNode.cpp.
References kVARCHAR, and Datum::stringval.
Referenced by RelAlgTranslator::translateLiteral(), and anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitStringOper().
|
inline |
Definition at line 136 of file ParserNode.h.
References stringval_.
Referenced by Parser::anonymous_namespace{ParserNode.cpp}::bool_from_string_literal(), Parser::CreateTableAsSelectStmt::execute(), Parser::anonymous_namespace{ParserNode.cpp}::parse_copy_params(), Parser::CreateModelStmt::parse_model_options(), Parser::ExportQueryStmt::parseOptions(), and Parser::set_column_descriptor().
|
inlineoverridevirtual |
Implements Parser::Literal.
Definition at line 143 of file ParserNode.h.
References stringval_.
|
private |
Definition at line 146 of file ParserNode.h.
Referenced by get_stringval(), and to_string().