newxml.lexers

This module implements various XML lexers.

The methods a lexer should implement are documented in newxml.interfaces.isLexer; The different lexers here implemented are optimized for different kinds of input and different tradeoffs between speed and memory usage.

Members

Classes

LexerException
class LexerException

Thrown on lexing errors.

Functions

chooseLexer
auto chooseLexer()

Instantiates a specialized lexer for the given input type.

Structs

BufferedLexer
struct BufferedLexer(T)

A lexer that takes an InputRange of slices from the input.

DumbBufferedReader
struct DumbBufferedReader
Undocumented in source.
ForwardLexer
struct ForwardLexer(T)

A lexer that takes a ForwardRange.

RangeLexer
struct RangeLexer(T)

A lexer that takes an InputRange.

SliceLexer
struct SliceLexer(T)

A lexer that takes a sliceable input.

Templates

lexer
template lexer()
Undocumented in source.

Meta

Authors

Lodovico Giaretta László Szerémi

License

<a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.