aot_out_type Derived Type

type, public :: aot_out_type

This type provides the internal representation of the opened Lua script.

It is used to keep track of the state in the script internally.



integer, private :: outunit

Unit to write to

integer, private :: indent

Indentation level (number of spaces)

integer, private :: stack(100)

Number of entries on each level

integer, private :: level

Current nesting level in tables

logical, private :: externalOpen

Flag if file opened outside the aot_out scope

integer, private :: in_step

Number of spaces for each indentation level