InterpolationReporter
This trait defines a tool to report errors/warnings that do not depend on Position.
Value members
Abstract methods
Reports error linked with an argument to format.
Reports error linked with an argument to format.
- Value Params
- index
the index of the argument inside the list of arguments of the format function
- message
the message to report as error/warning
- Returns
an error depending on the function
Claims whether an error or a warning has been reported
Claims whether an error or a warning has been reported
- Returns
true if an error/warning has been reported, false
Reports error/warning of size 1 linked with a part of the StringContext.
Reports error/warning of size 1 linked with a part of the StringContext.
- Value Params
- index
the index of the part inside the list of parts of the StringContext
- message
the message to report as error/warning
- offset
the index in the part String where the error is
- Returns
an error/warning depending on the function
Stores the old value of the reported and reset it to false
Stores the old value of the reported and reset it to false
Restores the value of the reported boolean that has been reset
Restores the value of the reported boolean that has been reset