diff --git a/_extensions/gdscript.py b/_extensions/gdscript.py index 3ee47475c..ef90732b0 100644 --- a/_extensions/gdscript.py +++ b/_extensions/gdscript.py @@ -184,27 +184,37 @@ class GDScriptLexer(RegexLexer): "asin", "atan", "atan2", - "bytes2var", - "bytes2var_with_objects", + "bezier_derivative", + "bezier_interpolate", + "bytes_to_var", + "bytes_to_var_with_objects", "ceil", + "ceilf", + "ceili", "clamp", "clampf", "clampi", "cos", "cosh", "cubic_interpolate", - "db2linear", - "deg2rad", + "cubic_interpolate_angle", + "cubic_interpolate_angle_in_time", + "cubic_interpolate_in_time", + "db_to_linear", + "deg_to_rad", "ease", "error_string", "exp", "floor", + "floorf", + "floori", "fmod", "fposmod", "hash", "instance_from_id", "inverse_lerp", "is_equal_approx", + "is_finite", "is_inf", "is_instance_id_valid", "is_instance_valid", @@ -212,7 +222,8 @@ class GDScriptLexer(RegexLexer): "is_zero_approx", "lerp", "lerp_angle", - "linear2db", + "lerpf", + "linear_to_db", "log", "max", "maxf", @@ -226,6 +237,7 @@ class GDScriptLexer(RegexLexer): "posmod", "pow", "print", + "print_rich", "print_verbose", "printerr", "printraw", @@ -233,7 +245,7 @@ class GDScriptLexer(RegexLexer): "printt", "push_error", "push_warning", - "rad2deg", + "rad_to_deg", "rand_from_seed", "randf", "randf_range", @@ -241,11 +253,12 @@ class GDScriptLexer(RegexLexer): "randi", "randi_range", "randomize", - "range_lerp", - "range_step_decimals", + "remap", "rid_allocate_id", "rid_from_int64", "round", + "roundf", + "roundi", "seed", "sign", "signf", @@ -254,17 +267,20 @@ class GDScriptLexer(RegexLexer): "sinh", "smoothstep", "snapped", + "snappedf", + "snappedi", "sqrt", "step_decimals", "str", - "str2var", + "str_to_var", "tan", "tanh", "typeof", - "var2bytes", - "var2bytes_with_objects", - "var2str", + "var_to_bytes", + "var_to_bytes_with_objects", + "var_to_str", "weakref", + "wrap", "wrapf", "wrapi", @@ -273,9 +289,9 @@ class GDScriptLexer(RegexLexer): "assert", "char", "convert", - "dict2inst", + "dict_to_inst", "get_stack", - "inst2dict", + "inst_to_dict", "len", "load", "preload", @@ -342,6 +358,7 @@ class GDScriptLexer(RegexLexer): words( ( "@export", + "@export_category", "@export_color_no_alpha", "@export_dir", "@export_enum", @@ -356,10 +373,12 @@ class GDScriptLexer(RegexLexer): "@export_flags_3d_render", "@export_global_dir", "@export_global_file", + "@export_group", "@export_multiline", "@export_node_path", "@export_placeholder", "@export_range", + "@export_subgroup", "@icon", "@onready", "@rpc",