#include "gdscript_tokenizer.h"
#include "core/error/error_macros.h"
#include "core/string/char_utils.h"
#ifdef DEBUG_ENABLED
#include "servers/text_server.h"
#endif
#ifdef TOOLS_ENABLED
#include "editor/editor_settings.h"
#endif
static const char *token_names[] = …;
static_assert …;
const char *GDScriptTokenizer::Token::get_name() const { … }
bool GDScriptTokenizer::Token::can_precede_bin_op() const { … }
bool GDScriptTokenizer::Token::is_identifier() const { … }
bool GDScriptTokenizer::Token::is_node_name() const { … }
String GDScriptTokenizer::get_token_name(Token::Type p_token_type) { … }
void GDScriptTokenizerText::set_source_code(const String &p_source_code) { … }
void GDScriptTokenizerText::set_cursor_position(int p_line, int p_column) { … }
void GDScriptTokenizerText::set_multiline_mode(bool p_state) { … }
void GDScriptTokenizerText::push_expression_indented_block() { … }
void GDScriptTokenizerText::pop_expression_indented_block() { … }
int GDScriptTokenizerText::get_cursor_line() const { … }
int GDScriptTokenizerText::get_cursor_column() const { … }
bool GDScriptTokenizerText::is_past_cursor() const { … }
char32_t GDScriptTokenizerText::_advance() { … }
void GDScriptTokenizerText::push_paren(char32_t p_char) { … }
bool GDScriptTokenizerText::pop_paren(char32_t p_expected) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::pop_error() { … }
GDScriptTokenizer::Token GDScriptTokenizerText::make_token(Token::Type p_type) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::make_literal(const Variant &p_literal) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::make_identifier(const StringName &p_identifier) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::make_error(const String &p_message) { … }
void GDScriptTokenizerText::push_error(const String &p_message) { … }
void GDScriptTokenizerText::push_error(const Token &p_error) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::make_paren_error(char32_t p_paren) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::check_vcs_marker(char32_t p_test, Token::Type p_double_type) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::annotation() { … }
#define KEYWORDS …
#define MIN_KEYWORD_LENGTH …
#define MAX_KEYWORD_LENGTH …
#ifdef DEBUG_ENABLED
void GDScriptTokenizerText::make_keyword_list() { … }
#endif
GDScriptTokenizer::Token GDScriptTokenizerText::potential_identifier() { … }
#undef MAX_KEYWORD_LENGTH
#undef MIN_KEYWORD_LENGTH
#undef KEYWORDS
void GDScriptTokenizerText::newline(bool p_make_token) { … }
GDScriptTokenizer::Token GDScriptTokenizerText::number() { … }
GDScriptTokenizer::Token GDScriptTokenizerText::string() { … }
void GDScriptTokenizerText::check_indent() { … }
String GDScriptTokenizerText::_get_indent_char_name(char32_t ch) { … }
void GDScriptTokenizerText::_skip_whitespace() { … }
GDScriptTokenizer::Token GDScriptTokenizerText::scan() { … }
GDScriptTokenizerText::GDScriptTokenizerText() { … }