parsers library
Classes
- BinaryFormatOption
-
Represents a single directive inside a Lua 5.4
string.pack
format. - BinaryFormatParser
- Parser that turns a Lua 5.4 binary-format string into a list of BinaryFormatOptions, performing the same validation that the Lua VM does.
- FormatPart
- Represents a parsed format specifier or a literal string segment.
- FormatStringParser
- LiteralPart
- LuaMatch
- Result of a single Lua pattern match.
- LuaPattern
- Compiled Lua pattern that can search within strings.
- LuaPatternCompiler
- LuaStringParser
- A PetitParser-based parser for Lua string literals that handles escape sequences correctly
- SpecifierPart
- Utf8DecodeResult
- Internal helper result for UTF-8 decode routines.
Functions
-
compileLuaPattern(
String pattern) → Parser< String>