|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Compiler_Parser.H. More...
Go to the source code of this file.
Functions | |
| TEST (CompilerParser, ParsesFunctionBodiesCallsAndBinaryExpressions) | |
| TEST (CompilerParser, ParsesTopLevelStatementsAndControlFlow) | |
| TEST (CompilerParser, ParsesTypeAnnotationsInFunctionsAndLets) | |
| TEST (CompilerParser, ParsesNominalTypeDeclarations) | |
| TEST (CompilerParser, ParsesTopLevelImportDeclarations) | |
| TEST (CompilerParser, RespectsTopLevelRestrictionOption) | |
| TEST (CompilerParser, ProducesDiagnosticsAndInvalidNodesForMalformedInput) | |
| TEST (CompilerParser, ParsesEmptyInput) | |
Tests for Compiler_Parser.H.
Definition in file compiler_parser_test.cc.
| TEST | ( | CompilerParser | , |
| ParsesEmptyInput | |||
| ) |
Definition at line 304 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ParsesFunctionBodiesCallsAndBinaryExpressions | |||
| ) |
Definition at line 44 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::compiler_dump_module(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ParsesNominalTypeDeclarations | |||
| ) |
Definition at line 183 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::color(), Aleph::compiler_dump_module(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ParsesTopLevelImportDeclarations | |||
| ) |
Definition at line 230 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::compiler_dump_module(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ParsesTopLevelStatementsAndControlFlow | |||
| ) |
Definition at line 101 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ParsesTypeAnnotationsInFunctionsAndLets | |||
| ) |
Definition at line 137 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::compiler_dump_function(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerParser | , |
| ProducesDiagnosticsAndInvalidNodesForMalformedInput | |||
| ) |
Definition at line 280 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::Diagnostic_Engine::size().
| TEST | ( | CompilerParser | , |
| RespectsTopLevelRestrictionOption | |||
| ) |
Definition at line 259 of file compiler_parser_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::Compiler_Parser_Options::allow_top_level_statements, Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic::code, Aleph::Diagnostic_Engine::get(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::Diagnostic_Engine::size().