[][src]Module liblet::symbol

Module for handling all symbols related operations.

It defines a Symbol type which can be used to conveniently work with symbols in grammars and productions and provide abstraction over normal collection of chars.

It can be easily constructed from &strs.

Structs

Symbol

The main type of this module. It provides abstraction over symbols. Great to work with correct dataset when dealing with grammars and productions, or similar.

Enums

SymbolError

Functions

sentential_form

Convenience function for creating a string represention of a collection of symbols

symbol

Convenience function for creating a symbol from a raw string.

symbols

Convenience function for creating a collection of symbols from a raw string.