[][src]Module cfg::rule

This module defines grammar rules. Each rule in a context-free grammar consists of a single symbol on its left-hand side and an array of symbols on its right-hand side. In this library, each rule carries additional value called "history."

Modules

builder

Grammar rules can be built with the builder pattern.

container

Abstraction for collections of rules.

Structs

Rule

Typical grammar rule representation.

RuleRef

References rule's components.

Traits

GrammarRule

Trait for rules of a context-free grammar.