49 " let message = \"hello\";\n"
66 std::cout <<
"\nDiagnostics:\n";
Lexical analyzer (Lexer) based on Source_Manager.
Token generator for a single source file.
Compiler_Token next()
Consumes and returns the next token from the stream.
Diagnostic accumulator and renderer.
void render_plain(std::ostream &out) const
Renders all diagnostics as deterministic plain text.
bool has_errors() const noexcept
Returns whether any error or fatal diagnostic was emitted.
size_t size() const noexcept
Returns the number of stored diagnostics.
Stores source files and resolves offsets into human-readable data.
Source_File_Id add_virtual_file(const std::string &name, const std::string &text)
Registers an in-memory source file.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
std::string to_string() const
Formats the token as a descriptive string for debugging.