View Source Renewex.Document (renewex v0.12.0)
Renewex.Document
captures the concept of a full Renew document as described by the content of an *.rnw
file.
Summary
Functions
A Renewex.Document
consists of:
version
: The file format version (seeRenewex.Grammar.latest_version/0
),root
: a root node (aRenewex.Storable.__struct__/0
or a{:ref, ...}
to aRenewex.Storable.__struct__/0
),refs
: a list ofRenewex.Storable.__struct__/0
that can reference each other via index into this list,size
: an optional tuple{x, y, width, height}
(ornil
) describing the window dimensions of the Renew application window when the file was saved.
Initialize a new Renewex.Document
struct.
Parameters
version
: The file format version (seeRenewex.Grammar.latest_version/0
)root
: a root node (aRenewex.Storable.__struct__/0
or a{:ref, ...}
to aRenewex.Storable.__struct__/0
),refs
: a list ofRenewex.Storable.__struct__/0
that can reference each other via index into this list,size
: an optional tuple{x, y, width, height}
(ornil
) describing the window dimensions of the Renew application window when the file was saved.