Parser.XMLToken

The structure returned in output from the low level parser. Represents an XML token, delimited by specific patterns, based on its kind. This delimiters are not present in the content field.

struct Parser(L, Flag!"preserveWhitespace" preserveWhitespace = No.preserveWhitespace)
struct XMLToken {}

Members

Variables

content
CharacterType[] content;

The content of the token, delimiters excluded

kind
XMLKind kind;

Represents the kind of token

Meta