#include <ParserNode.h>
Definition at line 152 of file ParserNode.h.
Parser::IntLiteral::IntLiteral |
( |
int64_t |
i | ) |
|
|
inlineexplicit |
std::shared_ptr< Analyzer::Expr > Parser::IntLiteral::analyzeValue |
( |
const int64_t |
intval | ) |
|
|
static |
Definition at line 162 of file ParserNode.cpp.
References Datum::bigintval, Datum::intval, kBIGINT, kINT, kSMALLINT, and Datum::smallintval.
Referenced by InValuesBitmap::codegen(), StringDictionaryTranslationMgr::codegen(), CodeGenerator::codegenDeciDiv(), and RelAlgTranslator::translateLiteral().
165 if (intval >= INT16_MIN && intval <= INT16_MAX) {
168 }
else if (intval >= INT32_MIN && intval <= INT32_MAX) {
170 d.
intval = (int32_t)intval;
175 return makeExpr<Analyzer::Constant>(t,
false, d);
int64_t Parser::IntLiteral::get_intval |
( |
| ) |
const |
|
inline |
std::string Parser::IntLiteral::to_string |
( |
| ) |
const |
|
inlineoverridevirtual |
int64_t Parser::IntLiteral::intval_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jenkins-slave/workspace/core-os-doxygen/Parser/ParserNode.h
- /home/jenkins-slave/workspace/core-os-doxygen/Parser/ParserNode.cpp