libcubescript/src/cs_parser.hh

18 lines
395 B
C++
Raw Normal View History

#ifndef LIBCUBESCRIPT_PARSER_HH
#define LIBCUBESCRIPT_PARSER_HH
#include <cubescript/cubescript.hh>
#include <string_view>
2021-03-23 23:32:25 +01:00
namespace cubescript {
2021-03-23 23:29:32 +01:00
integer_type parse_int(std::string_view input, std::string_view *end = nullptr);
float_type parse_float(std::string_view input, std::string_view *end = nullptr);
bool is_valid_name(std::string_view input);
2021-03-23 23:32:25 +01:00
} /* namespace cubescript */
#endif