Module compiling_rules

Module compiling_rules 

Source
Expand description

Rules for lexing

This module serves an interface objects that can help you create your own material for parsing. Here you can specify how the lexer should tokenize code by using Rules struct that is required by compiler

Macros§

reg
Convenience macro that creates regions

Structs§

Region
Structure that describes isolated text that should not be tokenized such as string or comment
Rules
Determine lexing rules for the parser

Type Aliases§

RegionMap
This is a type of a map that is generated by generate_region_map method of region’s