This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DataNode extends Object: | |
var index: int | |
var parent: DataNode | |
var children: Array[DataNode] | |
class DataHeap extends RefCounted: | |
var _heap := {} # id: int -> node: DataNode | |
var _max_id := -1 | |
func add_node(id: int, parent_id: int) -> void: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -2,6 +2,7 @@ class DataType { | |
private: | |
// Private access so we can control memory management. | |
DataType *container_element_type = nullptr; | |
+ DataType *gussed_type = nullptr; | |
public: | |
enum Kind { | |
@@ -11,19 +12,12 @@ public: | |
CLASS, // GDScript. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class_name TestSetterGetterWithName | |
static var static_normal_untyped: set = set_static_normal_untyped, get = get_static_normal_untyped | |
static var static_normal_typed: int: set = set_static_normal_typed, get = get_static_normal_typed | |
static var static_named_untyped: set = set_static_named_untyped, get = get_static_named_untyped | |
static var static_named_typed: int: set = set_static_named_typed, get = get_static_named_typed | |
var normal_untyped: set = set_normal_untyped, get = get_normal_untyped | |
var normal_typed: int: set = set_normal_typed, get = get_normal_typed | |
var named_untyped: set = set_named_untyped, get = get_named_untyped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************/ | |
/* godot_type.cpp */ | |
/**************************************************************************/ | |
/* This file is part of: */ | |
/* GODOT ENGINE */ | |
/* https://godotengine.org */ | |
/**************************************************************************/ | |
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ | |
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ | |
/* */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This option roughly matches the described requirements of `get_parsed_text()` emulation. | |
# See https://github.com/godotengine/godot/blob/179dfdc8d78b5bd5377dd115af026df58308bdaf/scene/gui/rich_text_label.cpp#L3999. | |
const TAGS_TO_STRIP: Array[String] = [ | |
"b", "i", "code", "table", "cell", "u", "s", "center", "fill", "left", "right", | |
"ul", "ol", "lang", "p", "url", "hint", "dropcap", "color", "outline_color", | |
"font_size", "opentype_features", "otf", "font", "outline_size", "fade", "shake", | |
"wave", "tornado", "rainbow", "pulse", "bgcolor", "fgcolor", | |
] |