1
0
Fork 0
godot/modules/gdscript/tests/scripts/parser/features
George Marques b4d0a09f15
GDScript: Reintroduce binary tokenization on export
This adds back a function available in 3.x: exporting the GDScript
files in a binary form by converting the tokens recognized by the
tokenizer into a data format.

It is enabled by default on export but can be manually disabled. The
format helps with loading times since, the tokens are easily
reconstructed, and with hiding the source code, since recovering it
would require a specialized tool. Code comments are not stored in this
format.

The `--test` command can also include a `--use-binary-tokens` flag
which will run the GDScript tests with the binary format instead of the
regular source code by converting them in-memory before the test runs.
2024-02-08 11:20:05 -03:00
..
advanced_expression_matching.gd
advanced_expression_matching.out
allow_id_similar_to_keyword_in_ascii.gd GDScript: Be more lenient with identifiers 2023-02-09 11:19:05 -03:00
allow_id_similar_to_keyword_in_ascii.out GDScript: Be more lenient with identifiers 2023-02-09 11:19:05 -03:00
allow_strings_as_comments.gd GDScript: Allow strings as multiline comments 2023-02-09 10:16:00 -03:00
allow_strings_as_comments.out GDScript: Allow strings as multiline comments 2023-02-09 10:16:00 -03:00
allowed_keywords_as_identifiers.gd GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
allowed_keywords_as_identifiers.out GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
annotations.gd GDScript: Fix and improve annotation parsing 2023-04-14 21:28:46 +03:00
annotations.out GDScript: Fix and improve annotation parsing 2023-04-14 21:28:46 +03:00
array.gd
array.out
arrays_dictionaries_nested_const.gd GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
arrays_dictionaries_nested_const.out
basic_expression_matching.gd
basic_expression_matching.out
bitwise_operators.gd
bitwise_operators.out
class.gd
class.out
class_inheritance.gd
class_inheritance.out
class_inheritance_access.gd
class_inheritance_access.out
class_name.gd
class_name.out
concatenation.gd
concatenation.out
constants.gd
constants.out GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
dictionary.gd
dictionary.out
dictionary_lua_style.gd
dictionary_lua_style.out
dictionary_mixed_syntax.gd
dictionary_mixed_syntax.out
dollar_and_percent_get_node.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
dollar_and_percent_get_node.out
dollar_node_paths.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
dollar_node_paths.out
enum.gd
enum.out
export_enum.gd GDScript: Fix `@export_enum` works only with `int` 2023-01-30 12:30:37 +03:00
export_enum.out GDScript: Fix `@export_enum` works only with `int` 2023-01-30 12:30:37 +03:00
export_variable.gd GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
export_variable.out GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
float_notation.gd
float_notation.out
for_range.gd
for_range.out
function_default_parameter_type_inference.gd
function_default_parameter_type_inference.out
function_many_parameters.gd
function_many_parameters.out
good_continue_in_lambda.gd GDScript: Fix parsing unexpected break/continue in lambda 2023-02-23 10:49:06 +02:00
good_continue_in_lambda.out GDScript: Fix parsing unexpected break/continue in lambda 2023-02-23 10:49:06 +02:00
if_after_lambda.gd
if_after_lambda.out
in.gd
in.out
is_not_operator.gd GDScript: Add `is not` operator 2024-02-04 17:36:53 +03:00
is_not_operator.out GDScript: Add `is not` operator 2024-02-04 17:36:53 +03:00
lambda_callable.gd
lambda_callable.out
lambda_capture_callable.gd
lambda_capture_callable.out
lambda_default_parameter_capture.gd
lambda_default_parameter_capture.out
lambda_ends_with_new_line.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
lambda_ends_with_new_line.out Fix lambda parsing continuing on subsequent lines #73273 2023-06-21 12:56:57 +02:00
lambda_named_callable.gd
lambda_named_callable.out
match.gd GDScript: Remove function of `continue` for match statement 2023-01-22 18:45:24 -03:00
match.out GDScript: Remove function of `continue` for match statement 2023-01-22 18:45:24 -03:00
match_bind_unused.gd
match_bind_unused.out GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
match_dictionary.gd
match_dictionary.out
match_multiple_patterns_with_array.gd
match_multiple_patterns_with_array.out
match_multiple_variable_binds_in_pattern.gd
match_multiple_variable_binds_in_pattern.out
match_with_variables.gd GDScript: Allow variables in match patterns 2023-01-28 19:53:27 -03:00
match_with_variables.out GDScript: Allow variables in match patterns 2023-01-28 19:53:27 -03:00
mixed_indentation_on_blank_lines.gd GDScript: Allow mixed indentation on blank lines 2023-08-17 10:54:43 +03:00
mixed_indentation_on_blank_lines.out GDScript: Allow mixed indentation on blank lines 2023-08-17 10:54:43 +03:00
multiline_arrays.gd
multiline_arrays.out
multiline_assert.gd
multiline_assert.out
multiline_dictionaries.gd
multiline_dictionaries.out
multiline_if.gd GDScript: Reintroduce binary tokenization on export 2024-02-08 11:20:05 -03:00
multiline_if.out
multiline_strings.gd
multiline_strings.out
multiline_vector.gd
multiline_vector.out
nested_arithmetic.gd
nested_arithmetic.out
nested_array.gd
nested_array.out
nested_dictionary.gd
nested_dictionary.out
nested_function_calls.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
nested_function_calls.out
nested_if.gd
nested_if.out
nested_match.gd GDScript: Remove function of `continue` for match statement 2023-01-22 18:45:24 -03:00
nested_match.out GDScript: Remove function of `continue` for match statement 2023-01-22 18:45:24 -03:00
nested_parentheses.gd
nested_parentheses.out
number_literals_with_sign.gd GDScript: Fix `MIN_INT` not representable as numeric literal 2023-02-15 17:41:46 +03:00
number_literals_with_sign.out GDScript: Fix `MIN_INT` not representable as numeric literal 2023-02-15 17:41:46 +03:00
number_separators.gd GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
number_separators.out GDScript: Fix repeated `_` are allowed after decimal point 2023-06-14 21:47:12 +03:00
operator_assign.gd
operator_assign.out
property_setter_getter.gd GDScript: Allow empty parentheses for property getter declaration 2023-10-11 09:54:17 +03:00
property_setter_getter.out GDScript: Allow empty parentheses for property getter declaration 2023-10-11 09:54:17 +03:00
r_strings.gd GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
r_strings.out GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
reserved_keywords_as_attribute.gd fix access to identifiers that are reserved keywords 2023-04-14 20:37:24 +02:00
reserved_keywords_as_attribute.out fix access to identifiers that are reserved keywords 2023-04-14 20:37:24 +02:00
semicolon_as_end_statement.gd
semicolon_as_end_statement.out
semicolon_as_terminator.gd
semicolon_as_terminator.out
signal_declaration.gd
signal_declaration.out
single_line_declaration.gd
single_line_declaration.out
space_indentation.gd
space_indentation.out
static_typing.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
static_typing.out GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
str_preserves_case.gd
str_preserves_case.out
string_formatting.gd Minor typo and docs URL fixes 2023-02-28 13:38:01 +01:00
string_formatting.out
super.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
super.out
trailing_comma_in_function_args.gd
trailing_comma_in_function_args.out
truthiness.gd
truthiness.out
typed_arrays.gd
typed_arrays.out
unicode_identifiers.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
unicode_identifiers.out Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
unnamed_enums_outer_conflicts.gd
unnamed_enums_outer_conflicts.out
variable_declaration.gd
variable_declaration.out
vector_inf.gd
vector_inf.out
while.gd
while.out