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.


Components

Type Visibility Attributes Name Initial
integer, public :: outunit

Unit to write to

integer, public :: indent

Indentation level (number of spaces)

integer, public :: stack(100)

Number of entries on each level

integer, public :: level

Current nesting level in tables

logical, public :: externalOpen

Flag if file opened outside the aot_out scope

integer, public :: in_step

Number of spaces for each indentation level