thenafter_dart library

Classes

BNFParser
The default BNF Parser for a grammar
FirstFollow
The FirstFollow default analyzer for a given productions map
FirstFollowResult
A data class to store the result of first and follow sets
GrammarInformation
Data class that holds all information parsed from a grammar

Enums

TokenType
All possible types identified during a Lexical analysis

Functions

createToken(String lexeme, TokenType tokenType) → Token
Make possible to create a Token with a given lexeme and TokenType

Typedefs

GivenInformation = Map<String, String>
A map that helps binding generic terminals
InputIterator = Iterable<int>
Iterator for input that receives character by character
ProductionsMap = Map<String, SubProductionsList>
A productions map that stores the production as key and sub-production as value
ProductionTerminals = Map<String, SymbolSet>
A map with all terminals generated for each production
SubProductionsList = List<List<Token>>
Map to help storing sub productions for a given production
SymbolSet = Set<String>
A symbol set that stores all symbols