auto node = AST::SingleASTNode (make_string (invoc_locus, str));
auto str_tok = make_token (Token::make_string (invoc_locus, std::move (str)));
- // FIXME: Do not return an empty token vector here
return AST::Fragment ({node}, std::move (str_tok));
}
auto tok
= make_token (Token::make_string (invoc_locus, std::move (env_value)));
- // FIXME: Do not return an empty token vector here
return AST::Fragment ({node}, std::move (tok));
}
auto tok = make_token (
Token::make (result ? TRUE_LITERAL : FALSE_LITERAL, invoc_locus));
- // FIXME: Do not return an empty token vector here
return AST::Fragment ({literal_exp}, std::move (tok));
}
auto tok
= make_token (Token::make_int (invoc_locus, std::to_string (current_line)));
- // FIXME: Do not return an empty token vector here
return AST::Fragment ({line_no}, std::move (tok));
}