ESCParserTest
Extends: GdUnitTestSuite
Description
Methods
test_done_statement_does_not_consume_tokens_on_partial_match
func test_done_statement_does_not_consume_tokens_on_partial_match() -> void
test_parser_synchronizes_after_invalid_done_and_keeps_following_event
func test_parser_synchronizes_after_invalid_done_and_keeps_following_event() -> void
test_parser_synchronizes_after_invalid_if_and_keeps_following_event
func test_parser_synchronizes_after_invalid_if_and_keeps_following_event() -> void
test_dialog_option_missing_right_square_returns_parse_error
func test_dialog_option_missing_right_square_returns_parse_error() -> void
test_dialog_option_missing_indented_body_returns_parse_error
func test_dialog_option_missing_indented_body_returns_parse_error() -> void
test_dialog_start_arguments_without_parens_parse_and_are_preserved
func test_dialog_start_arguments_without_parens_parse_and_are_preserved() -> void
test_dialog_start_arguments_with_parens_parse_and_are_preserved
func test_dialog_start_arguments_with_parens_parse_and_are_preserved() -> void
test_dialog_option_translation_key_is_parsed_explicitly
func test_dialog_option_translation_key_is_parsed_explicitly() -> void
test_grouping_missing_right_paren_returns_parse_error
func test_grouping_missing_right_paren_returns_parse_error() -> void
test_var_grouping_missing_right_paren_returns_parse_error
func test_var_grouping_missing_right_paren_returns_parse_error() -> void
test_var_declaration_missing_newline_returns_parse_error
func test_var_declaration_missing_newline_returns_parse_error() -> void
test_global_declaration_missing_newline_returns_parse_error
func test_global_declaration_missing_newline_returns_parse_error() -> void
test_while_error_does_not_leak_loop_level_into_later_event
func test_while_error_does_not_leak_loop_level_into_later_event() -> void
test_dialog_error_does_not_leak_dialog_level_into_later_event
func test_dialog_error_does_not_leak_dialog_level_into_later_event() -> void
test_happy_path_full_language_fixture_parses_without_errors
func test_happy_path_full_language_fixture_parses_without_errors() -> void
test_keyword_prefixed_names_scan_as_identifiers
func test_keyword_prefixed_names_scan_as_identifiers() -> void
test_hyphenated_global_identifier_scans_as_single_identifier
func test_hyphenated_global_identifier_scans_as_single_identifier() -> void
test_blank_lines_in_nested_blocks_do_not_break_later_events
func test_blank_lines_in_nested_blocks_do_not_break_later_events() -> void
test_blank_lines_before_dedent_do_not_hide_block_termination
func test_blank_lines_before_dedent_do_not_hide_block_termination() -> void