2021-02-07 19:19:08 +00:00
|
|
|
/********************************************************************
|
|
|
|
** Copyright (c) 2018-2020 Guan Wenliang
|
|
|
|
** This file is part of the Berry default interpreter.
|
|
|
|
** skiars@qq.com, https://github.com/Skiars/berry
|
|
|
|
** See Copyright Notice in the LICENSE file or at
|
|
|
|
** https://github.com/Skiars/berry/blob/master/LICENSE
|
|
|
|
********************************************************************/
|
2021-04-12 18:53:35 +01:00
|
|
|
#ifndef __COC_STRING_H
|
|
|
|
#define __COC_STRING_H
|
2021-02-07 19:19:08 +00:00
|
|
|
|
2021-04-12 18:53:35 +01:00
|
|
|
#include <string>
|
2021-02-07 19:19:08 +00:00
|
|
|
|
2021-04-12 18:53:35 +01:00
|
|
|
namespace coc {
|
|
|
|
uint32_t hashcode(const std::string &string);
|
|
|
|
std::string escape_operator(const std::string &string);
|
|
|
|
}
|
2021-02-07 19:19:08 +00:00
|
|
|
|
|
|
|
#endif
|