You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Begin making constants deep, not shallow or flat
This commit is contained in:
@@ -102,8 +102,8 @@ class GDScriptAnalyzer {
|
||||
void reduce_ternary_op(GDScriptParser::TernaryOpNode *p_ternary_op);
|
||||
void reduce_unary_op(GDScriptParser::UnaryOpNode *p_unary_op);
|
||||
|
||||
void const_fold_array(GDScriptParser::ArrayNode *p_array);
|
||||
void const_fold_dictionary(GDScriptParser::DictionaryNode *p_dictionary);
|
||||
void const_fold_array(GDScriptParser::ArrayNode *p_array, bool p_is_const);
|
||||
void const_fold_dictionary(GDScriptParser::DictionaryNode *p_dictionary, bool p_is_const);
|
||||
|
||||
// Helpers.
|
||||
GDScriptParser::DataType type_from_variant(const Variant &p_value, const GDScriptParser::Node *p_source);
|
||||
|
||||
Reference in New Issue
Block a user