string_scanner library

A library for parsing strings using a sequence of patterns.

Classes

LineScanner
A subclass of StringScanner that tracks line and column information.
LineScannerState
A class representing the state of a LineScanner.
SpanScanner
A subclass of LineScanner that exposes matched ranges as source map FileSpans.
StringScanner
A class that scans through a string using Patterns.

Exceptions / Errors

StringScannerException
An exception thrown by a StringScanner that failed to parse a string.