Module utils

Module utils 

Source
Expand description

This module provides utility functions and common lexer rules.

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.

Structs§

SkipWhitespaceRule
A lexer rule that skips whitespace characters.