Crate slang_frontend

Source

Re-exports§

pub use lexer::tokenize;
pub use parser::Parser;
pub use semantic_analysis::execute;
pub use semantic_analysis::SemanticAnalysisError;
pub use token::Token;
pub use token::Tokentype;

Modules§

lexer
parse_error
parser
semantic_analysis
token

Structs§

CompilerError
Represents a compiler error with a message, line number, column number, position, and token length
ErrorCollector
LineInfo

Enums§

ErrorCode
Comprehensive error codes for all compilation errors in the Slang compiler.

Functions§

report_errors
Reports a list of compiler errors to stderr

Type Aliases§

CompileResult
A type alias for a result that can either be a value of type T or a list of compiler errors