|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for reusable token-stream parser helpers. More...
Go to the source code of this file.
Functions | |
| TEST (CompilerParserUtils, ClassifiesParserEntryPoints) | |
| TEST (CompilerParserUtils, UnquotesStringLiteralTokens) | |
| TEST (CompilerParserUtils, ParsesSeparatedIdentifierListsWithoutAstSupport) | |
| TEST (CompilerParserUtils, AcceptsTrailingSeparatorWhenRequested) | |
| TEST (CompilerParserUtils, SynchronizesToNextStatementStart) | |
Tests for reusable token-stream parser helpers.
Definition in file compiler_parser_utils_test.cc.
| TEST | ( | CompilerParserUtils | , |
| AcceptsTrailingSeparatorWhenRequested | |||
| ) |
Definition at line 94 of file compiler_parser_utils_test.cc.
References Aleph::DynArray< T >::access(), Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::DynArray< T >::size().
| TEST | ( | CompilerParserUtils | , |
| ClassifiesParserEntryPoints | |||
| ) |
Definition at line 42 of file compiler_parser_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::compiler_is_expression_start(), Aleph::compiler_is_statement_start(), and Aleph::compiler_is_top_level_declaration_start().
| TEST | ( | CompilerParserUtils | , |
| ParsesSeparatedIdentifierListsWithoutAstSupport | |||
| ) |
Definition at line 68 of file compiler_parser_utils_test.cc.
References Aleph::DynArray< T >::access(), Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::DynArray< T >::size().
| TEST | ( | CompilerParserUtils | , |
| SynchronizesToNextStatementStart | |||
| ) |
Definition at line 120 of file compiler_parser_utils_test.cc.
References Aleph::Source_Manager::add_virtual_file(), and Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CompilerParserUtils | , |
| UnquotesStringLiteralTokens | |||
| ) |
Definition at line 57 of file compiler_parser_utils_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::compiler_unquote_string_token().