class

Termisu::Terminfo::Tparm::Processor

Inherits Termisu::Terminfo::Tparm::Conditional / Termisu::Terminfo::Tparm::Variables / Termisu::Terminfo::Tparm::Output / Reference / Object

Constants

INITIAL_OUTPUT_CAPACITY = 32
INITIAL_STACK_CAPACITY = 8

Constructors

new(format : String, params : Array(Int64))
Source

Class methods

clear_static_vars

Clears all static variables.

Source

Instance methods

run

Executes the tparm processor and returns the formatted string.

Must be called at most once per Processor instance: the output buffer is a String::Builder, whose to_s is single-shot. Processor is single-use by design (sole call site: Tparm.process).

Source