aboutsummaryrefslogtreecommitdiff
path: root/doc/language/function/cpsc-function-str_to_num.7.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/language/function/cpsc-function-str_to_num.7.md')
0 files changed, 0 insertions, 0 deletions
std::unique_ptr<ExprAST> Parser::ParseNumberExpr() { if (CurTok == tok_number_real) { auto Result = std::make_unique<RealExprAST>(Lex.RealVal); getNextToken(); return Result; } int64_t Value; if (!ParseIntegerValue(false, Value)) return nullptr; return std::make_unique<IntegerExprAST>(Value); }