Message types included in the mute
option will be be printed in messageOut().
Data Structures | |
struct | TidyMutedMessages |
Maintains a list of messages not to display. More... | |
Functions | |
TY_PRIVATE void | TY_❪DefineMutedMessage❫ (TidyDocImpl *doc, const TidyOptionImpl *opt, ctmbstr name) |
Adds a new message ID to the list of muted messages. More... | |
TY_PRIVATE void | TY_❪FreeMutedMessageList❫ (TidyDocImpl *doc) |
Frees the list of muted messages. More... | |
TY_PRIVATE TidyIterator | TY_❪getMutedMessageList❫ (TidyDocImpl *doc) |
Start an iterator for muted messages. More... | |
TY_PRIVATE ctmbstr | TY_❪getNextMutedMessage❫ (TidyDocImpl *doc, TidyIterator *iter) |
Get the next priority attribute. More... | |
struct TidyMutedMessages |
Maintains a list of messages not to display.
Data Fields | ||
---|---|---|
uint | capacity | Current capacity of the list. |
uint | count | Current count of the list. |
tidyStrings * | list | A list of messages that won't be output. |
TY_PRIVATE void TY_❪DefineMutedMessage❫ | ( | TidyDocImpl * | doc, |
const TidyOptionImpl * | opt, | ||
ctmbstr | name | ||
) |
Adds a new message ID to the list of muted messages.
doc | The Tidy document. |
opt | The option that is defining the muted message. |
name | The message code as a string. |
TY_PRIVATE void TY_❪FreeMutedMessageList❫ | ( | TidyDocImpl * | doc | ) |
Frees the list of muted messages.
doc | The Tidy document. |
TY_PRIVATE TidyIterator TY_❪getMutedMessageList❫ | ( | TidyDocImpl * | doc | ) |
Start an iterator for muted messages.
doc | The Tidy document. |
TY_PRIVATE ctmbstr TY_❪getNextMutedMessage❫ | ( | TidyDocImpl * | doc, |
TidyIterator * | iter | ||
) |
Get the next priority attribute.
doc | The Tidy document. |
iter | The iterator token. |