Class: Lisp::Format::Formatter
Overview
Engine for the format Lexer and Parser. Given an input format string and an initial State, it lets the Parser create the directives and then simply iterates over them, Directive#execute:ing them each.
Instance Method Summary collapse
-
#initialize(format, state) ⇒ Formatter
constructor
Create a Formatter from a String
format
and a Statestate
. -
#run ⇒ Object
Parse and run the result.