Class Lisp::Format::Directives::Indirection
In: lib/facet/lisp-format.rb
Parent: Directive

Represents the ~? (Indirection) directive. This takes the two following arguments and formats them, using the first as the formatting string, and the second as its arguments and inserts it into the output.

Methods

execute  

Public Instance methods

Uses the next argument as a formatting string and then, depending on modifiers specified, uses one of a set of different arguments as input to this formatting. The full form is

  ~@?

with the following interpretations

@
the formatting string is, much like a macro, inserted into the formatting stream, so to speak, and consumes arguments and so on from the current state, instead, as per default, consuming a second argument and reading arguments from it.

[Validate]