Crate runic_kit

Crate runic_kit 

Source

Modules§

error
This module provides error handling utilities.
lexer
This module defines the Lexer struct and the LexerRule trait. The Lexer is responsible for tokenizing the source code based on the provided rules. The LexerRule trait defines the interface for lexer rules that can be used to generate
source
This module defines the Source struct, which encapsulates source code and its associated filename.
span
This module defines the Span struct, which represents a span of text in a source file. It also provides utilities for working with spans.
token
This module defines the Token struct, which represents a token in the source code.

Macros§

match_string
Creates a lexer rule that matches a specific string.
match_word
Creates a lexer rule that matches a specific word. Words are the sequences of strings that are separated by a space.
rules_vec
Creates a vector of lexer rules.