Static Public Member Functions | |
static String | get (String id, Format format) |
static | set (String id, Number value) |
Static Public Attributes | |
static String | separator |
Deferred variables handling class.
This class is used for handling values, which are not known during outputting. For example, reference to sub-program's line number. For outputting deferred variable write:
"id" - is an unique string identifier of variable to output; "format" - format, that should be used to format variable.
At place, where variable gets defined (for example, line number becomes known) write following code:
"id" - is a same identifier, that was used during output; "value" - is an actual value of the variable.
If at least one deferred variable was written to output file, termination handler is set to replace them with actual values at the end of processing.
Function for getting deferred variable for printing to output.
id | An unique string identifier of variable to output. |
format | Format, that should be used to format variable. |
Function for setting deferred variable's value.
id | An unique string identifier of variable to output. |
value | Actual value of variable. |
|
static |
Deferred variables id separator.
This property should be set to something, that cannot be found in output. Default value: "##"