ae.utils.xmlparser

SAX-like XML parser WORK IN PROGRESS.

Members

Aliases

xmlIsWhite
alias xmlIsWhite = fastLookup!(xmlWhiteChars, false)
Undocumented in source.
xmlIsWord
alias xmlIsWord = fastLookup!(xmlWordChars, true)
Undocumented in source.

Functions

genTable
bool[256] genTable()
Undocumented in source. Be warned that the author may not have intended to support it.
xmlString
XmlString!S xmlString(S s)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

XmlParser
struct XmlParser(INPUT, OUTPUT)

Does not allocate (except for exceptions). No XML nesting state. Does not check for premature stream end, paired tags, etc.

XmlString
struct XmlString(S)

Represents a string (slice of XmlParser input stream) which still contains encoded XML entities.

Templates

SliceType
template SliceType(INPUT)

The type of a slice (using ptrSlice) of an input range used in XmlParser

Variables

xmlWhiteChars
bool[256] xmlWhiteChars;
Undocumented in source.
xmlWordChars
bool[256] xmlWordChars;
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>