Doc::Textual type

Textual document part. Textual can not contain other nodes.

Direct parent types

Doc::Part
Document part. May represent one element (which might have children) or group of elements.
Direct subtypes: 2

Direct children types

Doc::Comment
Comment document part.
Doc::Text
Text document part.

Methods

init(t:Doc::Textual, txt:Str) Source: autoload/Doc.ngs:67
Initialize text fragment of a document

Example

Doc::Text(':')