Module language

Module language 

Source
Expand description

This module provides the Language struct used to represent a lexable language

Re-exports§

pub use token_definition::TokenDefinition;
pub use token_definition::token_behavior::TokenBehavior;
pub use token_definition::token_behavior::pair_definition::PairDefinition;
pub use token_definition::token_behavior::pair_definition::PairDirection;

Modules§

token_definition

Structs§

Language
Represents a defined programming language, containing a collection of token definitions and enforcing rules for valid language construction, especially concerning paired tokens.