services/parser library

Constants

ADD → const int
NOPE → const int
SKIP → const int
START_NEW_REGION → const int

Functions

canAddTokenToEndOfRegion(Map region, dynamic currentToken, {dynamic impliedHundreds}) bool
canAddTokenToEndOfSubRegion(dynamic subRegion, dynamic currentToken, {dynamic impliedHundreds}) bool
checkBlacklist(List tokens) bool
checkIfTokenFitsRegion(Map region, dynamic token, dynamic options) int
checkIfTokenFitsSubRegion(dynamic subRegion, dynamic token, dynamic options) Map
getSubRegions(Map region, dynamic options) List
getSubRegionType(Map subRegion, Map currentToken) Map
getTokenType(String chunk) int?
matchRegions(List tokens, dynamic options) → dynamic
parser(String text, dynamic options) → dynamic