API Reference LogicalFile v1.0.4

Modules

LogicalFile

One file from many

LogicalFile is a way of creating a logical representation of a unit of lines of text (e.g. a source code file) supplied by one or more backing files, presumably separate files on disk. It also provides for a system of macros that can transform the logical text.

A Macro represents a LogicalFile transformation.

A sample implementation of a macro that provides 'include file' functionality.

A sample implementation of a macro that supports single-line comments where a comment expression is recognised at the beginning of a line and it transforms the entire content of that line into whitespace. Note that this does not allow a line comment to appear at the end of an expression!

A Section represents lines of text from a backing file that represent a range of logical line numbers within a LogicalFile.