载入中...
搜索中...
未找到
DnutLexer.cpp 文件参考
#include "dnut_interpreter/DnutLexer.h"
#include <cctype>
#include <cstddef>
#include <string>
#include <utility>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::dnut
 

函数

const char * eve::dnut::dnutTokenKindName (DnutTokenKind kind) noexcept
 Return the stable lowercase spelling of a token kind.
 
eve::Result< std::vector< DnutToken > > eve::dnut::lexDnut (std::string_view source, const std::string &path)
 Lex one .dnut source buffer into owned tokens.
 
EVENGINE_API_PLATFORM bool eve::dnut::hasErrors (const std::vector< DnutDiagnostic > &diagnostics)
 Return whether any diagnostic is an error.