Class comment

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(value: string): comment

Parameters

  • value: string

Returns

comment

Properties

public type: number

Methods

public filter(filter: filter): boolean

Parameters

Returns

boolean

public getAscendant(condition: string): element

Parameters

  • condition: string

Returns

element

public getAscendant(condition: Object): element

Parameters

  • condition: Object

Returns

element

public getAscendant(condition: Function): element

Parameters

  • condition: Function

Returns

element

public getIndex(): number

Returns

number

public insertAfter(node: node)

Parameters

public insertBefore(node: node)

Parameters

public remove(preserveChildren?: boolean): node

Parameters

  • preserveChildren?: boolean optional

Returns

node

public replaceWith(node: node)

Parameters

public wrapWith(wrapper: element): element

Parameters

Returns

element

public writeHtml(writer: basicWriter, filter: filter)

Parameters