method

new

v4.0.2 - Show latest stable - Class: HTML::Text
new(parent, line, pos, content)
public

Creates a new text node as a child of the given parent, with the given content.