Element

Undocumented in source.

Constructors

this
this(string name, string interior)
Undocumented in source.
this
this(const(Tag) tag_)
Undocumented in source.

Members

Functions

add_class
typeof(this) add_class(string class_name, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
add_class
typeof(this) add_class(string[] class_names)
Undocumented in source. Be warned that the author may not have intended to support it.
add_sass
typeof(this) add_sass(Sass sass)
Undocumented in source. Be warned that the author may not have intended to support it.
add_sass
typeof(this) add_sass(Sass[] sasses)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(Text item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(CData item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(Comment item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(ProcessingInstruction item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(Element item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(string item)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatAssign
void opCatAssign(Sass sass)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
void parse(ElementParser xml)
Undocumented in source. Be warned that the author may not have intended to support it.
pretty
string[] pretty(uint indent)
Undocumented in source. Be warned that the author may not have intended to support it.
refresh_tag
void refresh_tag()
Undocumented in source. Be warned that the author may not have intended to support it.
remove_class
typeof(this) remove_class(string class_name)
Undocumented in source. Be warned that the author may not have intended to support it.
text
string text(DecodeMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isEmptyXML
bool isEmptyXML [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_classes
bool[string] _classes;
Undocumented in source.
_sasses
Sass[] _sasses;
Undocumented in source.
cdatas
CData[] cdatas;

The element's CData items

comments
Comment[] comments;

The element's comments

elements
Element[] elements;

The element's child elements

items
Item[] items;

The element's items

pis
ProcessingInstruction[] pis;

The element's processing instructions

tag
Tag tag;

The start tag of the element

texts
Text[] texts;

The element's text items

Meta