Comment

Class representing a comment

Constructors

this
this(string content)

Construct a comment

Members

Functions

opCmp
int opCmp(Object o)

Compares two comments

opEquals
bool opEquals(Object o)

Compares two comments for equality

toHash
size_t toHash()

Returns the hash of a Comment

toString
string toString()

Returns a string representation of this comment

Inherited Members

From Item

opEquals
bool opEquals(Object o)

Compares with another Item of same type for equality

opCmp
int opCmp(Object o)

Compares with another Item of same type

toHash
size_t toHash()

Returns the hash of this item

toString
string toString()

Returns a string representation of this item

pretty
string[] pretty(uint indent)

Returns an indented string representation of this item

isEmptyXML
bool isEmptyXML [@property getter]

Returns true if the item represents empty XML text

Meta

Suggestion Box / Bug Report